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.001923/0.001923, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002405/0.002405, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001702/0.001702, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2883, allocations: 53.35 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004144/0.2925, allocations: 2.469 MB / 434.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2938, allocations: 0.6738 MB / 434.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2939, allocations: 7.938 kB / 434.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2941, allocations: 35.59 kB / 434.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2942, allocations: 67.36 kB / 434.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2945, allocations: 79.89 kB / 434.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.2948, allocations: 258.8 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.295, allocations: 73.62 kB / 435.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2952, allocations: 107.6 kB / 435.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2954, allocations: 111.5 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.2954, allocations: 20 kB / 435.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.2955, allocations: 24 kB / 435.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.2956, allocations: 47.84 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2957, allocations: 115.4 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.296, allocations: 272.1 kB / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.296, allocations: 0 / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.296, allocations: 0 / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.296, allocations: 0 / 435.9 MB, free: 2.602 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.0008041/0.2968, allocations: 465.5 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2969, allocations: 12.03 kB / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.2971, allocations: 52.72 kB / 436.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.2975, allocations: 179 kB / 436.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2975, allocations: 16.81 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.2975, allocations: 28.33 kB / 436.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.298, allocations: 217.3 kB / 436.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.298, allocations: 7.938 kB / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.298, allocations: 8 kB / 436.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.298, allocations: 4 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.2984, allocations: 147.9 kB / 437.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.2996, allocations: 0.7433 MB / 437.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.3001, allocations: 189 kB / 438 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.3003, allocations: 101.7 kB / 438.1 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3003, allocations: 4 kB / 438.1 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3004, allocations: 38.62 kB / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3004, allocations: 0 / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001714/0.3021, allocations: 0.7264 MB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/0.3022, allocations: 89.05 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3024, allocations: 183.8 kB / 439.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3024, allocations: 25.7 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3025, allocations: 144.5 kB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.3026, allocations: 95.12 kB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.3027, allocations: 53.7 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3029, allocations: 334.8 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.303, allocations: 59.97 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3032, allocations: 100.2 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.3036, allocations: 203.6 kB / 440.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3036, allocations: 0 / 440.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004635/0.3041, allocations: 241.3 kB / 440.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3041, allocations: 12.08 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3041, allocations: 4 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3041, allocations: 8 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3044, allocations: 63.91 kB / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.3044, allocations: 0 / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.3045, allocations: 12 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3045, allocations: 4 kB / 440.4 MB, free: 13.8 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.0001438/0.3047, allocations: 146.2 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.3048, allocations: 19.86 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3048, allocations: 33.81 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3048, allocations: 0 / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3048, allocations: 0 / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3048, allocations: 7.984 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.3058, allocations: 0.5582 MB / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3058, allocations: 4.094 kB / 441.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.3061, allocations: 55.91 kB / 441.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3061, allocations: 4 kB / 441.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.3062, allocations: 8 kB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.475e-06/0.3062, allocations: 3.938 kB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/0.3062, allocations: 11.92 kB / 441.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.3069, allocations: 489 kB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.307, allocations: 19.91 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.307, allocations: 4 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3072, allocations: 12.03 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.3073, allocations: 31.84 kB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3073, allocations: 4 kB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3074, allocations: 136.5 kB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3074, allocations: 0 / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.3078, allocations: 48 kB / 442 MB, free: 12.13 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.0001446/0.3079, allocations: 103.2 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.3084, allocations: 179.8 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3084, allocations: 3.938 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3085, allocations: 90.52 kB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.3091, allocations: 49.12 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3104, allocations: 0.677 MB / 443.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.3109, allocations: 0.7519 MB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.311, allocations: 21.94 kB / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.3111, allocations: 31.42 kB / 443.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3111, allocations: 0 / 443.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.006362/0.3175, allocations: 2.194 MB / 446.1 MB, free: 7.984 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.617272601928562]