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.001753/0.001753, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.002113/0.002113, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 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.2385/0.2385, allocations: 46.9 MB / 357.4 MB, free: 10.56 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 87.84 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1333, allocations: 65.98 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03873/0.1721, allocations: 30.41 MB / 0.5854 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3451/0.5172, allocations: 17.68 MB / 0.6026 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.5177, allocations: 16.19 kB / 0.6027 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007823/0.5184, allocations: 216.7 kB / 0.6029 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007574/0.5192, allocations: 282.1 kB / 0.6031 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02047/0.5397, allocations: 6.063 MB / 0.609 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.541, allocations: 0.8371 MB / 0.6099 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.5413, allocations: 220.4 kB / 0.6101 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.5519, allocations: 5.468 MB / 0.6154 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.5524, allocations: 257.8 kB / 0.6157 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.5525, allocations: 30.25 kB / 0.6157 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/0.5666, allocations: 6.342 MB / 0.6219 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.5669, allocations: 91.19 kB / 0.622 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005226/0.5674, allocations: 193.2 kB / 0.6222 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5789, allocations: 3.862 MB / 0.6259 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5789, allocations: 0 / 0.6259 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5789, allocations: 0 / 0.6259 GB, free: 14.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5789, allocations: 2.312 kB / 0.6259 GB, free: 14.64 MB / 462.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.003675/0.5826, allocations: 1.074 MB / 0.627 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5826, allocations: 10.47 kB / 0.627 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.5827, allocations: 68.09 kB / 0.6271 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.5845, allocations: 202.8 kB / 0.6272 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.5852, allocations: 360.5 kB / 0.6276 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.5853, allocations: 19.94 kB / 0.6276 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.5853, allocations: 25.16 kB / 0.6276 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5867, allocations: 497.4 kB / 0.6281 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5867, allocations: 7.875 kB / 0.6281 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.5867, allocations: 12.12 kB / 0.6281 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.5868, allocations: 6.875 kB / 0.6281 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5881, allocations: 409.1 kB / 0.6285 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.5919, allocations: 2.422 MB / 0.6309 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.5931, allocations: 322.8 kB / 0.6312 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.5934, allocations: 103.4 kB / 0.6313 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03657/0.6299, allocations: 18.37 MB / 0.6492 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.63, allocations: 42.56 kB / 0.6493 GB, free: 9.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.63, allocations: 0 / 0.6493 GB, free: 9.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002115/0.6321, allocations: 0.5258 MB / 0.6498 GB, free: 8.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.6322, allocations: 102.8 kB / 0.6499 GB, free: 8.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.6326, allocations: 332.4 kB / 0.6502 GB, free: 8.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.6327, allocations: 29.7 kB / 0.6502 GB, free: 8.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.6329, allocations: 208 kB / 0.6504 GB, free: 8.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.6329, allocations: 51.58 kB / 0.6505 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.6331, allocations: 73.64 kB / 0.6506 GB, free: 8.051 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6332, allocations: 342.8 kB / 0.6509 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.6335, allocations: 83.94 kB / 0.651 GB, free: 7.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.6339, allocations: 216.5 kB / 0.6512 GB, free: 7.359 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.6345, allocations: 298.9 kB / 0.6515 GB, free: 7.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6345, allocations: 0 / 0.6515 GB, free: 7.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008378/0.6354, allocations: 344.9 kB / 0.6518 GB, free: 6.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6354, allocations: 4 kB / 0.6518 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6354, allocations: 4 kB / 0.6518 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6354, allocations: 11.94 kB / 0.6518 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.6357, allocations: 68.3 kB / 0.6519 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.6357, allocations: 11.98 kB / 0.6519 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.636, allocations: 47.72 kB / 0.6519 GB, free: 6.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.6361, allocations: 12 kB / 0.6519 GB, free: 6.523 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.0001909/0.6363, allocations: 153.8 kB / 0.6521 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.6364, allocations: 31.81 kB / 0.6521 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.6379, allocations: 1.118 MB / 0.6532 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.638, allocations: 11.98 kB / 0.6532 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.638, allocations: 0 / 0.6532 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.638, allocations: 3.984 kB / 0.6532 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.6388, allocations: 0.6728 MB / 0.6539 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6388, allocations: 4 kB / 0.6539 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.639, allocations: 47.95 kB / 0.6539 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.639, allocations: 4 kB / 0.6539 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.639, allocations: 3.938 kB / 0.6539 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.639, allocations: 0 / 0.6539 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.639, allocations: 0 / 0.6539 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.6399, allocations: 0.6274 MB / 0.6545 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.6401, allocations: 136.6 kB / 0.6547 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/0.6402, allocations: 27.72 kB / 0.6547 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.6404, allocations: 15.98 kB / 0.6547 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.6405, allocations: 23.97 kB / 0.6547 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.6405, allocations: 4.609 kB / 0.6547 GB, free: 3.551 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004288/0.6409, allocations: 350.8 kB / 0.6551 GB, free: 3.211 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6409, allocations: 0 / 0.6551 GB, free: 3.211 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003252/0.6442, allocations: 0.85 MB / 0.6559 GB, free: 2.359 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.007129/0.6513, allocations: 2.087 MB / 0.6579 GB, free: 356 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009416/0.6522, allocations: 357 kB / 0.6583 GB, free: 0 / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6522, allocations: 80 / 0.6583 GB, free: 0 / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.6527, allocations: 208.9 kB / 0.6585 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6538, allocations: 191.3 kB / 0.6587 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/0.6621, allocations: 4.283 MB / 0.6629 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.6626, allocations: 0.8835 MB / 0.6637 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004323/0.6631, allocations: 186.2 kB / 0.6639 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6633, allocations: 187.4 kB / 0.6641 GB, free: 9.902 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6633, allocations: 0 / 0.6641 GB, free: 9.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08841/0.7517, allocations: 40.54 MB / 0.7037 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.38, allocations: 11.73 kB / 0.7037 GB, free: 1.488 MB / 0.5137 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.005617378279567]