Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.001892/0.001892, allocations: 106 kB / 21.18 MB, free: 0.6992 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.002549/0.002549, allocations: 179.9 kB / 24.46 MB, free: 4.062 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.525/1.525, 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [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.001872/0.001872, allocations: 55.92 kB / 347.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.294, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003699/0.2977, allocations: 2.418 MB / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.2987, allocations: 0.6289 MB / 399.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2989, allocations: 8 kB / 399.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.299, allocations: 37.88 kB / 399.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2991, allocations: 73.52 kB / 400 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2994, allocations: 58.17 kB / 400 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.2997, allocations: 263.4 kB / 400.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2999, allocations: 75 kB / 400.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3, allocations: 103.3 kB / 400.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.3002, allocations: 109.8 kB / 400.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.3002, allocations: 19.62 kB / 400.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.3003, allocations: 19.97 kB / 400.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.3003, allocations: 45.97 kB / 400.6 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.3004, allocations: 122.4 kB / 400.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.3007, allocations: 248.7 kB / 401 MB, free: 6.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3007, allocations: 1.641 kB / 401 MB, free: 6.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3007, allocations: 0 / 401 MB, free: 6.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3007, allocations: 0 / 401 MB, free: 6.789 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007521/0.3015, allocations: 454.5 kB / 401.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3015, allocations: 17.73 kB / 401.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.3016, allocations: 29.39 kB / 401.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.3018, allocations: 183.5 kB / 401.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3019, allocations: 12.91 kB / 401.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.3019, allocations: 30.3 kB / 401.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.3023, allocations: 217.1 kB / 401.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3023, allocations: 5.141 kB / 401.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3024, allocations: 13.73 kB / 401.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3024, allocations: 5.812 kB / 402 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.3027, allocations: 146.2 kB / 402.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3038, allocations: 0.7426 MB / 402.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.3042, allocations: 187.6 kB / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.3044, allocations: 95.03 kB / 403.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3045, allocations: 9.703 kB / 403.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3045, allocations: 36.28 kB / 403.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.3045, allocations: 0 / 403.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001537/0.306, allocations: 0.7163 MB / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3061, allocations: 85.72 kB / 404 MB, free: 4.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3062, allocations: 181.7 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3062, allocations: 26.8 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.3063, allocations: 141.7 kB / 404.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.3064, allocations: 98.48 kB / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.3064, allocations: 47.14 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.3065, allocations: 335.3 kB / 404.8 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3066, allocations: 64.28 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3068, allocations: 106.7 kB / 404.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.3071, allocations: 192.9 kB / 405.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3071, allocations: 0 / 405.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004025/0.3075, allocations: 249.2 kB / 405.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3075, allocations: 5.531 kB / 405.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3075, allocations: 5.125 kB / 405.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3075, allocations: 3.094 kB / 405.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3078, allocations: 60.09 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3078, allocations: 3.188 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3079, allocations: 10.83 kB / 405.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3079, allocations: 11.22 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.95e-05/0.308, allocations: 140 kB / 405.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.3081, allocations: 23.14 kB / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.3082, allocations: 31.62 kB / 405.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3082, allocations: 7.312 kB / 405.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3082, allocations: 5.25 kB / 405.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3082, allocations: 1.453 kB / 405.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.3089, allocations: 0.5522 MB / 406.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3089, allocations: 5.375 kB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.3092, allocations: 61.7 kB / 406.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3092, allocations: 1.969 kB / 406.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3092, allocations: 7.156 kB / 406.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3092, allocations: 3.594 kB / 406.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3092, allocations: 6.328 kB / 406.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.3098, allocations: 0.491 MB / 406.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.3098, allocations: 20.03 kB / 406.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3099, allocations: 7.359 kB / 406.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.31, allocations: 10 kB / 406.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.3101, allocations: 23.3 kB / 406.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3101, allocations: 11.53 kB / 406.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.3102, allocations: 130.7 kB / 407 MB, free: 2.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3102, allocations: 1.375 kB / 407 MB, free: 2.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.3106, allocations: 45.25 kB / 407 MB, free: 2.602 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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 9.588e-05/0.3107, allocations: 103.5 kB / 407.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.3111, allocations: 171.9 kB / 407.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3111, allocations: 0 / 407.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.3112, allocations: 91.52 kB / 407.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.3117, allocations: 45.56 kB / 407.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3129, allocations: 0.6947 MB / 408.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3132, allocations: 0.7493 MB / 408.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.3133, allocations: 27.64 kB / 408.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.3133, allocations: 21.28 kB / 408.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3133, allocations: 0 / 408.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of Templates: time 0.006044/0.3194, allocations: 2.21 MB / 411.1 MB, free: 0.6602 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.666323179379106]