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.0008851/0.0008852, allocations: 177.4 kB / 16.41 MB, free: 5.703 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.294/1.294, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001252/0.001252, allocations: 90.3 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003026, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1914, allocations: 47.58 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.001834/0.1933, allocations: 2.017 MB / 376.6 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.194, allocations: 0.5814 MB / 377.1 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.1941, allocations: 4.5 kB / 377.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.179e-05/0.1942, allocations: 26.94 kB / 377.2 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.1943, allocations: 63.06 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.1944, allocations: 43.92 kB / 377.3 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1946, allocations: 241.2 kB / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1948, allocations: 70.38 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1949, allocations: 82.98 kB / 377.7 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.195, allocations: 87.38 kB / 377.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.195, allocations: 10.75 kB / 377.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.1951, allocations: 10.59 kB / 377.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.1951, allocations: 38.7 kB / 377.8 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1952, allocations: 66.2 kB / 377.9 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1953, allocations: 177 kB / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1953, allocations: 0 / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1953, allocations: 0 / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1953, allocations: 4 kB / 378.1 MB, free: 42.77 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.0005749/0.1959, allocations: 0.4969 MB / 378.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.196, allocations: 9.469 kB / 378.6 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.196, allocations: 29.59 kB / 378.6 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1962, allocations: 237.2 kB / 378.8 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1962, allocations: 16.69 kB / 378.8 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.1963, allocations: 22.28 kB / 378.9 MB, free: 42.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.1966, allocations: 215.4 kB / 379.1 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1967, allocations: 1.438 kB / 379.1 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1967, allocations: 9.375 kB / 379.1 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1967, allocations: 13.92 kB / 379.1 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.197, allocations: 153 kB / 379.2 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.1979, allocations: 0.8032 MB / 380 MB, free: 41.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.1983, allocations: 197.7 kB / 380.2 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1985, allocations: 111.5 kB / 380.3 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1985, allocations: 6.266 kB / 380.4 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1985, allocations: 33.12 kB / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.1985, allocations: 0 / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001321/0.1999, allocations: 0.8738 MB / 381.3 MB, free: 40.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.1999, allocations: 88.33 kB / 381.3 MB, free: 40.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2, allocations: 180.3 kB / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2001, allocations: 31.11 kB / 381.6 MB, free: 39.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.2001, allocations: 142.6 kB / 381.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.2002, allocations: 104.6 kB / 381.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.2002, allocations: 5.344 kB / 381.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.2002, allocations: 335.1 kB / 382.1 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2004, allocations: 66.06 kB / 382.2 MB, free: 39.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.2006, allocations: 110.5 kB / 382.3 MB, free: 39.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2007, allocations: 82.83 kB / 382.4 MB, free: 39.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2007, allocations: 0 / 382.4 MB, free: 39.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003885/0.2011, allocations: 252.9 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2011, allocations: 5.438 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2012, allocations: 5.328 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2012, allocations: 3.25 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2014, allocations: 65.53 kB / 382.7 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2014, allocations: 6.5 kB / 382.7 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2016, allocations: 14.36 kB / 382.7 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2016, allocations: 7.281 kB / 382.7 MB, free: 39.03 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.141e-05/0.2017, allocations: 144.2 kB / 382.9 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.2017, allocations: 21.86 kB / 382.9 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.2018, allocations: 30.23 kB / 382.9 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2018, allocations: 10.83 kB / 382.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2018, allocations: 1.438 kB / 382.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2018, allocations: 0 / 382.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.2025, allocations: 0.5924 MB / 383.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2025, allocations: 1.188 kB / 383.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.2028, allocations: 57.94 kB / 383.6 MB, free: 38.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.2028, allocations: 2.625 kB / 383.6 MB, free: 38.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2028, allocations: 15.31 kB / 383.6 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2028, allocations: 2.562 kB / 383.6 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2028, allocations: 5 kB / 383.6 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.2034, allocations: 0.4907 MB / 384.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.2034, allocations: 95.48 kB / 384.2 MB, free: 37.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.2034, allocations: 7.219 kB / 384.2 MB, free: 37.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2036, allocations: 10.41 kB / 384.2 MB, free: 37.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.2037, allocations: 28.56 kB / 384.2 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2037, allocations: 5.719 kB / 384.2 MB, free: 37.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.2038, allocations: 139.5 kB / 384.4 MB, free: 37.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2038, allocations: 0 / 384.4 MB, free: 37.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000298/0.2041, allocations: 50.94 kB / 384.4 MB, free: 37.69 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 7.707e-05/0.2042, allocations: 97.44 kB / 384.5 MB, free: 37.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.2045, allocations: 187.8 kB / 384.7 MB, free: 37.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2046, allocations: 1.062 kB / 384.7 MB, free: 37.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2047, allocations: 95.78 kB / 384.8 MB, free: 37.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.2052, allocations: 47.86 kB / 384.8 MB, free: 37.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/0.2062, allocations: 0.8604 MB / 385.7 MB, free: 36.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2063, allocations: 0.7487 MB / 386.5 MB, free: 36.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.2064, allocations: 25.3 kB / 386.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2064, allocations: 0 / 386.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of Templates: time 0.003227/0.2096, allocations: 2.568 MB / 389.1 MB, free: 33.78 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