Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 75.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.286, allocations: 53.32 MB / 432 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00383/0.2899, allocations: 2.462 MB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2911, allocations: 0.6622 MB / 435.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2912, allocations: 11.94 kB / 435.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2913, allocations: 39.59 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2915, allocations: 63.41 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2917, allocations: 79.83 kB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.2921, allocations: 258.8 kB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2922, allocations: 65.36 kB / 435.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.2924, allocations: 119.6 kB / 435.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.2926, allocations: 107.5 kB / 435.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.2926, allocations: 20 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.2927, allocations: 23.98 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.2927, allocations: 51.83 kB / 436 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2929, allocations: 119.4 kB / 436.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.2932, allocations: 256.4 kB / 436.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2932, allocations: 4 kB / 436.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2932, allocations: 0 / 436.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2932, allocations: 0 / 436.4 MB, free: 3.086 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.0008629/0.2941, allocations: 0.5338 MB / 436.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2941, allocations: 8.031 kB / 436.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.2943, allocations: 44.73 kB / 436.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.2947, allocations: 248.5 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2947, allocations: 16.81 kB / 437.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.2947, allocations: 24.33 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.2951, allocations: 217.3 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2952, allocations: 4 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2952, allocations: 4 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2952, allocations: 4 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.2955, allocations: 155.8 kB / 437.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2967, allocations: 0.7911 MB / 438.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.2971, allocations: 189 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.2973, allocations: 93.67 kB / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2974, allocations: 8.141 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.2974, allocations: 42.69 kB / 438.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.2974, allocations: 0 / 438.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001538/0.2989, allocations: 0.8678 MB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.299, allocations: 93.03 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2992, allocations: 183.2 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.2992, allocations: 33.64 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.2993, allocations: 140.6 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.831e-05/0.2994, allocations: 103 kB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.2995, allocations: 49.7 kB / 440.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2996, allocations: 330.8 kB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2998, allocations: 67.97 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3, allocations: 108.2 kB / 440.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.3003, allocations: 191.8 kB / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3003, allocations: 0 / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004445/0.3007, allocations: 245.2 kB / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3008, allocations: 8 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3008, allocations: 0 / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3008, allocations: 4 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.301, allocations: 63.91 kB / 441.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.301, allocations: 4.094 kB / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3012, allocations: 15.98 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3012, allocations: 8 kB / 441.2 MB, free: 13.87 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.0001344/0.3013, allocations: 141.7 kB / 441.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.3014, allocations: 19.86 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3014, allocations: 33.86 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3014, allocations: 0 / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3014, allocations: 4 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3014, allocations: 4 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/0.3023, allocations: 0.5826 MB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3023, allocations: 4 kB / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3026, allocations: 55.91 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3026, allocations: 0 / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3026, allocations: 12.09 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3026, allocations: 4 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3026, allocations: 7.922 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.3033, allocations: 489 kB / 442.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.3034, allocations: 96.95 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3034, allocations: 8 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3036, allocations: 15.97 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3036, allocations: 19.86 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3036, allocations: 12.09 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3038, allocations: 136.2 kB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3038, allocations: 7.938 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.3041, allocations: 52 kB / 442.9 MB, free: 12.07 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.0001187/0.3042, allocations: 99.25 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.3046, allocations: 168.4 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3046, allocations: 0 / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3048, allocations: 100.1 kB / 443.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.3052, allocations: 35.97 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3064, allocations: 0.701 MB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.3068, allocations: 0.748 MB / 444.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.3069, allocations: 17.94 kB / 444.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.3069, allocations: 27.44 kB / 444.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3069, allocations: 0 / 444.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Templates: time 0.005499/0.3124, allocations: 2.132 MB / 446.9 MB, free: 7.988 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.478193081915379]