Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 102.1 kB / 21.93 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 203.2 kB / 25.22 MB, free: 3.141 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.614/1.614, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 58.84 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.337, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003924/0.341, allocations: 2.25 MB / 399.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005396/0.3415, allocations: 242.6 kB / 400.1 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3416, allocations: 7.062 kB / 400.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.3418, allocations: 40.58 kB / 400.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3419, allocations: 85.34 kB / 400.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.3421, allocations: 63.25 kB / 400.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.3424, allocations: 284.7 kB / 400.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.3426, allocations: 68.5 kB / 400.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3428, allocations: 113.7 kB / 400.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.343, allocations: 107.2 kB / 400.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.343, allocations: 21.19 kB / 400.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.3431, allocations: 26.97 kB / 400.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.3431, allocations: 46.89 kB / 400.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3432, allocations: 110.4 kB / 401 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.3437, allocations: 297.1 kB / 401.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3437, allocations: 0 / 401.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.3437, allocations: 5.125 kB / 401.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3437, allocations: 0 / 401.3 MB, free: 7.082 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007433/0.3444, allocations: 483.9 kB / 401.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3445, allocations: 13.39 kB / 401.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.3445, allocations: 31.19 kB / 401.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.3449, allocations: 191.5 kB / 402 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3449, allocations: 18.28 kB / 402 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.345, allocations: 24.72 kB / 402.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.3454, allocations: 244.7 kB / 402.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3454, allocations: 6.359 kB / 402.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3454, allocations: 13.12 kB / 402.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3454, allocations: 6.281 kB / 402.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.3457, allocations: 159.6 kB / 402.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.3466, allocations: 0.6716 MB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.3472, allocations: 272.1 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3474, allocations: 116.5 kB / 403.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3475, allocations: 8.25 kB / 403.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3475, allocations: 34.92 kB / 403.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.3475, allocations: 0 / 403.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002379/0.3499, allocations: 1.516 MB / 405.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3499, allocations: 108.9 kB / 405.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.35, allocations: 163.6 kB / 405.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3501, allocations: 32.39 kB / 405.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.3501, allocations: 150.5 kB / 405.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.3502, allocations: 171.2 kB / 405.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/0.3503, allocations: 72.67 kB / 405.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3504, allocations: 336.9 kB / 406.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3506, allocations: 91.42 kB / 406.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3508, allocations: 156.6 kB / 406.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.3511, allocations: 266.6 kB / 406.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3511, allocations: 1.344 kB / 406.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004566/0.3516, allocations: 346.8 kB / 407 MB, free: 3.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3516, allocations: 6.234 kB / 407 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3516, allocations: 10.25 kB / 407 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3516, allocations: 7.344 kB / 407 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.352, allocations: 93.22 kB / 407.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.352, allocations: 7.875 kB / 407.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3521, allocations: 11.62 kB / 407.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3521, allocations: 14.62 kB / 407.1 MB, free: 3.008 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.3522, allocations: 144.3 kB / 407.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.3523, allocations: 30.12 kB / 407.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.3524, allocations: 38.91 kB / 407.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3524, allocations: 6.375 kB / 407.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3524, allocations: 5.875 kB / 407.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3524, allocations: 1.875 kB / 407.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3536, allocations: 0.9429 MB / 408.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.3536, allocations: 4.125 kB / 408.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.3539, allocations: 93.12 kB / 408.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3539, allocations: 4.125 kB / 408.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.354, allocations: 14.25 kB / 408.4 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.354, allocations: 12.75 kB / 408.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.354, allocations: 4.125 kB / 408.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.3547, allocations: 0.717 MB / 409.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.3547, allocations: 26.56 kB / 409.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3547, allocations: 18.98 kB / 409.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3549, allocations: 8.25 kB / 409.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.355, allocations: 38.03 kB / 409.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.355, allocations: 15.59 kB / 409.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.059e-05/0.3551, allocations: 125 kB / 409.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3551, allocations: 0 / 409.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.3555, allocations: 71.31 kB / 409.4 MB, free: 1.441 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001384/0.3557, allocations: 116 kB / 409.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.3562, allocations: 260.5 kB / 409.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3562, allocations: 192 / 409.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3564, allocations: 137.8 kB / 409.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.3571, allocations: 66.98 kB / 410 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3584, allocations: 0.9465 MB / 410.9 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3586, allocations: 161.5 kB / 411.1 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.3587, allocations: 28.03 kB / 411.1 MB, free: 364 kB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3587, allocations: 0 / 411.1 MB, free: 364 kB / 318.1 MB Notification: Performance of Templates: time 0.007092/0.3658, allocations: 3.535 MB / 414.6 MB, free: 15.01 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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: 7.694300664123148]