Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00155/0.00155, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001758/0.001758, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.92 kB / 374.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004313/0.107, allocations: 2.45 MB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.1078, allocations: 243.1 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.108, allocations: 7.938 kB / 430.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1082, allocations: 43.58 kB / 430.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1085, allocations: 87.2 kB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1087, allocations: 51.92 kB / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.1091, allocations: 290.7 kB / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1093, allocations: 73.7 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1095, allocations: 115.6 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1097, allocations: 119.5 kB / 430.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.1097, allocations: 20 kB / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.003e-05/0.1098, allocations: 24 kB / 431 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1098, allocations: 51.84 kB / 431 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.11, allocations: 135.3 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1103, allocations: 294.7 kB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1103, allocations: 0 / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1103, allocations: 7.938 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.1104, allocations: 4 kB / 431.4 MB, free: 284 kB / 350.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.2017/0.3121, allocations: 0.5362 MB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3121, allocations: 8.938 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.3122, allocations: 32.69 kB / 432 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.3125, allocations: 249.4 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3125, allocations: 19.38 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3126, allocations: 27.11 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.313, allocations: 238.9 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.313, allocations: 6.719 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3131, allocations: 17.47 kB / 432.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3131, allocations: 5.312 kB / 432.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3134, allocations: 164.2 kB / 432.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.3143, allocations: 0.7951 MB / 433.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.3148, allocations: 278.5 kB / 433.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.315, allocations: 118.5 kB / 433.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.315, allocations: 4.125 kB / 433.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.315, allocations: 38.41 kB / 434 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.315, allocations: 0 / 434 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002258/0.3173, allocations: 1.96 MB / 435.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3173, allocations: 111.2 kB / 436 MB, free: 8.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3174, allocations: 188.9 kB / 436.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3175, allocations: 30.92 kB / 436.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3175, allocations: 144.9 kB / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.3176, allocations: 168.4 kB / 436.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.3177, allocations: 72.64 kB / 436.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.3178, allocations: 342 kB / 437 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3179, allocations: 91.38 kB / 437 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.3181, allocations: 158.8 kB / 437.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.3184, allocations: 276.3 kB / 437.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3184, allocations: 0 / 437.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004648/0.3189, allocations: 342.7 kB / 437.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3189, allocations: 10.44 kB / 437.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3189, allocations: 2.938 kB / 437.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3189, allocations: 3.906 kB / 437.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3193, allocations: 99.83 kB / 437.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3193, allocations: 5.844 kB / 437.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3194, allocations: 6.531 kB / 437.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3194, allocations: 15 kB / 437.9 MB, free: 7.586 MB / 350.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 9.906e-05/0.3195, allocations: 149.7 kB / 438.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.3196, allocations: 37.11 kB / 438.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.57e-05/0.3196, allocations: 36.47 kB / 438.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3196, allocations: 4.844 kB / 438.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3197, allocations: 1.219 kB / 438.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3197, allocations: 8.859 kB / 438.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3209, allocations: 1.051 MB / 439.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3209, allocations: 2.281 kB / 439.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.3212, allocations: 88.7 kB / 439.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3212, allocations: 9.531 kB / 439.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.3212, allocations: 9.156 kB / 439.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.3213, allocations: 9.938 kB / 439.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3213, allocations: 10.25 kB / 439.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.3219, allocations: 0.7203 MB / 440.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3219, allocations: 108.6 kB / 440.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.322, allocations: 10.62 kB / 440.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3222, allocations: 11.31 kB / 440.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3222, allocations: 39.78 kB / 440.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3222, allocations: 12.73 kB / 440.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.194e-05/0.3223, allocations: 142.1 kB / 440.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3223, allocations: 1.125 kB / 440.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.3228, allocations: 75.56 kB / 440.5 MB, free: 5.848 MB / 350.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.000107/0.3229, allocations: 107.2 kB / 440.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.3233, allocations: 263.9 kB / 440.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3233, allocations: 0 / 440.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3235, allocations: 133.2 kB / 441 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.3242, allocations: 70.47 kB / 441 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3255, allocations: 0.946 MB / 442 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3257, allocations: 0.7718 MB / 442.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.3258, allocations: 29.81 kB / 442.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3258, allocations: 0 / 442.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of Templates: time 0.007234/0.3331, allocations: 3.513 MB / 446.3 MB, free: 3.84 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.41691689498839]