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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.305, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004791/0.3099, allocations: 3.014 MB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3127, allocations: 1.402 MB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.313, allocations: 7.938 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.3137, allocations: 139.2 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007892/0.3145, allocations: 218.7 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.315, allocations: 143.5 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006627/0.3157, allocations: 438.2 kB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.3159, allocations: 111.8 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.3163, allocations: 179.3 kB / 415.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.3167, allocations: 191.1 kB / 415.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.05e-05/0.3168, allocations: 28 kB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.317, allocations: 55.98 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3171, allocations: 87.69 kB / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.3174, allocations: 190.9 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.318, allocations: 447.6 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.318, allocations: 0 / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.318, allocations: 0 / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.318, allocations: 0 / 416.5 MB, free: 10.94 MB / 334.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.001244/0.3193, allocations: 0.6868 MB / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3193, allocations: 8.031 kB / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3195, allocations: 44.47 kB / 417.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.3201, allocations: 332.4 kB / 417.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.3201, allocations: 16.94 kB / 417.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.3202, allocations: 32.12 kB / 417.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.3207, allocations: 295.1 kB / 417.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.3207, allocations: 7.906 kB / 417.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3208, allocations: 12 kB / 417.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3208, allocations: 7.984 kB / 417.9 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.3211, allocations: 178.1 kB / 418.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3226, allocations: 0.8288 MB / 419 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.3231, allocations: 259.4 kB / 419.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3233, allocations: 105.4 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.3234, allocations: 4.281 kB / 419.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3237, allocations: 155.3 kB / 419.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.3237, allocations: 3.938 kB / 419.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002528/0.3262, allocations: 1.327 MB / 420.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3263, allocations: 187.9 kB / 421 MB, free: 6.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.3267, allocations: 332.5 kB / 421.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.3268, allocations: 33.7 kB / 421.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3269, allocations: 184.6 kB / 421.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3271, allocations: 145.9 kB / 421.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3272, allocations: 78.12 kB / 421.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3273, allocations: 346.8 kB / 422.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3275, allocations: 84.84 kB / 422.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3278, allocations: 185.3 kB / 422.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.3282, allocations: 246.2 kB / 422.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3282, allocations: 0 / 422.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006045/0.3288, allocations: 358.5 kB / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3289, allocations: 7.125 kB / 422.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3289, allocations: 0 / 422.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.329, allocations: 24.84 kB / 423 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.3294, allocations: 87.84 kB / 423 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3306, allocations: 1.386 MB / 424.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.3308, allocations: 27.86 kB / 424.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3308, allocations: 12.16 kB / 424.5 MB, free: 2.406 MB / 334.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.0002108/0.3311, allocations: 165.8 kB / 424.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.3311, allocations: 35.62 kB / 424.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3312, allocations: 43.95 kB / 424.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3312, allocations: 7.984 kB / 424.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3313, allocations: 7.938 kB / 424.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/0.3319, allocations: 0.6533 MB / 425.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3332, allocations: 0.8539 MB / 426.2 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3332, allocations: 4 kB / 426.2 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.3335, allocations: 79.89 kB / 426.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3336, allocations: 0 / 426.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3336, allocations: 8 kB / 426.3 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3336, allocations: 4 kB / 426.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3336, allocations: 128 / 426.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.3344, allocations: 0.554 MB / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3346, allocations: 136.7 kB / 427 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.3347, allocations: 11.94 kB / 427 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3349, allocations: 23.98 kB / 427 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.335, allocations: 23.97 kB / 427.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.335, allocations: 12 kB / 427.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.3352, allocations: 247 kB / 427.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3353, allocations: 0 / 427.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.3357, allocations: 100.5 kB / 427.4 MB, free: 15.21 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.0009956/0.3367, allocations: 420 kB / 427.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.3374, allocations: 362.5 kB / 428.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3374, allocations: 0 / 428.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.3376, allocations: 131.8 kB / 428.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.3382, allocations: 99.77 kB / 428.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.3401, allocations: 1.065 MB / 429.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.3405, allocations: 0.8079 MB / 430.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3406, allocations: 31.44 kB / 430.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3406, allocations: 0 / 430.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Templates: time 0.009752/0.3503, allocations: 5.827 MB / 436.1 MB, free: 6.566 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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