Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001876/0.001876, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001977/0.001977, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.574/1.574, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3913/0.3913, allocations: 32.81 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.083e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04549/0.04552, allocations: 30.76 MB / 406 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.07301, allocations: 17.52 MB / 423.5 MB, free: 4.531 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.07351, allocations: 19.81 kB / 423.6 MB, free: 4.512 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000852/0.07436, allocations: 202.5 kB / 423.8 MB, free: 4.312 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008314/0.07519, allocations: 286.1 kB / 424 MB, free: 4.031 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0201/0.09528, allocations: 6.073 MB / 430.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.09681, allocations: 0.8379 MB / 430.9 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.09726, allocations: 209.1 kB / 431.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/0.1124, allocations: 5.606 MB / 436.8 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.113, allocations: 223.4 kB / 437 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.1131, allocations: 28 kB / 437 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.1266, allocations: 6.067 MB / 443.1 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1269, allocations: 99.59 kB / 443.2 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.1272, allocations: 135.8 kB / 443.3 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2072/0.3343, allocations: 4.852 MB / 448.1 MB, free: 58.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3344, allocations: 0 / 448.1 MB, free: 58.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3344, allocations: 3 kB / 448.2 MB, free: 58.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3344, allocations: 0 / 448.2 MB, free: 58.62 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.002704/0.3371, allocations: 1.097 MB / 449.2 MB, free: 58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3371, allocations: 12.78 kB / 449.3 MB, free: 58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.3387, allocations: 273.2 kB / 449.5 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.3392, allocations: 306 kB / 449.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3392, allocations: 19.84 kB / 449.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3392, allocations: 25.34 kB / 449.9 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3402, allocations: 0.6383 MB / 450.5 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3403, allocations: 3.75 kB / 450.5 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.3403, allocations: 17.41 kB / 450.5 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3403, allocations: 11.42 kB / 450.5 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009116/0.3412, allocations: 358.8 kB / 450.9 MB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.3438, allocations: 2.346 MB / 453.2 MB, free: 55.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.3447, allocations: 297.3 kB / 453.5 MB, free: 55.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3449, allocations: 94.89 kB / 453.6 MB, free: 55.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02926/0.3741, allocations: 8.859 MB / 462.5 MB, free: 55.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3742, allocations: 36.48 kB / 462.5 MB, free: 55.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.3742, allocations: 0 / 462.5 MB, free: 55.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001707/0.3759, allocations: 498 kB / 463 MB, free: 55.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3759, allocations: 106 kB / 463.1 MB, free: 54.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3762, allocations: 373.4 kB / 463.5 MB, free: 54.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3762, allocations: 32.39 kB / 463.5 MB, free: 54.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3764, allocations: 280.1 kB / 463.8 MB, free: 54.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.3764, allocations: 51.62 kB / 463.8 MB, free: 54.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.3765, allocations: 75.27 kB / 463.9 MB, free: 54.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.3766, allocations: 0.5259 MB / 464.4 MB, free: 53.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3768, allocations: 71.91 kB / 464.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.377, allocations: 305.7 kB / 464.8 MB, free: 53.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.3775, allocations: 327.3 kB / 465.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3775, allocations: 0 / 465.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005898/0.3781, allocations: 313 kB / 465.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3781, allocations: 10.34 kB / 465.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3781, allocations: 6.5 kB / 465.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3781, allocations: 8.203 kB / 465.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.3783, allocations: 67.41 kB / 465.5 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3784, allocations: 6.406 kB / 465.5 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3786, allocations: 32.09 kB / 465.5 MB, free: 53.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3786, allocations: 20.31 kB / 465.6 MB, free: 53.44 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.0001298/0.3787, allocations: 198.7 kB / 465.8 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.3788, allocations: 38.2 kB / 465.8 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00088/0.3797, allocations: 0.7761 MB / 466.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.3797, allocations: 17.78 kB / 466.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3797, allocations: 0 / 466.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3797, allocations: 0 / 466.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.3801, allocations: 0.5052 MB / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3801, allocations: 4 kB / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3803, allocations: 42.75 kB / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3803, allocations: 0 / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3803, allocations: 6.875 kB / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3803, allocations: 0 / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3803, allocations: 2.078 kB / 467.1 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.381, allocations: 0.561 MB / 467.7 MB, free: 52.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.381, allocations: 53.75 kB / 467.8 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3811, allocations: 32.55 kB / 467.8 MB, free: 52.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3813, allocations: 9.969 kB / 467.8 MB, free: 52.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.3813, allocations: 19.98 kB / 467.8 MB, free: 52.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3813, allocations: 12.67 kB / 467.8 MB, free: 52.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.3816, allocations: 357.7 kB / 468.2 MB, free: 52.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 3.562 kB / 468.2 MB, free: 52.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002567/0.3842, allocations: 0.8607 MB / 469.1 MB, free: 52.34 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.003656/0.3879, allocations: 1.113 MB / 470.2 MB, free: 52.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006824/0.3885, allocations: 274.7 kB / 470.4 MB, free: 52.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3885, allocations: 0 / 470.4 MB, free: 52.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.3888, allocations: 167 kB / 470.6 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.3897, allocations: 171.7 kB / 470.8 MB, free: 52.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3909, allocations: 0.9587 MB / 471.7 MB, free: 51.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3911, allocations: 273.2 kB / 472 MB, free: 51.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.3914, allocations: 183.1 kB / 472.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.3915, allocations: 38.28 kB / 472.2 MB, free: 51.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3915, allocations: 0.9844 kB / 472.2 MB, free: 51.53 MB / 410.7 MB Notification: Performance of Templates: time 0.05377/0.4453, allocations: 34.75 MB / 0.4951 GB, free: 41.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.702660707058385]