Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, 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.187/1.187, 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.0008759/0.000876, allocations: 101.1 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007617/0.0007618, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2175, allocations: 46.62 MB / 373.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003029/0.2206, allocations: 2.455 MB / 376.3 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.221, allocations: 229 kB / 376.5 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2211, allocations: 8.531 kB / 376.5 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2212, allocations: 36.5 kB / 376.5 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2214, allocations: 68.67 kB / 376.6 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.2215, allocations: 54.52 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.2218, allocations: 277 kB / 376.9 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2219, allocations: 85.77 kB / 377 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.222, allocations: 103.4 kB / 377.1 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.2222, allocations: 120.5 kB / 377.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.2222, allocations: 14.78 kB / 377.3 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/0.2222, allocations: 15.25 kB / 377.3 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.2223, allocations: 39.47 kB / 377.3 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.2224, allocations: 128.8 kB / 377.4 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2226, allocations: 282.8 kB / 377.7 MB, free: 42.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2226, allocations: 0 / 377.7 MB, free: 42.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2226, allocations: 0 / 377.7 MB, free: 42.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2226, allocations: 0 / 377.7 MB, free: 42.86 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006134/0.2232, allocations: 0.5372 MB / 378.2 MB, free: 42.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2233, allocations: 13.33 kB / 378.3 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.2233, allocations: 27.34 kB / 378.3 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.2235, allocations: 243 kB / 378.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2235, allocations: 22.19 kB / 378.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.2236, allocations: 28.52 kB / 378.6 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.2239, allocations: 237 kB / 378.8 MB, free: 41.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2239, allocations: 13.36 kB / 378.8 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2239, allocations: 10.03 kB / 378.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.224, allocations: 6.75 kB / 378.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2242, allocations: 159.8 kB / 379 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.225, allocations: 0.7908 MB / 379.8 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.2254, allocations: 305.5 kB / 380.1 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.2256, allocations: 127.8 kB / 380.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2256, allocations: 3.344 kB / 380.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.2256, allocations: 44.91 kB / 380.2 MB, free: 40.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.2256, allocations: 1.344 kB / 380.3 MB, free: 40.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001996/0.2276, allocations: 1.942 MB / 382.2 MB, free: 39.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2277, allocations: 111.6 kB / 382.3 MB, free: 38.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2278, allocations: 193.6 kB / 382.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2278, allocations: 35.02 kB / 382.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2279, allocations: 141.9 kB / 382.7 MB, free: 38.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.228, allocations: 161.1 kB / 382.8 MB, free: 38.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.2281, allocations: 70.2 kB / 382.9 MB, free: 38.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.2281, allocations: 340.2 kB / 383.2 MB, free: 38.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2283, allocations: 90.25 kB / 383.3 MB, free: 38.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2284, allocations: 155.7 kB / 383.5 MB, free: 37.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2287, allocations: 283.1 kB / 383.7 MB, free: 37.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2287, allocations: 1.125 kB / 383.7 MB, free: 37.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004012/0.2291, allocations: 329.1 kB / 384.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2292, allocations: 13.67 kB / 384.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2292, allocations: 2.312 kB / 384.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2292, allocations: 3.562 kB / 384.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.2295, allocations: 93.5 kB / 384.2 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2295, allocations: 4.156 kB / 384.2 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.2296, allocations: 11.19 kB / 384.2 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2296, allocations: 14.97 kB / 384.2 MB, free: 37.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.066e-05/0.2297, allocations: 152.2 kB / 384.3 MB, free: 37.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.2298, allocations: 37.47 kB / 384.4 MB, free: 37.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.2299, allocations: 34.62 kB / 384.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2299, allocations: 8.531 kB / 384.4 MB, free: 37.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2299, allocations: 4.969 kB / 384.4 MB, free: 37.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2299, allocations: 5.891 kB / 384.4 MB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.231, allocations: 1.056 MB / 385.5 MB, free: 36.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.231, allocations: 2.312 kB / 385.5 MB, free: 36.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.2313, allocations: 94.11 kB / 385.6 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.2313, allocations: 9.281 kB / 385.6 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2314, allocations: 13.41 kB / 385.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2314, allocations: 3.875 kB / 385.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2314, allocations: 3.438 kB / 385.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2333, allocations: 2.292 MB / 387.9 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.2333, allocations: 114.2 kB / 388 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.2334, allocations: 9.438 kB / 388 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2336, allocations: 8.5 kB / 388 MB, free: 34.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.2336, allocations: 38.28 kB / 388.1 MB, free: 34.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2336, allocations: 21.05 kB / 388.1 MB, free: 34.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.2337, allocations: 136.2 kB / 388.2 MB, free: 34.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2337, allocations: 0 / 388.2 MB, free: 34.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.2342, allocations: 96 kB / 388.3 MB, free: 34.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.02e-05/0.2343, allocations: 111.2 kB / 388.4 MB, free: 34.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.2346, allocations: 262.7 kB / 388.7 MB, free: 33.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2346, allocations: 0 / 388.7 MB, free: 33.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2347, allocations: 143.7 kB / 388.8 MB, free: 33.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.2354, allocations: 57.5 kB / 388.9 MB, free: 33.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2366, allocations: 1.307 MB / 390.2 MB, free: 32.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.2367, allocations: 0.7801 MB / 391 MB, free: 31.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.2369, allocations: 42.94 kB / 391 MB, free: 31.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.2369, allocations: 31.44 kB / 391 MB, free: 31.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2369, allocations: 0 / 391 MB, free: 31.32 MB / 298.7 MB Notification: Performance of Templates: time 0.005066/0.242, allocations: 3.233 MB / 394.3 MB, free: 28.11 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches