Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0008889/0.0008889, allocations: 174.7 kB / 16.72 MB, free: 5.078 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.274/1.274, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007341/0.0007344, allocations: 85.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002881, allocations: 15.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.001951/0.2001, allocations: 2.019 MB / 377.1 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.2008, allocations: 0.5898 MB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.2009, allocations: 4.219 kB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.511e-05/0.201, allocations: 26.89 kB / 377.7 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.5e-05/0.2011, allocations: 55.8 kB / 377.8 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.2013, allocations: 51.19 kB / 377.8 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.2015, allocations: 233.7 kB / 378.1 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.2016, allocations: 84.97 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2018, allocations: 79.53 kB / 378.2 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2019, allocations: 95.02 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.2019, allocations: 14.02 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.217e-05/0.202, allocations: 10.78 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.202, allocations: 34.19 kB / 378.4 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.2021, allocations: 125.5 kB / 378.5 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2023, allocations: 184.5 kB / 378.7 MB, free: 42.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2023, allocations: 0 / 378.7 MB, free: 42.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2023, allocations: 1.094 kB / 378.7 MB, free: 42.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2023, allocations: 0 / 378.7 MB, free: 42.69 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.0005677/0.2029, allocations: 499 kB / 379.2 MB, free: 42.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2029, allocations: 9.031 kB / 379.2 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.203, allocations: 25.53 kB / 379.2 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2032, allocations: 240.3 kB / 379.4 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2032, allocations: 12.34 kB / 379.4 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.2032, allocations: 22.56 kB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.2036, allocations: 231.5 kB / 379.7 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2036, allocations: 1.156 kB / 379.7 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.2037, allocations: 10.31 kB / 379.7 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2037, allocations: 4.469 kB / 379.7 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.204, allocations: 149 kB / 379.8 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.2049, allocations: 0.7974 MB / 380.6 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.2053, allocations: 205.8 kB / 380.8 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.2055, allocations: 106.9 kB / 381 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2056, allocations: 11.05 kB / 381 MB, free: 40.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2056, allocations: 36.81 kB / 381 MB, free: 40.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.2056, allocations: 4 kB / 381 MB, free: 40.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001357/0.2069, allocations: 0.8671 MB / 381.9 MB, free: 40.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.207, allocations: 83.81 kB / 382 MB, free: 40.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2071, allocations: 187.7 kB / 382.1 MB, free: 39.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2072, allocations: 31.2 kB / 382.2 MB, free: 39.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.2072, allocations: 137.6 kB / 382.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.2073, allocations: 97.09 kB / 382.4 MB, free: 39.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.2073, allocations: 5.531 kB / 382.4 MB, free: 39.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.2073, allocations: 331.5 kB / 382.7 MB, free: 39.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2075, allocations: 65.83 kB / 382.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2076, allocations: 122.2 kB / 382.9 MB, free: 39.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.208, allocations: 189.4 kB / 383.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.208, allocations: 0 / 383.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003987/0.2084, allocations: 253.2 kB / 383.3 MB, free: 38.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2084, allocations: 10.53 kB / 383.3 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2084, allocations: 1.031 kB / 383.3 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2084, allocations: 7.344 kB / 383.4 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2087, allocations: 61.44 kB / 383.4 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2087, allocations: 6.188 kB / 383.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2088, allocations: 14.73 kB / 383.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2088, allocations: 7.438 kB / 383.4 MB, free: 38.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.2089, allocations: 143.3 kB / 383.6 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.209, allocations: 22.44 kB / 383.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.209, allocations: 33.73 kB / 383.6 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.209, allocations: 4.188 kB / 383.6 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2091, allocations: 0 / 383.6 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2091, allocations: 1.156 kB / 383.6 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.2097, allocations: 0.5856 MB / 384.2 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2097, allocations: 4.938 kB / 384.2 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.21, allocations: 63.08 kB / 384.3 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.21, allocations: 2.406 kB / 384.3 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.21, allocations: 6.062 kB / 384.3 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2101, allocations: 3.344 kB / 384.3 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2101, allocations: 5.469 kB / 384.3 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.2106, allocations: 0.4949 MB / 384.8 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2107, allocations: 98.33 kB / 384.9 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2107, allocations: 7.625 kB / 384.9 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2109, allocations: 10.22 kB / 384.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.2109, allocations: 24.59 kB / 384.9 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2109, allocations: 6.75 kB / 385 MB, free: 37.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.211, allocations: 142.8 kB / 385.1 MB, free: 37.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.211, allocations: 0 / 385.1 MB, free: 37.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.2114, allocations: 51.72 kB / 385.1 MB, free: 37.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.2115, allocations: 100.4 kB / 385.2 MB, free: 37.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.2119, allocations: 192.5 kB / 385.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2119, allocations: 0.8125 kB / 385.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.212, allocations: 95.86 kB / 385.5 MB, free: 37.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.2125, allocations: 45.83 kB / 385.6 MB, free: 37.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2136, allocations: 0.858 MB / 386.4 MB, free: 36.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2137, allocations: 0.7522 MB / 387.2 MB, free: 35.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.2138, allocations: 24.77 kB / 387.2 MB, free: 35.88 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2138, allocations: 0 / 387.2 MB, free: 35.88 MB / 298.7 MB Notification: Performance of Templates: time 0.00345/0.2173, allocations: 2.57 MB / 389.8 MB, free: 33.46 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches