Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001528/0.001528, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001548/0.001548, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.222/0.222, allocations: 46.93 MB / 361.6 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.91 kB / 0.4974 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.32, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03493/0.355, allocations: 30.65 MB / 0.5918 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02338/0.3784, allocations: 17.78 MB / 0.6092 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.3788, allocations: 11.88 kB / 0.6092 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.3796, allocations: 230.5 kB / 0.6094 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.3803, allocations: 278.4 kB / 0.6097 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01707/0.3974, allocations: 6.081 MB / 0.6156 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3987, allocations: 0.8537 MB / 0.6164 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.3991, allocations: 200.9 kB / 0.6166 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.4107, allocations: 5.497 MB / 0.622 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.4112, allocations: 259 kB / 0.6222 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.4113, allocations: 35.94 kB / 0.6223 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.4238, allocations: 6.349 MB / 0.6285 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.424, allocations: 87.73 kB / 0.6286 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.4243, allocations: 191.1 kB / 0.6287 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009453/0.4337, allocations: 3.862 MB / 0.6325 GB, free: 11.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4337, allocations: 4 kB / 0.6325 GB, free: 11.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4337, allocations: 4 kB / 0.6325 GB, free: 11.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4338, allocations: 0 / 0.6325 GB, free: 11.78 MB / 478.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.002735/0.4365, allocations: 1.001 MB / 0.6335 GB, free: 10.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4365, allocations: 15.97 kB / 0.6335 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.4382, allocations: 200.5 kB / 0.6337 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.4388, allocations: 296.8 kB / 0.634 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.4388, allocations: 25.03 kB / 0.634 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.4388, allocations: 28.38 kB / 0.634 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.4401, allocations: 492 kB / 0.6345 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4401, allocations: 3.938 kB / 0.6345 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.4401, allocations: 12 kB / 0.6345 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4401, allocations: 8 kB / 0.6345 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4413, allocations: 409.3 kB / 0.6349 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.4446, allocations: 2.241 MB / 0.6371 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4458, allocations: 322.3 kB / 0.6374 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.4461, allocations: 100.8 kB / 0.6375 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03002/0.4761, allocations: 8.831 MB / 0.6461 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.4761, allocations: 34.56 kB / 0.6462 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.294e-06/0.4761, allocations: 0 / 0.6462 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002173/0.4783, allocations: 0.5311 MB / 0.6467 GB, free: 12.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.4784, allocations: 102.8 kB / 0.6468 GB, free: 12.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.4789, allocations: 328.4 kB / 0.6471 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.4789, allocations: 25.7 kB / 0.6471 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.4791, allocations: 220.1 kB / 0.6473 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.4791, allocations: 51.59 kB / 0.6474 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4793, allocations: 65.64 kB / 0.6474 GB, free: 12.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4794, allocations: 338.8 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.4797, allocations: 91.92 kB / 0.6479 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.4801, allocations: 214 kB / 0.6481 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.4807, allocations: 297.4 kB / 0.6483 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4807, allocations: 4 kB / 0.6483 GB, free: 11.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008127/0.4815, allocations: 332 kB / 0.6487 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4815, allocations: 8 kB / 0.6487 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4815, allocations: 4 kB / 0.6487 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4816, allocations: 8.406 kB / 0.6487 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4818, allocations: 79.83 kB / 0.6488 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4819, allocations: 4 kB / 0.6488 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.4821, allocations: 39.77 kB / 0.6488 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4822, allocations: 19.98 kB / 0.6488 GB, free: 10.61 MB / 494.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.0002027/0.4824, allocations: 161.6 kB / 0.649 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.4824, allocations: 35.77 kB / 0.649 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.484, allocations: 1.149 MB / 0.6501 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.4841, allocations: 19.95 kB / 0.6501 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4841, allocations: 0 / 0.6501 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4841, allocations: 4 kB / 0.6502 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.4849, allocations: 0.6553 MB / 0.6508 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4849, allocations: 0 / 0.6508 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.4851, allocations: 47.95 kB / 0.6508 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4851, allocations: 4 kB / 0.6508 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4851, allocations: 11.88 kB / 0.6509 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4851, allocations: 3.984 kB / 0.6509 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4851, allocations: 0 / 0.6509 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.486, allocations: 0.6391 MB / 0.6515 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4862, allocations: 63.47 kB / 0.6515 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.4862, allocations: 23.78 kB / 0.6516 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.4864, allocations: 19.98 kB / 0.6516 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.4865, allocations: 23.95 kB / 0.6516 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.4865, allocations: 8 kB / 0.6516 GB, free: 7.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004915/0.487, allocations: 346.8 kB / 0.6519 GB, free: 7.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.487, allocations: 0 / 0.6519 GB, free: 7.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002719/0.4897, allocations: 0.8538 MB / 0.6528 GB, free: 6.477 MB / 494.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.00438/0.4941, allocations: 0.997 MB / 0.6538 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008898/0.495, allocations: 345.2 kB / 0.6541 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.495, allocations: 0 / 0.6541 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.4954, allocations: 212.5 kB / 0.6543 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.4965, allocations: 194.5 kB / 0.6545 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.4983, allocations: 1.087 MB / 0.6555 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.4988, allocations: 0.8798 MB / 0.6564 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4989, allocations: 35.42 kB / 0.6564 GB, free: 2.68 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4989, allocations: 0 / 0.6564 GB, free: 2.68 MB / 494.1 MB Notification: Performance of Templates: time 0.03532/0.5342, allocations: 20.59 MB / 0.6765 GB, free: 14.1 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.969492987031117]