Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002407/0.002407, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003039/0.003039, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4045/0.4045, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.444e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04268/0.04272, allocations: 30.76 MB / 408 MB, free: 4.062 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02731/0.07003, allocations: 17.51 MB / 425.5 MB, free: 2.484 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.07052, allocations: 15.81 kB / 425.5 MB, free: 2.469 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.07128, allocations: 214.5 kB / 425.7 MB, free: 2.258 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.07206, allocations: 282.1 kB / 426 MB, free: 1.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01913/0.09119, allocations: 6.077 MB / 432.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.09308, allocations: 0.8457 MB / 432.9 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.09352, allocations: 205 kB / 433.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01463/0.1081, allocations: 5.602 MB / 438.7 MB, free: 5.137 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.1087, allocations: 223.3 kB / 438.9 MB, free: 4.918 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.1088, allocations: 32 kB / 439 MB, free: 4.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2299/0.3388, allocations: 6.058 MB / 445 MB, free: 57.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.3389, allocations: 94.75 kB / 445.1 MB, free: 57.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.3392, allocations: 140 kB / 445.2 MB, free: 57.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.3506, allocations: 4.856 MB / 450.1 MB, free: 57.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3506, allocations: 0 / 450.1 MB, free: 57.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3506, allocations: 4.844 kB / 450.1 MB, free: 57.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3506, allocations: 0.7188 kB / 450.1 MB, free: 57.35 MB / 410.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.003596/0.3542, allocations: 1.1 MB / 451.2 MB, free: 56.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3542, allocations: 9.25 kB / 451.2 MB, free: 56.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.3559, allocations: 278.7 kB / 451.5 MB, free: 56.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.3564, allocations: 295.6 kB / 451.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3564, allocations: 21.12 kB / 451.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3564, allocations: 29.25 kB / 451.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3574, allocations: 0.6377 MB / 452.5 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3575, allocations: 384 / 452.5 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.3575, allocations: 20 kB / 452.5 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3575, allocations: 8.469 kB / 452.5 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.3585, allocations: 370.2 kB / 452.9 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.3611, allocations: 2.342 MB / 455.2 MB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.3623, allocations: 297.6 kB / 455.5 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3625, allocations: 90.91 kB / 455.6 MB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0293/0.3918, allocations: 8.857 MB / 464.4 MB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3919, allocations: 36.61 kB / 464.5 MB, free: 53.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.415e-06/0.3919, allocations: 0 / 464.5 MB, free: 53.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001915/0.3938, allocations: 495.7 kB / 465 MB, free: 53.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.3938, allocations: 106.8 kB / 465.1 MB, free: 53.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.3943, allocations: 374 kB / 465.4 MB, free: 53.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3943, allocations: 32.55 kB / 465.5 MB, free: 53.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3945, allocations: 274.3 kB / 465.7 MB, free: 53.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.3946, allocations: 59.08 kB / 465.8 MB, free: 53.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3947, allocations: 75.66 kB / 465.9 MB, free: 53.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3949, allocations: 0.5214 MB / 466.4 MB, free: 52.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3951, allocations: 81.34 kB / 466.5 MB, free: 52.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.3955, allocations: 305.8 kB / 466.8 MB, free: 52.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.396, allocations: 323 kB / 467.1 MB, free: 52.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.396, allocations: 0 / 467.1 MB, free: 52.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007338/0.3967, allocations: 317.3 kB / 467.4 MB, free: 52.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.3968, allocations: 6.594 kB / 467.4 MB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3968, allocations: 3.312 kB / 467.4 MB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.918e-05/0.3968, allocations: 6.438 kB / 467.4 MB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3971, allocations: 62.16 kB / 467.5 MB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.3971, allocations: 8.375 kB / 467.5 MB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.3974, allocations: 36.42 kB / 467.5 MB, free: 52.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.3974, allocations: 16.88 kB / 467.5 MB, free: 52.12 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 0.0002197/0.3976, allocations: 203.2 kB / 467.7 MB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.3977, allocations: 31.95 kB / 467.7 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.399, allocations: 0.7823 MB / 468.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.399, allocations: 13.42 kB / 468.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.399, allocations: 3.031 kB / 468.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.399, allocations: 0 / 468.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.3996, allocations: 0.5089 MB / 469 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3996, allocations: 2.75 kB / 469.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3998, allocations: 43.59 kB / 469.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3998, allocations: 5.531 kB / 469.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3998, allocations: 3.688 kB / 469.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3998, allocations: 2.938 kB / 469.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3998, allocations: 0 / 469.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.4006, allocations: 0.5648 MB / 469.7 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.4007, allocations: 54.38 kB / 469.7 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.4007, allocations: 25.52 kB / 469.7 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4009, allocations: 12.64 kB / 469.8 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.401, allocations: 21.8 kB / 469.8 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.4011, allocations: 10.62 kB / 469.8 MB, free: 51.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004547/0.4015, allocations: 357.1 kB / 470.1 MB, free: 51.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4015, allocations: 0 / 470.1 MB, free: 51.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004037/0.4056, allocations: 0.867 MB / 471 MB, free: 51.03 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.004218/0.4098, allocations: 1.116 MB / 472.1 MB, free: 50.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.4105, allocations: 272.5 kB / 472.4 MB, free: 50.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4105, allocations: 0 / 472.4 MB, free: 50.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.4108, allocations: 164.4 kB / 472.6 MB, free: 50.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.4118, allocations: 169.4 kB / 472.7 MB, free: 50.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.4133, allocations: 0.9515 MB / 473.7 MB, free: 50.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4136, allocations: 276.5 kB / 473.9 MB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.414, allocations: 175.8 kB / 474.1 MB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.4141, allocations: 37.28 kB / 474.1 MB, free: 50.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4141, allocations: 0 / 474.1 MB, free: 50.22 MB / 410.7 MB Notification: Performance of Templates: time 0.04951/0.4636, allocations: 34.76 MB / 0.497 GB, free: 38.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.848488511983305]