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.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.0009149/0.0009149, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001094/0.001094, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9058/0.9058, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1202/0.1202, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 3.938 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.97e-05, allocations: 10.02 kB / 406.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02114/0.02116, allocations: 27.43 MB / 434.3 MB, free: 6.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.03411, allocations: 15.61 MB / 449.9 MB, free: 7.027 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.0345, allocations: 11.88 kB / 449.9 MB, free: 7.016 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.03519, allocations: 210.5 kB / 450.1 MB, free: 6.809 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006677/0.03586, allocations: 294 kB / 450.4 MB, free: 6.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.0482, allocations: 6.046 MB / 456.4 MB, free: 460 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009642/0.04917, allocations: 0.8419 MB / 457.3 MB, free: 15.6 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.04952, allocations: 208.9 kB / 457.5 MB, free: 15.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007006/0.05652, allocations: 5.583 MB / 463.1 MB, free: 9.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.05692, allocations: 215.3 kB / 463.3 MB, free: 9.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.05698, allocations: 28 kB / 463.3 MB, free: 9.492 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007993/0.06497, allocations: 6.051 MB / 469.3 MB, free: 3.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.06511, allocations: 99.64 kB / 469.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.06533, allocations: 139.7 kB / 469.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1681/0.2335, allocations: 4.829 MB / 474.4 MB, free: 58.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2335, allocations: 0 / 474.4 MB, free: 58.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2335, allocations: 0 / 474.4 MB, free: 58.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2335, allocations: 0 / 474.4 MB, free: 58.55 MB / 442.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.002002/0.2355, allocations: 0.9917 MB / 475.4 MB, free: 58.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2355, allocations: 9.969 kB / 475.4 MB, free: 58.04 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.2356, allocations: 62.03 kB / 475.5 MB, free: 58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008054/0.2364, allocations: 198 kB / 475.7 MB, free: 57.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.2368, allocations: 278.8 kB / 475.9 MB, free: 57.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.2368, allocations: 28.03 kB / 476 MB, free: 57.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2368, allocations: 28.03 kB / 476 MB, free: 57.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.2376, allocations: 0.629 MB / 476.6 MB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2376, allocations: 0 / 476.6 MB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.2377, allocations: 18.19 kB / 476.6 MB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2377, allocations: 6.406 kB / 476.6 MB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.2383, allocations: 403.3 kB / 477 MB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2397, allocations: 1.827 MB / 478.9 MB, free: 56.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.2403, allocations: 314.5 kB / 479.2 MB, free: 56.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.2405, allocations: 102.1 kB / 479.3 MB, free: 56.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.254, allocations: 8.495 MB / 487.8 MB, free: 55.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.254, allocations: 34.38 kB / 487.8 MB, free: 55.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.2541, allocations: 4 kB / 487.8 MB, free: 55.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.001113/0.2552, allocations: 0.5237 MB / 488.3 MB, free: 55.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2552, allocations: 109.2 kB / 488.4 MB, free: 55.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.2554, allocations: 331 kB / 488.8 MB, free: 55.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2555, allocations: 27.89 kB / 488.8 MB, free: 55.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.2556, allocations: 211.2 kB / 489 MB, free: 55.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2556, allocations: 47.58 kB / 489 MB, free: 55.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.2556, allocations: 64 kB / 489.1 MB, free: 55.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.2557, allocations: 342.2 kB / 489.4 MB, free: 54.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2558, allocations: 92.52 kB / 489.5 MB, free: 54.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.256, allocations: 265 kB / 489.8 MB, free: 54.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.2563, allocations: 298.5 kB / 490.1 MB, free: 54.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.2563, allocations: 3.188 kB / 490.1 MB, free: 54.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003883/0.2567, allocations: 340.2 kB / 490.4 MB, free: 54.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2567, allocations: 6.25 kB / 490.4 MB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2567, allocations: 2.906 kB / 490.4 MB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2567, allocations: 5.781 kB / 490.4 MB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2569, allocations: 71.73 kB / 490.5 MB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2569, allocations: 9.75 kB / 490.5 MB, free: 54.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.257, allocations: 53.95 kB / 490.6 MB, free: 54.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.257, allocations: 13 kB / 490.6 MB, free: 54.53 MB / 442.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.0001091/0.2571, allocations: 159.6 kB / 490.7 MB, free: 54.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.2572, allocations: 31.53 kB / 490.8 MB, free: 54.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/0.2579, allocations: 1.17 MB / 491.9 MB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.258, allocations: 13.95 kB / 491.9 MB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.258, allocations: 0 / 491.9 MB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.258, allocations: 5.031 kB / 491.9 MB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.2583, allocations: 0.6215 MB / 492.6 MB, free: 54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2583, allocations: 0.625 kB / 492.6 MB, free: 54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2584, allocations: 55.03 kB / 492.6 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2584, allocations: 0 / 492.6 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2585, allocations: 3.188 kB / 492.6 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2585, allocations: 5.344 kB / 492.6 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2585, allocations: 2.578 kB / 492.6 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.2589, allocations: 0.6429 MB / 493.3 MB, free: 53.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.259, allocations: 52.84 kB / 493.3 MB, free: 53.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.259, allocations: 25.97 kB / 493.4 MB, free: 53.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2591, allocations: 16.69 kB / 493.4 MB, free: 53.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.2592, allocations: 23.98 kB / 493.4 MB, free: 53.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2592, allocations: 9.328 kB / 493.4 MB, free: 53.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.2594, allocations: 341.3 kB / 493.7 MB, free: 53.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2594, allocations: 0 / 493.7 MB, free: 53.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002/0.2614, allocations: 0.8544 MB / 494.6 MB, free: 53.56 MB / 442.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.00374/0.2651, allocations: 2.206 MB / 496.8 MB, free: 52.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.2656, allocations: 349.2 kB / 497.1 MB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2656, allocations: 3.219 kB / 497.1 MB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.2659, allocations: 205 kB / 497.3 MB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.2667, allocations: 196.8 kB / 497.5 MB, free: 52.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.2718, allocations: 4.275 MB / 0.49 GB, free: 50.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.2719, allocations: 283 kB / 0.4903 GB, free: 50.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003679/0.2723, allocations: 181.5 kB / 0.4905 GB, free: 50.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.2725, allocations: 194 kB / 0.4907 GB, free: 50.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2725, allocations: 1.188 kB / 0.4907 GB, free: 50.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/0.3279, allocations: 41.77 MB / 0.5315 GB, free: 30.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.034, allocations: 0 / 0.5315 GB, free: 30.85 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.337663567624986]