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.001058/0.001058, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001121/0.001121, allocations: 166.7 kB / 24.91 MB, free: 8.773 MB / 18.57 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 0.9391/0.9391, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.264/0.264, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.651e-05, allocations: 5.219 kB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01467/0.0147, allocations: 14.51 MB / 339.7 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.02757, allocations: 12.73 MB / 352.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.02795, allocations: 15.88 kB / 352.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.02846, allocations: 127 kB / 352.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.02906, allocations: 298.1 kB / 352.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01295/0.04201, allocations: 5.593 MB / 358.5 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.04338, allocations: 0.8653 MB / 359.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.04373, allocations: 213.2 kB / 359.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.04709, allocations: 2.224 MB / 361.8 MB, free: 3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.04748, allocations: 215.3 kB / 362 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.04753, allocations: 32 kB / 362 MB, free: 2.758 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008989/0.05652, allocations: 5.919 MB / 368 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.05672, allocations: 95.66 kB / 368.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.05695, allocations: 135.7 kB / 368.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009281/0.06623, allocations: 4.556 MB / 372.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.06623, allocations: 4 kB / 372.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06624, allocations: 0 / 372.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.06624, allocations: 0 / 372.7 MB, free: 8.035 MB / 346.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.002869/0.06911, allocations: 0.9296 MB / 373.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.06915, allocations: 8.031 kB / 373.7 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.07017, allocations: 296 kB / 374 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.0706, allocations: 272.6 kB / 374.2 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.07063, allocations: 21.03 kB / 374.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.07067, allocations: 28.38 kB / 374.3 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.07141, allocations: 0.5883 MB / 374.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.07143, allocations: 4.188 kB / 374.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.07146, allocations: 15.94 kB / 374.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.07147, allocations: 4 kB / 374.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.07192, allocations: 270.7 kB / 375.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.07354, allocations: 1.531 MB / 376.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.07409, allocations: 251.3 kB / 376.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.07414, allocations: 32.84 kB / 377 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2853/0.3595, allocations: 68.05 MB / 445 MB, free: 101.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3595, allocations: 39.36 kB / 445.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.3595, allocations: 5.328 kB / 445.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009048/0.3604, allocations: 361.5 kB / 445.4 MB, free: 101.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3604, allocations: 106.5 kB / 445.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3606, allocations: 269 kB / 445.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3606, allocations: 26.83 kB / 445.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.3607, allocations: 200 kB / 446 MB, free: 101 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3607, allocations: 55.98 kB / 446.1 MB, free: 101 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3608, allocations: 57.45 kB / 446.1 MB, free: 101 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.3608, allocations: 341.2 kB / 446.4 MB, free: 100.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.3609, allocations: 42.72 kB / 446.5 MB, free: 100.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.361, allocations: 215.8 kB / 446.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3612, allocations: 211.5 kB / 446.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3612, allocations: 6.375 kB / 446.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002101/0.3614, allocations: 201.8 kB / 447.1 MB, free: 100.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3614, allocations: 6.188 kB / 447.1 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3614, allocations: 7.453 kB / 447.1 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3614, allocations: 4.844 kB / 447.1 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3616, allocations: 64.56 kB / 447.2 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3616, allocations: 5.594 kB / 447.2 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3617, allocations: 31.42 kB / 447.2 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3617, allocations: 19.03 kB / 447.2 MB, free: 100.3 MB / 410.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 9.855e-05/0.3618, allocations: 138.3 kB / 447.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.3618, allocations: 18.67 kB / 447.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.3624, allocations: 0.7027 MB / 448.1 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.3624, allocations: 18.7 kB / 448.1 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3624, allocations: 0 / 448.1 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3624, allocations: 0 / 448.1 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3627, allocations: 380.4 kB / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3627, allocations: 0 / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.3628, allocations: 41.33 kB / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3628, allocations: 0 / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3628, allocations: 7.094 kB / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3628, allocations: 1.625 kB / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3628, allocations: 2.641 kB / 448.5 MB, free: 99.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3631, allocations: 434.5 kB / 449 MB, free: 99.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3632, allocations: 48.02 kB / 449 MB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3632, allocations: 23.45 kB / 449 MB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.3633, allocations: 16.17 kB / 449.1 MB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3634, allocations: 22.7 kB / 449.1 MB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3634, allocations: 4.625 kB / 449.1 MB, free: 99.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3635, allocations: 160.6 kB / 449.2 MB, free: 99.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3635, allocations: 1.938 kB / 449.2 MB, free: 99.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001862/0.3653, allocations: 0.8674 MB / 450.1 MB, free: 99.59 MB / 410.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.00276/0.3681, allocations: 1.158 MB / 451.3 MB, free: 99.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.3684, allocations: 167.5 kB / 451.4 MB, free: 99.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.3684, allocations: 6.125 kB / 451.4 MB, free: 99.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.3685, allocations: 100.5 kB / 451.5 MB, free: 99.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3689, allocations: 175 kB / 451.7 MB, free: 99.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3701, allocations: 0.9312 MB / 452.6 MB, free: 99.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.901e-05/0.3702, allocations: 136.3 kB / 452.8 MB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000224/0.3704, allocations: 178.2 kB / 452.9 MB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3706, allocations: 168.3 kB / 453.1 MB, free: 98.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3706, allocations: 0 / 453.1 MB, free: 98.91 MB / 410.7 MB Notification: Performance of Templates: time 0.03438/0.405, allocations: 38.39 MB / 491.5 MB, free: 67.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.649747591931373]