Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.001472/0.001472, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001595/0.001595, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9912/0.9912, allocations: 177.1 MB / 205 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2609/0.2609, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.676e-05, allocations: 2.312 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01298/0.01301, allocations: 14.56 MB / 390.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.03514, allocations: 12.75 MB / 403.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.03547, allocations: 19.81 kB / 403.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.03599, allocations: 131 kB / 403.5 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.03655, allocations: 290.1 kB / 403.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02881/0.06535, allocations: 5.562 MB / 409.3 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.06669, allocations: 0.877 MB / 410.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.06709, allocations: 205.3 kB / 410.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.07046, allocations: 2.22 MB / 412.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.07071, allocations: 215.3 kB / 412.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.07075, allocations: 28 kB / 412.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008293/0.07905, allocations: 5.931 MB / 418.8 MB, free: 9.754 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.07915, allocations: 95.66 kB / 418.9 MB, free: 9.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.07926, allocations: 147.7 kB / 419 MB, free: 9.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005235/0.0845, allocations: 4.552 MB / 423.6 MB, free: 4.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.0845, allocations: 3.938 kB / 423.6 MB, free: 4.949 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0845, allocations: 0 / 423.6 MB, free: 4.949 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.08451, allocations: 0 / 423.6 MB, free: 4.949 MB / 394.7 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.001311/0.08582, allocations: 1.05 MB / 424.6 MB, free: 3.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.08585, allocations: 8.031 kB / 424.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.08676, allocations: 267.8 kB / 424.9 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.08717, allocations: 295.4 kB / 425.2 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.0872, allocations: 25.03 kB / 425.2 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.08725, allocations: 28.38 kB / 425.2 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.08826, allocations: 0.6238 MB / 425.8 MB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.08828, allocations: 4.125 kB / 425.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.08831, allocations: 15.94 kB / 425.9 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.08832, allocations: 11.98 kB / 425.9 MB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.08903, allocations: 293.9 kB / 426.2 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.09132, allocations: 2.222 MB / 428.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.09208, allocations: 274.8 kB / 428.7 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.09218, allocations: 51.66 kB / 428.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/0.1106, allocations: 8.855 MB / 437.6 MB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1107, allocations: 33.39 kB / 437.6 MB, free: 6.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.1107, allocations: 3.938 kB / 437.6 MB, free: 6.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008731/0.1115, allocations: 418.4 kB / 438 MB, free: 6.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1116, allocations: 106.8 kB / 438.1 MB, free: 6.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1118, allocations: 322.2 kB / 438.4 MB, free: 5.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1118, allocations: 25.7 kB / 438.5 MB, free: 5.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1119, allocations: 266.7 kB / 438.7 MB, free: 5.465 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.112, allocations: 51.59 kB / 438.8 MB, free: 5.414 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.112, allocations: 59.36 kB / 438.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1122, allocations: 0.5117 MB / 439.3 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.1122, allocations: 55.88 kB / 439.4 MB, free: 4.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1124, allocations: 274.2 kB / 439.7 MB, free: 4.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1126, allocations: 266.6 kB / 439.9 MB, free: 4.086 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1126, allocations: 4 kB / 439.9 MB, free: 4.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003041/0.1129, allocations: 268.8 kB / 440.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.113, allocations: 7.984 kB / 440.2 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.113, allocations: 4 kB / 440.2 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.113, allocations: 8 kB / 440.2 MB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1131, allocations: 55.91 kB / 440.3 MB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1131, allocations: 8 kB / 440.3 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1132, allocations: 40.11 kB / 440.3 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1133, allocations: 20 kB / 440.3 MB, free: 3.676 MB / 410.7 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.0001018/0.1134, allocations: 176.4 kB / 440.5 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.1134, allocations: 35.8 kB / 440.5 MB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.114, allocations: 0.7501 MB / 441.3 MB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.114, allocations: 11.98 kB / 441.3 MB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.114, allocations: 4 kB / 441.3 MB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.114, allocations: 7.984 kB / 441.3 MB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.1144, allocations: 475.6 kB / 441.8 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1144, allocations: 0 / 441.8 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.1145, allocations: 35.91 kB / 441.8 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1145, allocations: 4 kB / 441.8 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1145, allocations: 4 kB / 441.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1145, allocations: 0 / 441.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1145, allocations: 0 / 441.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1149, allocations: 0.52 MB / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1149, allocations: 51.48 kB / 442.4 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.115, allocations: 27.78 kB / 442.4 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.1151, allocations: 11.98 kB / 442.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.1151, allocations: 23.94 kB / 442.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1151, allocations: 12 kB / 442.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1153, allocations: 307 kB / 442.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1153, allocations: 0 / 442.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001717/0.1171, allocations: 0.8616 MB / 443.6 MB, free: 308 kB / 410.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: 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.141/0.258, allocations: 1.098 MB / 444.7 MB, free: 77.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.2585, allocations: 201.6 kB / 444.9 MB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2585, allocations: 1.969 kB / 444.9 MB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2586, allocations: 131.5 kB / 445 MB, free: 77.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.2592, allocations: 178.2 kB / 445.2 MB, free: 77.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2606, allocations: 0.9246 MB / 446.1 MB, free: 77.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.694e-05/0.2606, allocations: 137.3 kB / 446.3 MB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.2608, allocations: 173.2 kB / 446.4 MB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.2609, allocations: 33.84 kB / 446.5 MB, free: 77.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.485e-06/0.2609, allocations: 3.281 kB / 446.5 MB, free: 77.32 MB / 410.7 MB Notification: Performance of Templates: time 0.03551/0.2964, allocations: 34.57 MB / 481.1 MB, free: 72.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.660199320875108]