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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 104.8 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.001738/0.001738, allocations: 55.92 kB / 347.6 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3184, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004324/0.3227, allocations: 3.012 MB / 399.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3249, allocations: 1.217 MB / 401 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.3251, allocations: 7.844 kB / 401 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.3257, allocations: 162 kB / 401.2 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.3262, allocations: 186.3 kB / 401.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3266, allocations: 155.5 kB / 401.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.3272, allocations: 439.4 kB / 402 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3274, allocations: 79.39 kB / 402 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.3277, allocations: 188.7 kB / 402.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.328, allocations: 205.1 kB / 402.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.328, allocations: 32.28 kB / 402.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.3282, allocations: 68.55 kB / 402.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3283, allocations: 86.19 kB / 402.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.3285, allocations: 186.5 kB / 402.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.3291, allocations: 458 kB / 403.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3291, allocations: 5.031 kB / 403.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3291, allocations: 0 / 403.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.3291, allocations: 0 / 403.2 MB, free: 5.504 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.000976/0.3301, allocations: 0.6223 MB / 403.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3302, allocations: 14.14 kB / 403.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3303, allocations: 50.14 kB / 403.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3306, allocations: 267.5 kB / 404.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.3307, allocations: 19.31 kB / 404.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.3307, allocations: 33.44 kB / 404.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.3313, allocations: 286.1 kB / 404.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3313, allocations: 2.094 kB / 404.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.3313, allocations: 12.22 kB / 404.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3313, allocations: 5.156 kB / 404.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.3316, allocations: 180.2 kB / 404.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3329, allocations: 0.8116 MB / 405.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.3334, allocations: 245.4 kB / 405.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.3336, allocations: 95.59 kB / 405.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.3336, allocations: 4.578 kB / 405.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.3339, allocations: 166.8 kB / 406 MB, free: 3.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.3339, allocations: 2.125 kB / 406 MB, free: 3.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002101/0.336, allocations: 1.086 MB / 407.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3361, allocations: 190.2 kB / 407.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.3365, allocations: 347.1 kB / 407.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3365, allocations: 40.77 kB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3366, allocations: 191.4 kB / 407.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.3367, allocations: 146.4 kB / 408 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.3368, allocations: 73.72 kB / 408.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.3368, allocations: 348.1 kB / 408.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.337, allocations: 86.8 kB / 408.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3373, allocations: 187.5 kB / 408.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.3376, allocations: 243.8 kB / 408.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3376, allocations: 4 kB / 408.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005141/0.3381, allocations: 357.8 kB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3382, allocations: 5.516 kB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3382, allocations: 1.594 kB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-05/0.3382, allocations: 20.41 kB / 409.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3386, allocations: 89.86 kB / 409.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/0.3394, allocations: 1.293 MB / 410.7 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3396, allocations: 19.88 kB / 410.7 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3396, allocations: 13.59 kB / 410.7 MB, free: 236 kB / 318.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.0001618/0.3398, allocations: 163.2 kB / 410.9 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.3398, allocations: 43.98 kB / 410.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.3405, allocations: 340.7 kB / 411.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3405, allocations: 3.344 kB / 411.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3405, allocations: 9.859 kB / 411.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007217/0.3412, allocations: 0.6584 MB / 411.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.3426, allocations: 0.8181 MB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3426, allocations: 1.344 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.3429, allocations: 73.14 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3429, allocations: 6.656 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.343, allocations: 17.84 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.343, allocations: 1.688 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.343, allocations: 1.984 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.344, allocations: 0.5578 MB / 413.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3441, allocations: 57.8 kB / 413.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.3442, allocations: 12.94 kB / 413.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.3444, allocations: 14.14 kB / 413.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3445, allocations: 26.3 kB / 413.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.3446, allocations: 15.2 kB / 413.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.345, allocations: 258.4 kB / 413.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.345, allocations: 7.938 kB / 413.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005217/0.3455, allocations: 95.91 kB / 413.9 MB, free: 14.2 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.001665/0.3472, allocations: 422.8 kB / 414.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006945/0.3479, allocations: 367.6 kB / 414.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3479, allocations: 0 / 414.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3481, allocations: 134.4 kB / 414.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.3487, allocations: 97.14 kB / 414.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3505, allocations: 1.036 MB / 415.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.351, allocations: 0.8079 MB / 416.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.3511, allocations: 47.94 kB / 416.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.3512, allocations: 37.2 kB / 416.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3512, allocations: 0 / 416.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Templates: time 0.01264/0.3639, allocations: 5.548 MB / 422.4 MB, free: 9.082 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.87688553147018]