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.000989/0.000989, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009607/0.0009607, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9333/0.9333, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] 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 1.823e-06/1.823e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.265e-05, allocations: 3.016 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02046/0.02048, allocations: 14.56 MB / 393.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.03086, allocations: 12.75 MB / 406.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.03107, allocations: 11.88 kB / 406.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.03143, allocations: 138.9 kB / 406.2 MB, free: 6.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.03188, allocations: 290.2 kB / 406.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009575/0.04145, allocations: 5.558 MB / 412 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.04223, allocations: 0.8731 MB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.04251, allocations: 213.3 kB / 413.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.04545, allocations: 2.22 MB / 415.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.04567, allocations: 219.3 kB / 415.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.04571, allocations: 32 kB / 415.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007023/0.05273, allocations: 5.927 MB / 421.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.05284, allocations: 99.66 kB / 421.6 MB, free: 7.062 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.05297, allocations: 139.7 kB / 421.8 MB, free: 6.926 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.05833, allocations: 4.556 MB / 426.3 MB, free: 2.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.05833, allocations: 0 / 426.3 MB, free: 2.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.05833, allocations: 0 / 426.3 MB, free: 2.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.05834, allocations: 3.938 kB / 426.3 MB, free: 2.355 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.001663/0.06, allocations: 1.043 MB / 427.4 MB, free: 1.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.06005, allocations: 16.02 kB / 427.4 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.06094, allocations: 271.8 kB / 427.6 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.06128, allocations: 303.4 kB / 427.9 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.0613, allocations: 21.03 kB / 428 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.06133, allocations: 28.38 kB / 428 MB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.06203, allocations: 0.6199 MB / 428.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.06205, allocations: 4.125 kB / 428.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.06207, allocations: 15.94 kB / 428.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.06208, allocations: 8 kB / 428.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.06255, allocations: 298.5 kB / 428.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.06419, allocations: 2.23 MB / 431.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.06474, allocations: 274.1 kB / 431.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.06481, allocations: 47.61 kB / 431.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/0.07877, allocations: 8.863 MB / 440.3 MB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.0788, allocations: 37.39 kB / 440.4 MB, free: 4.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.0788, allocations: 0 / 440.4 MB, free: 4.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007901/0.07959, allocations: 407.1 kB / 440.8 MB, free: 3.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.07963, allocations: 106.8 kB / 440.9 MB, free: 3.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.07983, allocations: 322.2 kB / 441.2 MB, free: 3.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.07985, allocations: 29.7 kB / 441.2 MB, free: 3.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.07996, allocations: 270.6 kB / 441.5 MB, free: 2.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.07999, allocations: 51.59 kB / 441.5 MB, free: 2.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.08006, allocations: 63.34 kB / 441.6 MB, free: 2.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.08018, allocations: 0.5117 MB / 442.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.08024, allocations: 43.95 kB / 442.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.08041, allocations: 274.1 kB / 442.4 MB, free: 1.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.08061, allocations: 270.7 kB / 442.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.08062, allocations: 0 / 442.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002935/0.08091, allocations: 267.8 kB / 442.9 MB, free: 1.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.08092, allocations: 4 kB / 442.9 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.08093, allocations: 4 kB / 442.9 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.08095, allocations: 8.469 kB / 442.9 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.08108, allocations: 67.89 kB / 443 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.08109, allocations: 8 kB / 443 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.08119, allocations: 39.7 kB / 443.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.0812, allocations: 16 kB / 443.1 MB, free: 1.074 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.0001001/0.0813, allocations: 164.5 kB / 443.2 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.08134, allocations: 31.86 kB / 443.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.08192, allocations: 0.7656 MB / 444 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.08193, allocations: 15.92 kB / 444.1 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.08193, allocations: 4 kB / 444.1 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.08194, allocations: 0 / 444.1 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1598/0.2417, allocations: 473.4 kB / 444.5 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2417, allocations: 0 / 444.5 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.2418, allocations: 41.59 kB / 444.6 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2418, allocations: 0 / 444.6 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2419, allocations: 4.531 kB / 444.6 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2419, allocations: 3.844 kB / 444.6 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2419, allocations: 0 / 444.6 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.2423, allocations: 0.5188 MB / 445.1 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.2423, allocations: 51.8 kB / 445.1 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.2424, allocations: 28.03 kB / 445.2 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.2424, allocations: 12.94 kB / 445.2 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.2425, allocations: 21.72 kB / 445.2 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2425, allocations: 11.7 kB / 445.2 MB, free: 75.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.2427, allocations: 306.5 kB / 445.5 MB, free: 75.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2427, allocations: 0 / 445.5 MB, free: 75.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001877/0.2446, allocations: 0.8627 MB / 446.4 MB, free: 75.09 MB / 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.002245/0.2468, allocations: 1.102 MB / 447.5 MB, free: 75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.2471, allocations: 198 kB / 447.7 MB, free: 74.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2471, allocations: 0 / 447.7 MB, free: 74.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.2472, allocations: 129.4 kB / 447.8 MB, free: 74.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2477, allocations: 162.3 kB / 448 MB, free: 74.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2489, allocations: 0.9354 MB / 448.9 MB, free: 74.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.663e-05/0.249, allocations: 142 kB / 449 MB, free: 74.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.2492, allocations: 181.1 kB / 449.2 MB, free: 74.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.2492, allocations: 36.81 kB / 449.2 MB, free: 74.44 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2492, allocations: 3.25 kB / 449.2 MB, free: 74.44 MB / 410.7 MB Notification: Performance of Templates: time 0.04784/0.2971, allocations: 40.13 MB / 489.4 MB, free: 65.69 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.233832329045981]