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.00183/0.00183, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002872/0.002872, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.587/1.587, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001879/0.001879, allocations: 58.58 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3178, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004287/0.3221, allocations: 2.246 MB / 399.1 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.3228, allocations: 242 kB / 399.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3229, allocations: 7.75 kB / 399.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.3232, allocations: 40.5 kB / 399.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.3234, allocations: 81.12 kB / 399.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3237, allocations: 63.67 kB / 399.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.3241, allocations: 289.3 kB / 399.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.3243, allocations: 63.19 kB / 399.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3244, allocations: 117.5 kB / 400 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.3246, allocations: 106.8 kB / 400.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.3247, allocations: 21.41 kB / 400.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.3247, allocations: 22.91 kB / 400.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.3248, allocations: 48.5 kB / 400.2 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.3249, allocations: 113.4 kB / 400.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.3253, allocations: 293.1 kB / 400.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3253, allocations: 0 / 400.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3253, allocations: 4 kB / 400.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3253, allocations: 5.406 kB / 400.6 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.0006941/0.326, allocations: 478.9 kB / 401 MB, free: 6.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.326, allocations: 13.92 kB / 401 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.3261, allocations: 31.8 kB / 401.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3263, allocations: 189.3 kB / 401.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3264, allocations: 18.59 kB / 401.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.3264, allocations: 25.45 kB / 401.3 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.3268, allocations: 243.6 kB / 401.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.3269, allocations: 7.141 kB / 401.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3269, allocations: 14.22 kB / 401.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3269, allocations: 5.438 kB / 401.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.3272, allocations: 159.8 kB / 401.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3283, allocations: 0.6724 MB / 402.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.3289, allocations: 278.6 kB / 402.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.3291, allocations: 117.2 kB / 402.8 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3291, allocations: 8.625 kB / 402.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3292, allocations: 37.97 kB / 402.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/0.3292, allocations: 0 / 402.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002255/0.3314, allocations: 1.511 MB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3315, allocations: 109.3 kB / 404.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3316, allocations: 163.1 kB / 404.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3316, allocations: 36.42 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.3317, allocations: 146.5 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.3318, allocations: 172.8 kB / 405 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.3318, allocations: 72.59 kB / 405 MB, free: 3.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.3319, allocations: 337.1 kB / 405.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.332, allocations: 89.69 kB / 405.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.3322, allocations: 157.4 kB / 405.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.3326, allocations: 265 kB / 405.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3326, allocations: 1.688 kB / 405.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004459/0.333, allocations: 348 kB / 406.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.333, allocations: 6.109 kB / 406.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.333, allocations: 6.781 kB / 406.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3331, allocations: 10.69 kB / 406.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.3334, allocations: 92.55 kB / 406.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.3334, allocations: 8.578 kB / 406.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.3335, allocations: 10.75 kB / 406.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3335, allocations: 15.52 kB / 406.3 MB, free: 3.004 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.0001093/0.3336, allocations: 144.4 kB / 406.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.3337, allocations: 29.56 kB / 406.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.3338, allocations: 40.22 kB / 406.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3338, allocations: 5.5 kB / 406.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3338, allocations: 5.891 kB / 406.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.3338, allocations: 2.062 kB / 406.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3351, allocations: 0.9439 MB / 407.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3351, allocations: 3.156 kB / 407.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.3355, allocations: 88.14 kB / 407.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.3355, allocations: 4.188 kB / 407.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.3355, allocations: 15.02 kB / 407.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.3355, allocations: 12.77 kB / 407.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3355, allocations: 3.844 kB / 407.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.3363, allocations: 0.7182 MB / 408.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3364, allocations: 25.72 kB / 408.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3364, allocations: 23.75 kB / 408.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3366, allocations: 6.906 kB / 408.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.3367, allocations: 38.17 kB / 408.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3367, allocations: 16.53 kB / 408.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.016e-05/0.3368, allocations: 124.1 kB / 408.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3368, allocations: 0 / 408.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.3373, allocations: 72.28 kB / 408.7 MB, free: 1.438 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.0001199/0.3374, allocations: 115.2 kB / 408.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.3378, allocations: 260.8 kB / 409 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3378, allocations: 192 / 409 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.338, allocations: 141.6 kB / 409.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.3387, allocations: 66.78 kB / 409.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3401, allocations: 0.9193 MB / 410.1 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.3403, allocations: 160.3 kB / 410.3 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3404, allocations: 37.33 kB / 410.3 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.3405, allocations: 27.09 kB / 410.4 MB, free: 372 kB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3405, allocations: 0 / 410.4 MB, free: 372 kB / 318.1 MB Notification: Performance of Templates: time 0.00796/0.3484, allocations: 3.234 MB / 413.6 MB, free: 15.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/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: 4.815720392391086]