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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001483, allocations: 109.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 60 kB / 306.5 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07262/0.07368, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003513/0.07723, allocations: 3.053 MB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.07907, allocations: 1.401 MB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.07925, allocations: 7.938 kB / 361.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.07965, allocations: 119.5 kB / 361.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.0801, allocations: 195 kB / 361.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.08036, allocations: 119.8 kB / 362 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.08079, allocations: 434.2 kB / 362.4 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.08097, allocations: 115.6 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.08115, allocations: 171.3 kB / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.08135, allocations: 191.1 kB / 362.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.0814, allocations: 28 kB / 362.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.08151, allocations: 63.97 kB / 362.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.08159, allocations: 79.69 kB / 363 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.08174, allocations: 190.9 kB / 363.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.0821, allocations: 446.8 kB / 363.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.08211, allocations: 7.938 kB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08212, allocations: 0 / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.08214, allocations: 0 / 363.7 MB, free: 7.707 MB / 302.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.0008165/0.08296, allocations: 0.6751 MB / 364.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.08299, allocations: 8.031 kB / 364.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.522e-05/0.08308, allocations: 83.12 kB / 364.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.08316, allocations: 48.38 kB / 364.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.08347, allocations: 316.5 kB / 364.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.0835, allocations: 16.94 kB / 364.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.08355, allocations: 31.94 kB / 364.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.08398, allocations: 311 kB / 365.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.084, allocations: 4 kB / 365.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.08404, allocations: 15.94 kB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.08405, allocations: 8 kB / 365.2 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.08434, allocations: 182.1 kB / 365.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.08546, allocations: 0.8715 MB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.08591, allocations: 262.9 kB / 366.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.08607, allocations: 97.39 kB / 366.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.0861, allocations: 4.281 kB / 366.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.08638, allocations: 170.6 kB / 366.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.644e-06/0.08639, allocations: 4 kB / 366.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.001905/0.0883, allocations: 1.312 MB / 368 MB, free: 3.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.08838, allocations: 183.9 kB / 368.2 MB, free: 2.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.08869, allocations: 336.5 kB / 368.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.08873, allocations: 37.7 kB / 368.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.08884, allocations: 188.5 kB / 368.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.08893, allocations: 138 kB / 368.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.08902, allocations: 74.05 kB / 369 MB, free: 2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.08913, allocations: 358.7 kB / 369.3 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.08928, allocations: 92.84 kB / 369.4 MB, free: 1.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.08949, allocations: 173.3 kB / 369.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.08982, allocations: 254.2 kB / 369.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.08983, allocations: 0 / 369.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004665/0.0903, allocations: 350.5 kB / 370.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.09032, allocations: 4 kB / 370.2 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09033, allocations: 0 / 370.2 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.648e-05/0.09041, allocations: 24.98 kB / 370.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.0907, allocations: 83.89 kB / 370.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1102/0.2009, allocations: 1.386 MB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2012, allocations: 13.17 kB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2012, allocations: 14.08 kB / 371.7 MB, free: 19.05 MB / 302.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.0001692/0.2014, allocations: 167.1 kB / 371.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.2014, allocations: 47.22 kB / 371.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.2015, allocations: 45.94 kB / 372 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2015, allocations: 4.344 kB / 372 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2015, allocations: 2.469 kB / 372 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004529/0.202, allocations: 0.6591 MB / 372.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.203, allocations: 0.8526 MB / 373.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.203, allocations: 4.969 kB / 373.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.2033, allocations: 79.5 kB / 373.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2033, allocations: 3.344 kB / 373.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2033, allocations: 11.95 kB / 373.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2033, allocations: 3.156 kB / 373.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2033, allocations: 10.28 kB / 373.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.204, allocations: 0.5399 MB / 374.1 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.2041, allocations: 137 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.2041, allocations: 12.64 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.2043, allocations: 16.66 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.2044, allocations: 27.7 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.2044, allocations: 14.58 kB / 374.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.2046, allocations: 245.4 kB / 374.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2046, allocations: 3.969 kB / 374.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.205, allocations: 96.73 kB / 374.7 MB, free: 17.69 MB / 302.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.001493/0.2065, allocations: 1.389 MB / 376.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.2071, allocations: 396.9 kB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2071, allocations: 1.125 kB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2073, allocations: 139.1 kB / 376.6 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.2078, allocations: 93.3 kB / 376.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.2113, allocations: 3.823 MB / 380.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2115, allocations: 0.8039 MB / 381.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.2117, allocations: 46.61 kB / 381.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2119, allocations: 132.6 kB / 381.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2119, allocations: 0 / 381.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.724/2.936, allocations: 9.084 MB / 390.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/2.936, allocations: 283.7 kB / 390.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/5.045, allocations: 0 / 390.8 MB, free: 10.33 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches