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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 68.52 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1133, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03134/0.1446, allocations: 30.07 MB / 0.489 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2386/0.3833, allocations: 17.6 MB / 0.5062 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.3839, allocations: 11.56 kB / 0.5062 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008719/0.3848, allocations: 220.2 kB / 0.5065 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00091/0.3857, allocations: 269.5 kB / 0.5067 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01927/0.405, allocations: 6.026 MB / 0.5126 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.4064, allocations: 0.8344 MB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.407, allocations: 239.5 kB / 0.5136 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01426/0.4213, allocations: 5.448 MB / 0.519 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.422, allocations: 242.8 kB / 0.5192 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.4221, allocations: 34.38 kB / 0.5192 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.4364, allocations: 6.314 MB / 0.5254 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.4366, allocations: 90.94 kB / 0.5255 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.4372, allocations: 198.4 kB / 0.5257 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.4477, allocations: 3.833 MB / 0.5294 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.4478, allocations: 6.719 kB / 0.5294 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4478, allocations: 4 kB / 0.5294 GB, free: 7.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.4478, allocations: 0 / 0.5294 GB, free: 7.582 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.003081/0.4509, allocations: 1.04 MB / 0.5304 GB, free: 6.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.451, allocations: 9.906 kB / 0.5304 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.4527, allocations: 190.4 kB / 0.5306 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.4534, allocations: 349.5 kB / 0.531 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.4535, allocations: 24.5 kB / 0.531 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.4535, allocations: 25.25 kB / 0.531 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4547, allocations: 496.3 kB / 0.5315 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4548, allocations: 3.938 kB / 0.5315 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.4548, allocations: 14.28 kB / 0.5315 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4548, allocations: 5.688 kB / 0.5315 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.456, allocations: 416.2 kB / 0.5319 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.4588, allocations: 2.42 MB / 0.5343 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.4599, allocations: 330.2 kB / 0.5346 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.4601, allocations: 108.5 kB / 0.5347 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03121/0.4914, allocations: 16.52 MB / 0.5508 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.4914, allocations: 34.56 kB / 0.5508 GB, free: 3.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/0.4915, allocations: 4 kB / 0.5509 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002144/0.4936, allocations: 0.5322 MB / 0.5514 GB, free: 3.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.4937, allocations: 102.8 kB / 0.5515 GB, free: 3.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.4941, allocations: 320.5 kB / 0.5518 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.4942, allocations: 29.7 kB / 0.5518 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.4943, allocations: 211.5 kB / 0.552 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.4944, allocations: 47.34 kB / 0.5521 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.4945, allocations: 57.61 kB / 0.5521 GB, free: 2.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4946, allocations: 346.8 kB / 0.5524 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.4949, allocations: 87.94 kB / 0.5525 GB, free: 2.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.4953, allocations: 218.3 kB / 0.5527 GB, free: 1.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.4959, allocations: 302.1 kB / 0.553 GB, free: 1.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4959, allocations: 0 / 0.553 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007907/0.4967, allocations: 335.1 kB / 0.5533 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4967, allocations: 8 kB / 0.5533 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4967, allocations: 4 kB / 0.5533 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.4968, allocations: 11.92 kB / 0.5534 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.4971, allocations: 74.23 kB / 0.5534 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4971, allocations: 11.98 kB / 0.5534 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.4974, allocations: 43.98 kB / 0.5535 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.4974, allocations: 16 kB / 0.5535 GB, free: 1.137 MB / 398.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.0001862/0.4976, allocations: 159.9 kB / 0.5537 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.4977, allocations: 27.62 kB / 0.5537 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4992, allocations: 1.096 MB / 0.5547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.4992, allocations: 15.92 kB / 0.5548 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4992, allocations: 0 / 0.5548 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4992, allocations: 3.984 kB / 0.5548 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.5, allocations: 0.6708 MB / 0.5554 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5, allocations: 3 kB / 0.5554 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.5002, allocations: 51.95 kB / 0.5555 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5002, allocations: 2.906 kB / 0.5555 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5002, allocations: 4 kB / 0.5555 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5003, allocations: 7.938 kB / 0.5555 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5003, allocations: 0 / 0.5555 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/0.5012, allocations: 0.6261 MB / 0.5561 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.5013, allocations: 124.4 kB / 0.5562 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.5014, allocations: 27.69 kB / 0.5562 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5017, allocations: 15.92 kB / 0.5563 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.5017, allocations: 19.97 kB / 0.5563 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.5018, allocations: 15.94 kB / 0.5563 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003856/0.5022, allocations: 346.8 kB / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5022, allocations: 0 / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002728/0.5049, allocations: 0.8432 MB / 0.5574 GB, free: 13.02 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.004725/0.5096, allocations: 1.005 MB / 0.5584 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008406/0.5105, allocations: 355.8 kB / 0.5588 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5105, allocations: 0 / 0.5588 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.5109, allocations: 255.2 kB / 0.559 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/0.5119, allocations: 187.6 kB / 0.5592 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.5135, allocations: 1.021 MB / 0.5602 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5139, allocations: 0.8719 MB / 0.561 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003741/0.5143, allocations: 193.5 kB / 0.5612 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.5144, allocations: 35.44 kB / 0.5613 GB, free: 9.195 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5144, allocations: 0 / 0.5613 GB, free: 9.195 MB / 414.1 MB Notification: Performance of Templates: time 0.0509/0.5653, allocations: 34.5 MB / 0.5949 GB, free: 6.812 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches