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.001911/0.001911, allocations: 112.2 kB / 21.94 MB, free: 12 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.002591/0.002591, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.599/1.599, allocations: 207.6 MB / 236 MB, free: 10.86 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.001837/0.001837, allocations: 55.92 kB / 348.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 49.15 MB / 397.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004054/0.3105, allocations: 2.419 MB / 400 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005226/0.311, allocations: 241 kB / 400.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3111, allocations: 7.688 kB / 400.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.3113, allocations: 45.28 kB / 400.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.3115, allocations: 80.38 kB / 400.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.3117, allocations: 52.64 kB / 400.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.312, allocations: 301.1 kB / 400.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3123, allocations: 75.14 kB / 400.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.3124, allocations: 113.7 kB / 400.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.3126, allocations: 126.8 kB / 401 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.3127, allocations: 21.59 kB / 401.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.466e-05/0.3127, allocations: 22.12 kB / 401.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.3128, allocations: 48.69 kB / 401.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.313, allocations: 136.4 kB / 401.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.3134, allocations: 286.6 kB / 401.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3134, allocations: 0 / 401.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3134, allocations: 4 kB / 401.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3134, allocations: 0.9062 kB / 401.5 MB, free: 7.016 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.0008779/0.3143, allocations: 479.5 kB / 402 MB, free: 6.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3144, allocations: 12.86 kB / 402 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.3145, allocations: 35.88 kB / 402.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.3148, allocations: 191.6 kB / 402.2 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3149, allocations: 18.34 kB / 402.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3149, allocations: 25.02 kB / 402.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.3154, allocations: 246.7 kB / 402.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.3154, allocations: 5.234 kB / 402.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.3155, allocations: 15.03 kB / 402.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3155, allocations: 7.188 kB / 402.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.3158, allocations: 161.3 kB / 402.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.3169, allocations: 0.7521 MB / 403.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.3174, allocations: 280.2 kB / 403.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.3177, allocations: 118.7 kB / 403.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3177, allocations: 7.406 kB / 403.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3177, allocations: 41.42 kB / 403.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.3177, allocations: 0 / 403.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002253/0.32, allocations: 1.515 MB / 405.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.32, allocations: 108.4 kB / 405.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3202, allocations: 190.6 kB / 405.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3202, allocations: 35.33 kB / 405.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.3202, allocations: 143.1 kB / 405.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.3203, allocations: 171.1 kB / 406 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.3204, allocations: 74.33 kB / 406.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.3205, allocations: 338.5 kB / 406.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3206, allocations: 90.58 kB / 406.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3208, allocations: 155.9 kB / 406.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.3212, allocations: 272.8 kB / 407 MB, free: 3.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3212, allocations: 0 / 407 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004642/0.3216, allocations: 344.2 kB / 407.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3217, allocations: 9.812 kB / 407.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3217, allocations: 6.344 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3217, allocations: 4.031 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.322, allocations: 92.2 kB / 407.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.322, allocations: 4.766 kB / 407.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3221, allocations: 10.59 kB / 407.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3222, allocations: 14.81 kB / 407.4 MB, free: 2.863 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.0001056/0.3223, allocations: 155.5 kB / 407.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.3223, allocations: 31.03 kB / 407.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.3224, allocations: 48.89 kB / 407.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3224, allocations: 5.5 kB / 407.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3224, allocations: 5.125 kB / 407.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3224, allocations: 4.141 kB / 407.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.3237, allocations: 1.021 MB / 408.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3237, allocations: 2.875 kB / 408.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.324, allocations: 88.45 kB / 408.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.324, allocations: 8.062 kB / 408.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.3241, allocations: 17.88 kB / 408.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.3241, allocations: 10.89 kB / 408.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3241, allocations: 6.688 kB / 408.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.3247, allocations: 0.7167 MB / 409.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3248, allocations: 30.83 kB / 409.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.3248, allocations: 15.25 kB / 409.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.325, allocations: 8.156 kB / 409.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.3251, allocations: 41.62 kB / 409.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3251, allocations: 15.44 kB / 409.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.3252, allocations: 138.3 kB / 409.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3252, allocations: 1.469 kB / 409.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.3256, allocations: 70.75 kB / 409.9 MB, free: 1.219 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.0001076/0.3257, allocations: 116.8 kB / 410 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.3262, allocations: 250.9 kB / 410.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3262, allocations: 1.812 kB / 410.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3264, allocations: 133.4 kB / 410.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.3271, allocations: 67.75 kB / 410.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3285, allocations: 0.9525 MB / 411.4 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.3289, allocations: 0.7726 MB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.329, allocations: 33.5 kB / 412.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.329, allocations: 3.938 kB / 412.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of Templates: time 0.00682/0.3358, allocations: 3.483 MB / 415.7 MB, free: 14.15 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.501617349917069]