Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8646/0.8646, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1277/0.1277, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 4 kB / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.546e-05, allocations: 6.25 kB / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001014/0.001039, allocations: 0.5073 MB / 348.2 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000426/0.001465, allocations: 259.1 kB / 348.4 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.001491, allocations: 4 kB / 348.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.001507, allocations: 0 / 348.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.251e-06/0.001513, allocations: 0 / 348.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.00183, allocations: 59.69 kB / 348.5 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.001888, allocations: 0 / 348.5 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.001927, allocations: 4 kB / 348.5 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.001954, allocations: 3.984 kB / 348.5 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.001985, allocations: 3.938 kB / 348.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.001995, allocations: 0 / 348.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.002112, allocations: 59.89 kB / 348.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.00212, allocations: 0 / 348.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.002141, allocations: 8 kB / 348.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.002255, allocations: 59.86 kB / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002257, allocations: 0 / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002258, allocations: 0 / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.002261, allocations: 0 / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002309/0.002492, allocations: 385.9 kB / 349 MB, free: 8.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.002533, allocations: 15.95 kB / 349 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.002574, allocations: 0.9375 kB / 349 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.96e-05/0.002623, allocations: 104.6 kB / 349.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.002635, allocations: 8.312 kB / 349.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.002644, allocations: 384 / 349.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/0.002729, allocations: 59.97 kB / 349.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.002737, allocations: 192 / 349.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.002746, allocations: 384 / 349.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.002754, allocations: 384 / 349.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.36e-05/0.002768, allocations: 33.64 kB / 349.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.239e-05/0.00283, allocations: 112.6 kB / 349.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.078e-05/0.002861, allocations: 56.7 kB / 349.4 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.002874, allocations: 37.48 kB / 349.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-06/0.002878, allocations: 0 / 349.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.0029, allocations: 59.09 kB / 349.5 MB, free: 7.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.002901, allocations: 4 kB / 349.5 MB, free: 7.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000138/0.003039, allocations: 122.8 kB / 349.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.003061, allocations: 81.05 kB / 349.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.886e-05/0.00308, allocations: 142.2 kB / 349.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-06/0.003084, allocations: 25.7 kB / 349.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-06/0.003093, allocations: 126.9 kB / 349.9 MB, free: 7.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.003107, allocations: 0 / 349.9 MB, free: 7.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.003127, allocations: 23.38 kB / 350 MB, free: 7.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.003163, allocations: 0.4883 MB / 350.5 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.003174, allocations: 29.83 kB / 350.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.003182, allocations: 29.7 kB / 350.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.003213, allocations: 63.09 kB / 350.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003215, allocations: 0 / 350.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.942e-05/0.003254, allocations: 97.03 kB / 350.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.003271, allocations: 29.7 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.003276, allocations: 0 / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.003287, allocations: 0 / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.003289, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.003294, allocations: 0 / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.003305, allocations: 8.375 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.003309, allocations: 0 / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.003349, allocations: 186.3 kB / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-06/0.003353, allocations: 0 / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-06/0.00336, allocations: 3 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.003362, allocations: 7.922 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.003364, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.003367, allocations: 4 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.238e-05/0.003399, allocations: 112.5 kB / 351 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.0034, allocations: 4 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.003401, allocations: 4 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.003401, allocations: 0 / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.003407, allocations: 4 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.003408, allocations: 3.984 kB / 351 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.003409, allocations: 0 / 351 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.263e-05/0.003462, allocations: 131.7 kB / 351.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-06/0.003465, allocations: 3.984 kB / 351.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.003477, allocations: 4 kB / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-06/0.003482, allocations: 0 / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.003492, allocations: 4 kB / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.003494, allocations: 4.031 kB / 351.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.235e-05/0.003506, allocations: 119.2 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003506, allocations: 0 / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.003652, allocations: 19.94 kB / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004473/0.0041, allocations: 303.1 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.004206, allocations: 122.5 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.004208, allocations: 0 / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.004227, allocations: 92.73 kB / 351.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.004337, allocations: 4 kB / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.004546, allocations: 121.7 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.004579, allocations: 51.36 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.404e-06/0.004586, allocations: 3.938 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.004599, allocations: 8.5 kB / 352 MB, free: 5.004 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0046, allocations: 128 / 352 MB, free: 5.004 MB / 282.7 MB Notification: Performance of Templates: time 0.002732/0.007332, allocations: 0.8405 MB / 352.8 MB, free: 4.164 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1057371869683266]