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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009877/0.0009878, allocations: 95.84 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1983/0.1983, allocations: 46.18 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 11.98 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1174, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02965/0.1471, allocations: 30.35 MB / 0.5014 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2442/0.3913, allocations: 18.3 MB / 0.5193 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.3919, allocations: 10.5 kB / 0.5193 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.3927, allocations: 185 kB / 0.5195 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.3934, allocations: 260.7 kB / 0.5197 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02044/0.4139, allocations: 4.895 MB / 0.5245 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.4155, allocations: 1.11 MB / 0.5256 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.4159, allocations: 209.5 kB / 0.5258 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.4264, allocations: 5.385 MB / 0.531 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.427, allocations: 244.6 kB / 0.5313 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.4271, allocations: 14.03 kB / 0.5313 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.4398, allocations: 6.265 MB / 0.5374 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.44, allocations: 69.52 kB / 0.5375 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.4403, allocations: 201.1 kB / 0.5377 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009956/0.4503, allocations: 3.832 MB / 0.5414 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4503, allocations: 0 / 0.5414 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4504, allocations: 2.969 kB / 0.5414 GB, free: 4.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4504, allocations: 0 / 0.5414 GB, free: 4.91 MB / 382.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.002377/0.4528, allocations: 0.9856 MB / 0.5424 GB, free: 4.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4528, allocations: 13.14 kB / 0.5424 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.4545, allocations: 218.6 kB / 0.5426 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.4549, allocations: 337.1 kB / 0.5429 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.4549, allocations: 20.75 kB / 0.5429 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.4549, allocations: 26.59 kB / 0.5429 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.4561, allocations: 0.4963 MB / 0.5434 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4561, allocations: 1.812 kB / 0.5434 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.4562, allocations: 15.69 kB / 0.5434 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4562, allocations: 5.75 kB / 0.5435 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.4573, allocations: 444.3 kB / 0.5439 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.4598, allocations: 2.44 MB / 0.5463 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.4609, allocations: 349.3 kB / 0.5466 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.4612, allocations: 129.2 kB / 0.5467 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03382/0.495, allocations: 18.46 MB / 0.5647 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4951, allocations: 34.56 kB / 0.5648 GB, free: 12.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.4951, allocations: 0 / 0.5648 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002083/0.4972, allocations: 0.5722 MB / 0.5653 GB, free: 12.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.4973, allocations: 114.8 kB / 0.5654 GB, free: 12.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.4976, allocations: 324.4 kB / 0.5658 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4976, allocations: 29.7 kB / 0.5658 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.4978, allocations: 206.7 kB / 0.566 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.4978, allocations: 43.36 kB / 0.566 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.4979, allocations: 29.7 kB / 0.5661 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.498, allocations: 346.8 kB / 0.5664 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.4983, allocations: 99.94 kB / 0.5665 GB, free: 11.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.4987, allocations: 223.4 kB / 0.5667 GB, free: 10.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.4993, allocations: 327.9 kB / 0.567 GB, free: 10.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4993, allocations: 4 kB / 0.567 GB, free: 10.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007805/0.5001, allocations: 349.3 kB / 0.5673 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5002, allocations: 8.031 kB / 0.5673 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5002, allocations: 11.98 kB / 0.5674 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5002, allocations: 7.938 kB / 0.5674 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.5005, allocations: 75.89 kB / 0.5674 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5005, allocations: 7.938 kB / 0.5674 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.5008, allocations: 55.61 kB / 0.5675 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.5008, allocations: 19.98 kB / 0.5675 GB, free: 10 MB / 414.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.000166/0.501, allocations: 149.7 kB / 0.5677 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.5011, allocations: 31.62 kB / 0.5677 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.5026, allocations: 1.144 MB / 0.5688 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.5026, allocations: 19.91 kB / 0.5688 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5026, allocations: 0 / 0.5688 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5026, allocations: 0 / 0.5688 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.5033, allocations: 0.6634 MB / 0.5695 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5033, allocations: 4 kB / 0.5695 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.5035, allocations: 63.89 kB / 0.5695 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5036, allocations: 4 kB / 0.5695 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5036, allocations: 0 / 0.5695 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5036, allocations: 3.938 kB / 0.5696 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5036, allocations: 0 / 0.5696 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.5045, allocations: 0.64 MB / 0.5702 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.5047, allocations: 204 kB / 0.5704 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.5047, allocations: 7.938 kB / 0.5704 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.505, allocations: 35.77 kB / 0.5704 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.5051, allocations: 15.97 kB / 0.5704 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.5051, allocations: 11.98 kB / 0.5704 GB, free: 6.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003586/0.5055, allocations: 346.9 kB / 0.5708 GB, free: 6.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5055, allocations: 0 / 0.5708 GB, free: 6.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00248/0.5079, allocations: 0.8434 MB / 0.5716 GB, free: 5.734 MB / 414.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.00357/0.5115, allocations: 1.015 MB / 0.5726 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008689/0.5124, allocations: 371.4 kB / 0.5729 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5124, allocations: 0.75 kB / 0.5729 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.5128, allocations: 274.9 kB / 0.5732 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5139, allocations: 176.9 kB / 0.5734 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5155, allocations: 1.278 MB / 0.5746 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.5159, allocations: 0.8837 MB / 0.5755 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.5163, allocations: 179 kB / 0.5757 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.5164, allocations: 31.44 kB / 0.5757 GB, free: 1.582 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5164, allocations: 0 / 0.5757 GB, free: 1.582 MB / 414.1 MB Notification: Performance of Templates: time 0.0484/0.5648, allocations: 34.2 MB / 0.6091 GB, free: 15.45 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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) 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) Reference file matches