Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 113.5 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 191.7 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 207.6 MB / 230.5 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3561/0.3561, allocations: 44.23 MB / 326.5 MB, free: 7.246 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 71.89 kB / 462.2 MB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2998, allocations: 61 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03303/0.3329, allocations: 30.28 MB / 0.5405 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.3572, allocations: 17.64 MB / 0.5577 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.3576, allocations: 15.94 kB / 0.5577 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.3584, allocations: 218.6 kB / 0.5579 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.3591, allocations: 278.4 kB / 0.5582 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02222/0.3814, allocations: 6.036 MB / 0.5641 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.3828, allocations: 0.842 MB / 0.5649 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.3833, allocations: 208.5 kB / 0.5651 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.396, allocations: 5.458 MB / 0.5704 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.3966, allocations: 254.9 kB / 0.5707 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.3966, allocations: 28 kB / 0.5707 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.4092, allocations: 6.333 MB / 0.5769 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.4094, allocations: 95.59 kB / 0.577 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.4097, allocations: 187.2 kB / 0.5772 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009528/0.4192, allocations: 3.847 MB / 0.5809 GB, free: 7.035 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4192, allocations: 0 / 0.5809 GB, free: 7.035 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4192, allocations: 4 kB / 0.5809 GB, free: 7.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.4193, allocations: 0 / 0.5809 GB, free: 7.031 MB / 446.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.002554/0.4218, allocations: 1.065 MB / 0.582 GB, free: 5.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4219, allocations: 15.89 kB / 0.582 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.751e-05/0.4219, allocations: 62.72 kB / 0.582 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.4235, allocations: 188.5 kB / 0.5822 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.4241, allocations: 354.7 kB / 0.5826 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.4241, allocations: 24.94 kB / 0.5826 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.4242, allocations: 28.12 kB / 0.5826 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4255, allocations: 490.9 kB / 0.5831 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4255, allocations: 3.938 kB / 0.5831 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.4255, allocations: 12 kB / 0.5831 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4255, allocations: 8 kB / 0.5831 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.4267, allocations: 417.2 kB / 0.5835 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.4302, allocations: 2.419 MB / 0.5859 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4314, allocations: 314.2 kB / 0.5862 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.4317, allocations: 104.8 kB / 0.5863 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03555/0.4673, allocations: 16.53 MB / 0.6024 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.4673, allocations: 34.5 kB / 0.6024 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.4673, allocations: 0 / 0.6024 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00219/0.4695, allocations: 0.5275 MB / 0.6029 GB, free: 14.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.4696, allocations: 114.8 kB / 0.6031 GB, free: 13.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.47, allocations: 316.5 kB / 0.6034 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.47, allocations: 25.7 kB / 0.6034 GB, free: 13.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.4703, allocations: 220 kB / 0.6036 GB, free: 13.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.4704, allocations: 51.53 kB / 0.6036 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4705, allocations: 69.64 kB / 0.6037 GB, free: 13.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.4708, allocations: 338.8 kB / 0.604 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.471, allocations: 95.92 kB / 0.6041 GB, free: 12.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.4715, allocations: 216.5 kB / 0.6043 GB, free: 12.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.4722, allocations: 293.5 kB / 0.6046 GB, free: 12.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4722, allocations: 0 / 0.6046 GB, free: 12.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000803/0.473, allocations: 345.4 kB / 0.6049 GB, free: 11.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.473, allocations: 8 kB / 0.6049 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.473, allocations: 3.938 kB / 0.6049 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.473, allocations: 11.94 kB / 0.605 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.4733, allocations: 71.83 kB / 0.605 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4733, allocations: 8 kB / 0.605 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.4736, allocations: 39.77 kB / 0.6051 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.4736, allocations: 15.98 kB / 0.6051 GB, free: 11.74 MB / 478.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.0001816/0.4738, allocations: 149.8 kB / 0.6052 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.4739, allocations: 35.81 kB / 0.6053 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.4757, allocations: 1.109 MB / 0.6063 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.4757, allocations: 15.97 kB / 0.6064 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4757, allocations: 4 kB / 0.6064 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4757, allocations: 0 / 0.6064 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009473/0.4767, allocations: 0.6641 MB / 0.607 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4767, allocations: 0 / 0.607 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.4769, allocations: 51.89 kB / 0.6071 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.4769, allocations: 8 kB / 0.6071 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4769, allocations: 7.938 kB / 0.6071 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4769, allocations: 3.984 kB / 0.6071 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4769, allocations: 0 / 0.6071 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.4779, allocations: 0.6274 MB / 0.6077 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.4781, allocations: 128.6 kB / 0.6078 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.4782, allocations: 35.67 kB / 0.6079 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.4784, allocations: 11.98 kB / 0.6079 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.4785, allocations: 23.95 kB / 0.6079 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4785, allocations: 7.984 kB / 0.6079 GB, free: 8.758 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004663/0.4789, allocations: 346.9 kB / 0.6082 GB, free: 8.418 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4789, allocations: 0 / 0.6082 GB, free: 8.418 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003235/0.4822, allocations: 0.8539 MB / 0.6091 GB, free: 7.562 MB / 478.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.005394/0.4876, allocations: 2.092 MB / 0.6111 GB, free: 5.449 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008898/0.4885, allocations: 344.2 kB / 0.6114 GB, free: 5.113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4885, allocations: 0 / 0.6114 GB, free: 5.113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.4888, allocations: 209.4 kB / 0.6116 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4899, allocations: 180.5 kB / 0.6118 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.497, allocations: 4.272 MB / 0.616 GB, free: 296 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.4975, allocations: 0.8759 MB / 0.6168 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.4979, allocations: 190.9 kB / 0.617 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.4981, allocations: 191.4 kB / 0.6172 GB, free: 15.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4981, allocations: 0 / 0.6172 GB, free: 15.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3303/0.8284, allocations: 40.4 MB / 0.6566 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.42, allocations: 9.25 kB / 0.6567 GB, free: 128.6 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.883007335010916]