Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.002027/0.002027, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002536/0.002536, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 55.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.285, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003925/0.2889, allocations: 2.306 MB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2903, allocations: 0.631 MB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.2904, allocations: 7.938 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.2906, allocations: 39.58 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.2908, allocations: 71.34 kB / 434.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2912, allocations: 75.91 kB / 434.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.2916, allocations: 254.8 kB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.2918, allocations: 65.64 kB / 435 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.292, allocations: 107.6 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.2922, allocations: 99.47 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2922, allocations: 20 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.2923, allocations: 24 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.2924, allocations: 51.83 kB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2925, allocations: 99.53 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.2928, allocations: 261.1 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2928, allocations: 4 kB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2928, allocations: 0 / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2928, allocations: 0 / 435.7 MB, free: 2.621 MB / 334.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.0008236/0.2936, allocations: 473.5 kB / 436.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2937, allocations: 8.031 kB / 436.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.2939, allocations: 44.73 kB / 436.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2942, allocations: 187 kB / 436.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2943, allocations: 16.81 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.2943, allocations: 28.27 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.2947, allocations: 217.3 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2948, allocations: 0 / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.2948, allocations: 8 kB / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2948, allocations: 7.938 kB / 436.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.2951, allocations: 150.3 kB / 436.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2963, allocations: 0.6736 MB / 437.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.2967, allocations: 189 kB / 437.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.297, allocations: 89.67 kB / 437.7 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.297, allocations: 8 kB / 437.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.297, allocations: 38.56 kB / 437.8 MB, free: 380 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.297, allocations: 0 / 437.8 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001628/0.2987, allocations: 0.7163 MB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.2987, allocations: 81.11 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2989, allocations: 171.3 kB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2989, allocations: 29.7 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.299, allocations: 144.4 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.2991, allocations: 99.31 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.2992, allocations: 49.7 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2994, allocations: 330.8 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2995, allocations: 63.97 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2997, allocations: 109.3 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.3001, allocations: 184.2 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3001, allocations: 0 / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004628/0.3005, allocations: 248 kB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3006, allocations: 4 kB / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3006, allocations: 4 kB / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3006, allocations: 4 kB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3008, allocations: 68 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3009, allocations: 7.984 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.301, allocations: 11.94 kB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.301, allocations: 8.391 kB / 440.1 MB, free: 13.93 MB / 350.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 0.0001366/0.3011, allocations: 133.8 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.3012, allocations: 27.8 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.3013, allocations: 29.8 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3013, allocations: 4 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3013, allocations: 3.938 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3013, allocations: 4 kB / 440.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.3021, allocations: 0.4886 MB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3021, allocations: 3.938 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.3024, allocations: 59.91 kB / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3024, allocations: 0 / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3024, allocations: 8 kB / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3024, allocations: 3.984 kB / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3024, allocations: 12.03 kB / 440.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.3032, allocations: 491.3 kB / 441.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3032, allocations: 23.86 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3032, allocations: 0 / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.3034, allocations: 12.03 kB / 441.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.3035, allocations: 27.94 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3035, allocations: 8 kB / 441.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3036, allocations: 123.2 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3036, allocations: 4 kB / 441.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3039, allocations: 52 kB / 441.6 MB, free: 12.35 MB / 350.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 0.0001331/0.3041, allocations: 103.2 kB / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.3045, allocations: 175.7 kB / 441.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3045, allocations: 0 / 441.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3047, allocations: 92.2 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.3052, allocations: 42.64 kB / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3065, allocations: 0.696 MB / 442.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3066, allocations: 129.9 kB / 442.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.3067, allocations: 25.94 kB / 442.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.3068, allocations: 19.44 kB / 442.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3068, allocations: 0 / 442.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Templates: time 0.006215/0.313, allocations: 2.231 MB / 445.1 MB, free: 8.805 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.581996828317642]