Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 123.9 kB / 18.46 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 205.8 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 251.7 MB, free: 268 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3143/0.3143, allocations: 46.18 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 81.41 kB / 490.2 MB, free: 27.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1611, allocations: 62.45 MB / 0.5397 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03463/0.1957, allocations: 30.22 MB / 0.5692 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.2185, allocations: 17.62 MB / 0.5864 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.219, allocations: 15.88 kB / 0.5864 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008237/0.2199, allocations: 222.5 kB / 0.5866 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007203/0.2207, allocations: 270.4 kB / 0.5869 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01881/0.2395, allocations: 6.052 MB / 0.5928 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.241, allocations: 0.842 MB / 0.5936 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.2414, allocations: 232.8 kB / 0.5938 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.2552, allocations: 5.454 MB / 0.5992 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.2559, allocations: 243 kB / 0.5994 GB, free: 6.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.256, allocations: 32 kB / 0.5994 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.2699, allocations: 6.334 MB / 0.6056 GB, free: 460 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.2702, allocations: 91.67 kB / 0.6057 GB, free: 368 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.2705, allocations: 191.2 kB / 0.6059 GB, free: 176 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3935/0.6641, allocations: 3.859 MB / 0.6097 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.6641, allocations: 0 / 0.6097 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6642, allocations: 0.875 kB / 0.6097 GB, free: 15.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.6642, allocations: 0 / 0.6097 GB, free: 15.42 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00735/0.6716, allocations: 1.085 MB / 0.6107 GB, free: 14.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.6716, allocations: 9.344 kB / 0.6107 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.6747, allocations: 207.1 kB / 0.6109 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/0.6756, allocations: 350.7 kB / 0.6113 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.6757, allocations: 23.91 kB / 0.6113 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.6758, allocations: 32.36 kB / 0.6113 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.6778, allocations: 489.3 kB / 0.6118 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6779, allocations: 0.7812 kB / 0.6118 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.678, allocations: 15.38 kB / 0.6118 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.678, allocations: 6.781 kB / 0.6118 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.68, allocations: 411.1 kB / 0.6122 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.6844, allocations: 2.425 MB / 0.6146 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.6864, allocations: 329.8 kB / 0.6149 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.6869, allocations: 109.7 kB / 0.615 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05543/0.7423, allocations: 18.38 MB / 0.6329 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.7424, allocations: 36.97 kB / 0.633 GB, free: 15.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.547e-06/0.7425, allocations: 0 / 0.633 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00324/0.7457, allocations: 0.5246 MB / 0.6335 GB, free: 15.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.7459, allocations: 110.5 kB / 0.6336 GB, free: 15.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/0.7466, allocations: 324.6 kB / 0.6339 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.7467, allocations: 28.95 kB / 0.6339 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.747, allocations: 210.6 kB / 0.6341 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.7471, allocations: 53.17 kB / 0.6342 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.7473, allocations: 65.39 kB / 0.6342 GB, free: 15.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.7475, allocations: 340.7 kB / 0.6345 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.7479, allocations: 94.19 kB / 0.6346 GB, free: 15.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.7485, allocations: 212.5 kB / 0.6348 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.7494, allocations: 299.1 kB / 0.6351 GB, free: 14.83 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.7494, allocations: 1.188 kB / 0.6351 GB, free: 14.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00129/0.7507, allocations: 344.6 kB / 0.6355 GB, free: 14.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.7507, allocations: 6.781 kB / 0.6355 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.7508, allocations: 3.75 kB / 0.6355 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/0.7508, allocations: 12.98 kB / 0.6355 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.7512, allocations: 70.36 kB / 0.6355 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.7513, allocations: 8.688 kB / 0.6356 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.7518, allocations: 43.47 kB / 0.6356 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.7519, allocations: 17.52 kB / 0.6356 GB, free: 14.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0003272/0.7522, allocations: 166.9 kB / 0.6358 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.7524, allocations: 30.97 kB / 0.6358 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.7547, allocations: 1.103 MB / 0.6369 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/0.7548, allocations: 20.14 kB / 0.6369 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.7548, allocations: 0 / 0.6369 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.7548, allocations: 2.438 kB / 0.6369 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.7561, allocations: 0.6627 MB / 0.6375 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7561, allocations: 0 / 0.6375 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.7565, allocations: 49.81 kB / 0.6376 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.7565, allocations: 4 kB / 0.6376 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.7565, allocations: 6.938 kB / 0.6376 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.7565, allocations: 3.938 kB / 0.6376 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.7566, allocations: 1.531 kB / 0.6376 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.7581, allocations: 0.6239 MB / 0.6382 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.7584, allocations: 133.2 kB / 0.6383 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.7585, allocations: 27.03 kB / 0.6384 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.759, allocations: 18.41 kB / 0.6384 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.7591, allocations: 21.84 kB / 0.6384 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.7591, allocations: 10.89 kB / 0.6384 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006551/0.7598, allocations: 339.8 kB / 0.6387 GB, free: 13.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7598, allocations: 0 / 0.6387 GB, free: 13.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008832/0.7687, allocations: 0.8628 MB / 0.6396 GB, free: 13.67 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01364/0.7823, allocations: 1.021 MB / 0.6406 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.7837, allocations: 348.7 kB / 0.6409 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7838, allocations: 0 / 0.6409 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.7844, allocations: 259.2 kB / 0.6412 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.7862, allocations: 191.5 kB / 0.6413 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.7884, allocations: 1.039 MB / 0.6424 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.7891, allocations: 0.8733 MB / 0.6432 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005289/0.7897, allocations: 186.8 kB / 0.6434 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.7898, allocations: 35.28 kB / 0.6434 GB, free: 12.28 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7898, allocations: 0 / 0.6434 GB, free: 12.28 MB / 478.1 MB Notification: Performance of Templates: time 0.08147/0.8713, allocations: 34.68 MB / 0.6773 GB, free: 2.793 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.684709023684263]