Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 194.8 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 54.11 kB / 345.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3083, allocations: 49.13 MB / 394.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00386/0.3122, allocations: 2.996 MB / 397.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3139, allocations: 1.201 MB / 399.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.3141, allocations: 4.625 kB / 399.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.3146, allocations: 169.6 kB / 399.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.315, allocations: 190.9 kB / 399.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3154, allocations: 143.6 kB / 399.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.3159, allocations: 443.1 kB / 400 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.316, allocations: 80.62 kB / 400.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.3162, allocations: 186.2 kB / 400.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.3165, allocations: 196.4 kB / 400.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.3166, allocations: 28.28 kB / 400.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3167, allocations: 72.28 kB / 400.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3168, allocations: 86.86 kB / 400.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.317, allocations: 190.2 kB / 400.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.3175, allocations: 462 kB / 401.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3175, allocations: 4.594 kB / 401.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3175, allocations: 1.344 kB / 401.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3176, allocations: 0 / 401.3 MB, free: 5.398 MB / 318.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.0009646/0.3185, allocations: 0.697 MB / 402 MB, free: 4.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3186, allocations: 10.41 kB / 402 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.3187, allocations: 48.19 kB / 402.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.3191, allocations: 330.1 kB / 402.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3191, allocations: 19.25 kB / 402.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.3192, allocations: 33.78 kB / 402.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.3196, allocations: 295.6 kB / 402.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3196, allocations: 1.828 kB / 402.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3197, allocations: 11.31 kB / 402.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3197, allocations: 6.344 kB / 402.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.32, allocations: 179.7 kB / 402.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3211, allocations: 0.8367 MB / 403.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.3216, allocations: 243.1 kB / 404 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3218, allocations: 94.81 kB / 404.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.3218, allocations: 9.375 kB / 404.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.3221, allocations: 161.1 kB / 404.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.634e-06/0.3221, allocations: 0 / 404.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00209/0.3242, allocations: 1.328 MB / 405.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3242, allocations: 184.5 kB / 405.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.3246, allocations: 356.6 kB / 406.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3246, allocations: 31.52 kB / 406.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.3247, allocations: 190.4 kB / 406.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.3248, allocations: 148.2 kB / 406.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.3249, allocations: 73.31 kB / 406.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.3249, allocations: 349 kB / 406.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3251, allocations: 86.66 kB / 407 MB, free: 1.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.3253, allocations: 182.4 kB / 407.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.3256, allocations: 248.6 kB / 407.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3256, allocations: 0 / 407.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005205/0.3262, allocations: 365.2 kB / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3262, allocations: 4.969 kB / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3262, allocations: 2.344 kB / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.219e-05/0.3263, allocations: 19.81 kB / 407.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.3266, allocations: 94.31 kB / 407.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009672/0.3276, allocations: 1.392 MB / 409.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3278, allocations: 19.91 kB / 409.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3278, allocations: 13.12 kB / 409.3 MB, free: 15.52 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.0002156/0.328, allocations: 175.9 kB / 409.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.3281, allocations: 40.72 kB / 409.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.3287, allocations: 334.2 kB / 409.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3287, allocations: 9.406 kB / 409.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3287, allocations: 4.594 kB / 409.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000696/0.3294, allocations: 0.6607 MB / 410.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3307, allocations: 0.8398 MB / 411.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3307, allocations: 1.625 kB / 411.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.331, allocations: 81.53 kB / 411.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.331, allocations: 2.531 kB / 411.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.331, allocations: 8.484 kB / 411.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.331, allocations: 7.422 kB / 411.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.331, allocations: 1.312 kB / 411.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.3319, allocations: 0.552 MB / 412 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.3321, allocations: 139.5 kB / 412.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3321, allocations: 13.39 kB / 412.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.3324, allocations: 18.2 kB / 412.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.3325, allocations: 23.44 kB / 412.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.3325, allocations: 15.8 kB / 412.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.3328, allocations: 259 kB / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3328, allocations: 0 / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.3332, allocations: 99.8 kB / 412.6 MB, free: 13.36 MB / 334.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.001565/0.3348, allocations: 422 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.3355, allocations: 357.1 kB / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.3355, allocations: 5.406 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.3358, allocations: 127.6 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.3364, allocations: 99.8 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3381, allocations: 1.081 MB / 414.6 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.3386, allocations: 0.7996 MB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.3387, allocations: 40.03 kB / 415.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3387, allocations: 4 kB / 415.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of Templates: time 0.009261/0.348, allocations: 5.77 MB / 421.2 MB, free: 8.289 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches