Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001302/0.001302, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001383/0.001383, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.409/1.409, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 68.08 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1008, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004535/0.1053, allocations: 3.018 MB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1077, allocations: 1.429 MB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1078, allocations: 7.938 kB / 431.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.1083, allocations: 139.2 kB / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1088, allocations: 222.7 kB / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1091, allocations: 139.6 kB / 431.6 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1797/0.2887, allocations: 437.9 kB / 432 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.289, allocations: 69.08 kB / 432.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.2893, allocations: 179.2 kB / 432.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.2896, allocations: 191.7 kB / 432.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2896, allocations: 30.16 kB / 432.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.2898, allocations: 64.61 kB / 432.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2899, allocations: 80.31 kB / 432.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2901, allocations: 183.5 kB / 432.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.2907, allocations: 463.8 kB / 433.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2907, allocations: 0.8438 kB / 433.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2907, allocations: 3.781 kB / 433.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.2907, allocations: 3.344 kB / 433.3 MB, free: 7.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009184/0.2916, allocations: 0.6864 MB / 434 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2917, allocations: 8.219 kB / 434 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.522e-05/0.2917, allocations: 76.75 kB / 434 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.2918, allocations: 47.72 kB / 434.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.2922, allocations: 329.7 kB / 434.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2923, allocations: 20.5 kB / 434.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.2923, allocations: 28.91 kB / 434.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.2928, allocations: 309.8 kB / 434.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2928, allocations: 5.016 kB / 434.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.2928, allocations: 13.72 kB / 434.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2928, allocations: 10.53 kB / 434.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2931, allocations: 184.4 kB / 435 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2943, allocations: 0.8699 MB / 435.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.2948, allocations: 243.1 kB / 436.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.295, allocations: 93.77 kB / 436.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.295, allocations: 4.922 kB / 436.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.2953, allocations: 159.6 kB / 436.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.355e-06/0.2953, allocations: 0 / 436.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002041/0.2974, allocations: 1.32 MB / 437.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.2974, allocations: 186.5 kB / 437.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.2978, allocations: 332 kB / 438.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2978, allocations: 35.7 kB / 438.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.2979, allocations: 194.9 kB / 438.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.298, allocations: 152.4 kB / 438.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.2981, allocations: 73.27 kB / 438.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.2982, allocations: 351.2 kB / 438.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2983, allocations: 89.39 kB / 439 MB, free: 4.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2985, allocations: 179 kB / 439.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.2989, allocations: 255.4 kB / 439.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2989, allocations: 0 / 439.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005041/0.2994, allocations: 355.4 kB / 439.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2994, allocations: 5.625 kB / 439.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2994, allocations: 2.984 kB / 439.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.982e-05/0.2995, allocations: 19.64 kB / 439.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2998, allocations: 87.44 kB / 439.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008069/0.3006, allocations: 1.39 MB / 441.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3008, allocations: 15.12 kB / 441.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3008, allocations: 14.72 kB / 441.3 MB, free: 2.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.301, allocations: 174.8 kB / 441.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.301, allocations: 45.25 kB / 441.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.3011, allocations: 41.31 kB / 441.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3011, allocations: 9.109 kB / 441.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3011, allocations: 0 / 441.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005467/0.3017, allocations: 0.6626 MB / 442.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.3028, allocations: 0.8536 MB / 443.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3028, allocations: 1.25 kB / 443.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.3031, allocations: 76.8 kB / 443.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3031, allocations: 3.562 kB / 443.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3031, allocations: 8.844 kB / 443.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3031, allocations: 2.281 kB / 443.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3032, allocations: 6.891 kB / 443.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.3039, allocations: 0.5509 MB / 443.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3041, allocations: 139.7 kB / 443.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.3041, allocations: 9.141 kB / 443.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.3044, allocations: 23.83 kB / 443.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.3044, allocations: 21.11 kB / 444 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.3045, allocations: 22.5 kB / 444 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.3047, allocations: 241.8 kB / 444.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3047, allocations: 0 / 444.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.3052, allocations: 99.39 kB / 444.3 MB, free: 0.5352 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00248/0.3077, allocations: 1.399 MB / 445.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008482/0.3086, allocations: 368.9 kB / 446.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3086, allocations: 0 / 446.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.3088, allocations: 125.9 kB / 446.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.3095, allocations: 109.8 kB / 446.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.3148, allocations: 3.645 MB / 449.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.3153, allocations: 0.8071 MB / 450.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.3155, allocations: 50.61 kB / 450.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3157, allocations: 133.1 kB / 450.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3157, allocations: 0 / 450.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.3581, allocations: 9.458 MB / 460.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.93, allocations: 8.062 kB / 460.4 MB, free: 9.621 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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: 14.330249154008925]