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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 101 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007797/0.0007798, allocations: 48.06 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.208, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003196/0.2112, allocations: 2.453 MB / 376.3 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.2122, allocations: 0.6126 MB / 376.9 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.2124, allocations: 5.5 kB / 376.9 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2125, allocations: 22.53 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.2127, allocations: 71.7 kB / 377 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.2129, allocations: 46.78 kB / 377 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.2131, allocations: 252.3 kB / 377.3 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2133, allocations: 84.16 kB / 377.4 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2134, allocations: 89.16 kB / 377.4 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2136, allocations: 108.6 kB / 377.5 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.2136, allocations: 14.06 kB / 377.6 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.106e-05/0.2137, allocations: 13.97 kB / 377.6 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.2137, allocations: 41.89 kB / 377.6 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.2138, allocations: 108.5 kB / 377.7 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.214, allocations: 235.8 kB / 378 MB, free: 42.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.214, allocations: 5.141 kB / 378 MB, free: 42.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.214, allocations: 4 kB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.214, allocations: 0 / 378 MB, free: 42.68 MB / 298.7 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.0006964/0.2147, allocations: 0.5171 MB / 378.5 MB, free: 42.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2148, allocations: 9.219 kB / 378.5 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.2148, allocations: 25.31 kB / 378.5 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.215, allocations: 240.1 kB / 378.7 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.2151, allocations: 17.44 kB / 378.8 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.2151, allocations: 25.77 kB / 378.8 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.2155, allocations: 221.1 kB / 379 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2155, allocations: 2.125 kB / 379 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2155, allocations: 9.062 kB / 379 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2155, allocations: 9.125 kB / 379 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2158, allocations: 142.9 kB / 379.2 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.2168, allocations: 0.7913 MB / 380 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.2172, allocations: 199.3 kB / 380.1 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2174, allocations: 106.7 kB / 380.3 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.2174, allocations: 2.188 kB / 380.3 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.2174, allocations: 45.12 kB / 380.3 MB, free: 40.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.2174, allocations: 0 / 380.3 MB, free: 40.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001239/0.2187, allocations: 0.8547 MB / 381.2 MB, free: 40.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2187, allocations: 80.08 kB / 381.2 MB, free: 39.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2188, allocations: 185.8 kB / 381.4 MB, free: 39.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2189, allocations: 31.3 kB / 381.4 MB, free: 39.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2189, allocations: 140.5 kB / 381.6 MB, free: 39.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.219, allocations: 93.89 kB / 381.7 MB, free: 39.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.219, allocations: 46.45 kB / 381.7 MB, free: 39.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.2191, allocations: 336 kB / 382 MB, free: 39.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2192, allocations: 68.16 kB / 382.1 MB, free: 39.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2194, allocations: 107.2 kB / 382.2 MB, free: 39.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.2197, allocations: 186.2 kB / 382.4 MB, free: 38.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2197, allocations: 1.188 kB / 382.4 MB, free: 38.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004003/0.2201, allocations: 247 kB / 382.6 MB, free: 38.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2201, allocations: 6.125 kB / 382.6 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2201, allocations: 9.234 kB / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2202, allocations: 2.531 kB / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2204, allocations: 64.19 kB / 382.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2204, allocations: 1.344 kB / 382.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2205, allocations: 9.625 kB / 382.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2205, allocations: 6.906 kB / 382.7 MB, free: 38.83 MB / 298.7 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 8.888e-05/0.2206, allocations: 152.7 kB / 382.9 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.2207, allocations: 21.19 kB / 382.9 MB, free: 38.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.2208, allocations: 26.12 kB / 382.9 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2208, allocations: 3.219 kB / 382.9 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2208, allocations: 0.9062 kB / 382.9 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2208, allocations: 5.078 kB / 382.9 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.2215, allocations: 0.5917 MB / 383.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2215, allocations: 1.344 kB / 383.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.2218, allocations: 52.5 kB / 383.6 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2218, allocations: 2.406 kB / 383.6 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2218, allocations: 10.95 kB / 383.6 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2218, allocations: 7.438 kB / 383.6 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2218, allocations: 7.938 kB / 383.6 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.2242, allocations: 1.938 MB / 385.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.2242, allocations: 91.36 kB / 385.6 MB, free: 36.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2243, allocations: 10.38 kB / 385.7 MB, free: 36.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.2244, allocations: 8.344 kB / 385.7 MB, free: 36.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.2245, allocations: 16.66 kB / 385.7 MB, free: 36.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.2245, allocations: 14.25 kB / 385.7 MB, free: 36.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.2246, allocations: 137.1 kB / 385.8 MB, free: 36.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2247, allocations: 0 / 385.8 MB, free: 36.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004847/0.2251, allocations: 70.72 kB / 385.9 MB, free: 36.2 MB / 298.7 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.572e-05/0.2252, allocations: 110.9 kB / 386 MB, free: 36.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.2256, allocations: 181.5 kB / 386.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2256, allocations: 1.344 kB / 386.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2258, allocations: 95.91 kB / 386.3 MB, free: 35.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.2263, allocations: 38.94 kB / 386.3 MB, free: 35.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2277, allocations: 0.9709 MB / 387.3 MB, free: 35.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2279, allocations: 0.7481 MB / 388 MB, free: 34.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.228, allocations: 29.11 kB / 388.1 MB, free: 34.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.2281, allocations: 24.84 kB / 388.1 MB, free: 34.41 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2281, allocations: 0 / 388.1 MB, free: 34.41 MB / 298.7 MB Notification: Performance of Templates: time 0.004317/0.2324, allocations: 2.137 MB / 390.2 MB, free: 32.42 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches