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.001892/0.001892, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001749/0.001749, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2403/0.2403, allocations: 46.93 MB / 360.9 MB, free: 4.293 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 71.89 kB / 0.4962 GB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 66.03 MB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03473/0.4065, allocations: 30.65 MB / 0.5906 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.4284, allocations: 17.77 MB / 0.6079 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.4288, allocations: 15.88 kB / 0.608 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.4295, allocations: 214.6 kB / 0.6082 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.4302, allocations: 294.3 kB / 0.6084 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01637/0.4466, allocations: 6.076 MB / 0.6144 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.4478, allocations: 0.8615 MB / 0.6152 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.4482, allocations: 200.9 kB / 0.6154 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4593, allocations: 5.489 MB / 0.6208 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.4598, allocations: 262.9 kB / 0.621 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.4598, allocations: 32 kB / 0.621 GB, free: 6.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.4718, allocations: 6.353 MB / 0.6273 GB, free: 24 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.472, allocations: 91.67 kB / 0.6273 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.4723, allocations: 191.1 kB / 0.6275 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009294/0.4816, allocations: 3.862 MB / 0.6313 GB, free: 11.88 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4816, allocations: 3.938 kB / 0.6313 GB, free: 11.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4816, allocations: 4 kB / 0.6313 GB, free: 11.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.4816, allocations: 0 / 0.6313 GB, free: 11.87 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.00273/0.4843, allocations: 1.007 MB / 0.6323 GB, free: 10.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4844, allocations: 12.03 kB / 0.6323 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.822e-05/0.4845, allocations: 58.73 kB / 0.6324 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.4861, allocations: 208.5 kB / 0.6326 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.4867, allocations: 288.9 kB / 0.6328 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.4868, allocations: 25.03 kB / 0.6328 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.4868, allocations: 28.12 kB / 0.6329 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.4881, allocations: 484.1 kB / 0.6333 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.4881, allocations: 4 kB / 0.6333 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.4881, allocations: 12 kB / 0.6334 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4882, allocations: 4 kB / 0.6334 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4893, allocations: 413.2 kB / 0.6338 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.4926, allocations: 2.241 MB / 0.6359 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.4937, allocations: 332.6 kB / 0.6363 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.494, allocations: 104.8 kB / 0.6364 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/0.5245, allocations: 8.831 MB / 0.645 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5245, allocations: 34.56 kB / 0.645 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.514e-06/0.5245, allocations: 0 / 0.645 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002017/0.5265, allocations: 0.5166 MB / 0.6455 GB, free: 13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.5266, allocations: 106.8 kB / 0.6456 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.527, allocations: 332.4 kB / 0.6459 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.527, allocations: 25.7 kB / 0.646 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.5272, allocations: 216.1 kB / 0.6462 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.5272, allocations: 55.52 kB / 0.6462 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.5273, allocations: 69.64 kB / 0.6463 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5275, allocations: 338.8 kB / 0.6466 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.5278, allocations: 91.92 kB / 0.6467 GB, free: 11.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.5281, allocations: 211.4 kB / 0.6469 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.5287, allocations: 296.4 kB / 0.6472 GB, free: 11.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5287, allocations: 0 / 0.6472 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007589/0.5295, allocations: 341 kB / 0.6475 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5295, allocations: 8 kB / 0.6475 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5295, allocations: 7.938 kB / 0.6475 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5295, allocations: 4.469 kB / 0.6475 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.5298, allocations: 71.89 kB / 0.6476 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.5298, allocations: 11.94 kB / 0.6476 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.5301, allocations: 39.77 kB / 0.6476 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.5301, allocations: 15.98 kB / 0.6477 GB, free: 10.63 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.0001649/0.5303, allocations: 145.8 kB / 0.6478 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.5303, allocations: 43.75 kB / 0.6478 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.5318, allocations: 1.145 MB / 0.649 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.5319, allocations: 19.91 kB / 0.649 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5319, allocations: 4 kB / 0.649 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5319, allocations: 0 / 0.649 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.5325, allocations: 0.6553 MB / 0.6496 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5325, allocations: 0 / 0.6496 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.5327, allocations: 47.89 kB / 0.6497 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5328, allocations: 0 / 0.6497 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5328, allocations: 15.92 kB / 0.6497 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5328, allocations: 0 / 0.6497 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5328, allocations: 0 / 0.6497 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.5337, allocations: 0.6391 MB / 0.6503 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.5338, allocations: 59.48 kB / 0.6504 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.5338, allocations: 31.72 kB / 0.6504 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.534, allocations: 15.98 kB / 0.6504 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.5341, allocations: 27.89 kB / 0.6504 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.5341, allocations: 8 kB / 0.6504 GB, free: 7.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003898/0.5345, allocations: 342.8 kB / 0.6508 GB, free: 7.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5345, allocations: 0 / 0.6508 GB, free: 7.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002235/0.5367, allocations: 0.8539 MB / 0.6516 GB, free: 6.508 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.004697/0.5414, allocations: 2.09 MB / 0.6536 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000807/0.5422, allocations: 349.2 kB / 0.654 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5422, allocations: 0 / 0.654 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.5427, allocations: 208.5 kB / 0.6542 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009749/0.5437, allocations: 199 kB / 0.6544 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.5502, allocations: 4.296 MB / 0.6586 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.5508, allocations: 0.8837 MB / 0.6594 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004287/0.5512, allocations: 183.8 kB / 0.6596 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.5515, allocations: 195.3 kB / 0.6598 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.5515, allocations: 0 / 0.6598 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08477/0.6363, allocations: 41.05 MB / 0.6999 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.95, allocations: 4 kB / 0.6999 GB, free: 5.02 MB / 0.5294 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] 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: 17.49987416807562]