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.0008137/0.0008137, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008204/0.0008204, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 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 0.8724/0.8724, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.577e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002828/0.002844, allocations: 2.834 MB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004595, allocations: 1.339 MB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.004754, allocations: 7.938 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.005196, allocations: 143.1 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.005657, allocations: 222.5 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.005913, allocations: 151.4 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.006288, allocations: 457.9 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.006435, allocations: 76.17 kB / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.00665, allocations: 251.3 kB / 330 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.006826, allocations: 143.6 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.006863, allocations: 31.98 kB / 330.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.006967, allocations: 59.94 kB / 330.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.007056, allocations: 87.61 kB / 330.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.007163, allocations: 127.7 kB / 330.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.007583, allocations: 454.5 kB / 330.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007585, allocations: 0 / 330.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007586, allocations: 4 kB / 330.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.007593, allocations: 3.938 kB / 330.8 MB, free: 9.527 MB / 298.7 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.0007697/0.008362, allocations: 0.6071 MB / 331.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008399, allocations: 11.98 kB / 331.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.891e-05/0.008498, allocations: 75.28 kB / 331.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.008565, allocations: 52.66 kB / 331.6 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.008873, allocations: 261.5 kB / 331.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.008892, allocations: 21.03 kB / 331.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.008925, allocations: 32.33 kB / 331.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.009357, allocations: 0.5316 MB / 332.4 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.009372, allocations: 192 / 332.4 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.009393, allocations: 16.12 kB / 332.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.0094, allocations: 8 kB / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.009615, allocations: 182.5 kB / 332.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.01054, allocations: 0.7678 MB / 333.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.01089, allocations: 243.8 kB / 333.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.011, allocations: 97.94 kB / 333.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.01102, allocations: 8.219 kB / 333.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.01125, allocations: 269.1 kB / 334 MB, free: 6.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.01125, allocations: 4 kB / 334 MB, free: 6.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00153/0.01278, allocations: 1.111 MB / 335.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.01284, allocations: 183.9 kB / 335.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.01307, allocations: 344.5 kB / 335.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.0131, allocations: 33.7 kB / 335.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.01319, allocations: 196.7 kB / 335.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.01326, allocations: 150.7 kB / 336 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01333, allocations: 78.14 kB / 336.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.01342, allocations: 350.8 kB / 336.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01353, allocations: 88.97 kB / 336.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01372, allocations: 314.4 kB / 336.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.01397, allocations: 250.2 kB / 337.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01397, allocations: 4 kB / 337.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003494/0.01432, allocations: 354.5 kB / 337.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01433, allocations: 7.984 kB / 337.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01434, allocations: 0 / 337.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.301e-05/0.01441, allocations: 24.8 kB / 337.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.01459, allocations: 87.89 kB / 337.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009568/0.01555, allocations: 1.291 MB / 338.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.01566, allocations: 16.03 kB / 338.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.01567, allocations: 8 kB / 338.8 MB, free: 0.9336 MB / 298.7 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.0001227/0.0158, allocations: 165.8 kB / 339 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.01583, allocations: 43.72 kB / 339 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.01619, allocations: 342.7 kB / 339.4 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01619, allocations: 4.125 kB / 339.4 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01619, allocations: 7.938 kB / 339.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003798/0.01657, allocations: 0.6685 MB / 340.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/0.01727, allocations: 0.7818 MB / 340.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01727, allocations: 0 / 340.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.01745, allocations: 83.89 kB / 340.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01745, allocations: 0 / 340.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.01747, allocations: 12 kB / 340.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01747, allocations: 12.19 kB / 340.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01747, allocations: 0 / 340.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.01793, allocations: 0.5618 MB / 341.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.01801, allocations: 59.8 kB / 341.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01804, allocations: 11.98 kB / 341.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.01814, allocations: 16 kB / 341.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.01819, allocations: 23.95 kB / 341.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.01821, allocations: 19.92 kB / 341.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.01836, allocations: 243.1 kB / 341.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01836, allocations: 4 kB / 341.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.01861, allocations: 99.92 kB / 342 MB, free: 13.58 MB / 314.7 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 (41): * Single equations (assignments): 39 * 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.001208/0.01982, allocations: 1.441 MB / 343.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.02023, allocations: 358.7 kB / 343.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02023, allocations: 256 / 343.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.02036, allocations: 139.5 kB / 343.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.02069, allocations: 97.77 kB / 344 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.0238, allocations: 3.544 MB / 347.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.02392, allocations: 204.2 kB / 347.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.02403, allocations: 51.23 kB / 347.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.02416, allocations: 136.5 kB / 347.9 MB, free: 7.57 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02416, allocations: 0 / 347.9 MB, free: 7.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.04521, allocations: 10.57 MB / 358.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/7.89, allocations: 6.859 kB / 358.5 MB, free: 13.11 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.546673684380949]