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.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.00162/0.00162, allocations: 104.5 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.001692/0.001692, 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.594/1.594, 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.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.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.001806/0.001806, allocations: 55.92 kB / 347.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3014, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003757/0.3051, allocations: 2.422 MB / 399.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005083/0.3056, allocations: 239.6 kB / 399.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3058, allocations: 9.625 kB / 399.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.306, allocations: 40.42 kB / 399.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3061, allocations: 85.25 kB / 399.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3063, allocations: 59.88 kB / 399.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.3066, allocations: 292.6 kB / 399.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.3068, allocations: 79.27 kB / 400 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.307, allocations: 114.8 kB / 400.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3072, allocations: 117.9 kB / 400.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.3073, allocations: 22.09 kB / 400.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.3073, allocations: 22.56 kB / 400.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.3074, allocations: 50.77 kB / 400.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3075, allocations: 134.1 kB / 400.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.308, allocations: 293.1 kB / 400.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.308, allocations: 1.828 kB / 400.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.308, allocations: 0 / 400.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.308, allocations: 0 / 400.7 MB, free: 6.988 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.0008258/0.3088, allocations: 487.1 kB / 401.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.3089, allocations: 13.17 kB / 401.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.007e-05/0.309, allocations: 32.58 kB / 401.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3093, allocations: 186.3 kB / 401.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3093, allocations: 18.94 kB / 401.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.3094, allocations: 24.73 kB / 401.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.3098, allocations: 246.8 kB / 401.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.3098, allocations: 11.75 kB / 401.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.3099, allocations: 9.344 kB / 401.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3099, allocations: 7 kB / 401.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.3102, allocations: 161.9 kB / 401.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3112, allocations: 0.7563 MB / 402.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.3117, allocations: 281.4 kB / 402.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.312, allocations: 123.7 kB / 403.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.312, allocations: 4 kB / 403.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.312, allocations: 37.59 kB / 403.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.323e-06/0.312, allocations: 0 / 403.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002505/0.3145, allocations: 1.503 MB / 404.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3146, allocations: 111.2 kB / 404.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.3148, allocations: 198.1 kB / 404.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3148, allocations: 31.55 kB / 404.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.3149, allocations: 148.5 kB / 405.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.315, allocations: 164.2 kB / 405.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3151, allocations: 74.83 kB / 405.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.3152, allocations: 337.8 kB / 405.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3153, allocations: 90.98 kB / 405.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3156, allocations: 166.6 kB / 405.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.316, allocations: 265.5 kB / 406.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.316, allocations: 4 kB / 406.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005283/0.3165, allocations: 349.5 kB / 406.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3165, allocations: 9.438 kB / 406.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3165, allocations: 1.469 kB / 406.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.3165, allocations: 4.578 kB / 406.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.3169, allocations: 99.17 kB / 406.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3169, allocations: 5.203 kB / 406.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.317, allocations: 6.281 kB / 406.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.317, allocations: 19.64 kB / 406.7 MB, free: 2.824 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.0001272/0.3172, allocations: 156.1 kB / 406.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.3172, allocations: 34.69 kB / 406.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.3173, allocations: 36.12 kB / 406.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3173, allocations: 5.562 kB / 406.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.3173, allocations: 1.062 kB / 406.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3174, allocations: 3.828 kB / 406.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3187, allocations: 1.016 MB / 407.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3187, allocations: 6.781 kB / 407.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.319, allocations: 88.14 kB / 408 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.319, allocations: 8.719 kB / 408 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.319, allocations: 9.5 kB / 408 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.319, allocations: 6.203 kB / 408 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3191, allocations: 11.14 kB / 408 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.3198, allocations: 0.7209 MB / 408.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3198, allocations: 35.36 kB / 408.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.3199, allocations: 11.38 kB / 408.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3201, allocations: 11.03 kB / 408.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.3202, allocations: 38.97 kB / 408.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3202, allocations: 14.66 kB / 408.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3203, allocations: 142.8 kB / 409 MB, free: 1.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3203, allocations: 0 / 409 MB, free: 1.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.3207, allocations: 72.22 kB / 409.1 MB, free: 1.191 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.0001323/0.3209, allocations: 111.3 kB / 409.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3213, allocations: 249 kB / 409.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3213, allocations: 0 / 409.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3216, allocations: 143.1 kB / 409.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.3222, allocations: 70.25 kB / 409.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3235, allocations: 0.9333 MB / 410.6 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3239, allocations: 0.771 MB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.324, allocations: 31.19 kB / 411.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.3241, allocations: 32.25 kB / 411.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3241, allocations: 0 / 411.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Templates: time 0.007604/0.3317, allocations: 3.267 MB / 414.7 MB, free: 14.37 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.715285025537014]