Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 110.3 kB / 17.06 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 47.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2729, allocations: 49.44 MB / 400.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003864/0.2768, allocations: 2.42 MB / 403.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.2778, allocations: 0.5882 MB / 403.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.278, allocations: 4 kB / 403.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.2781, allocations: 47.52 kB / 403.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.2783, allocations: 59.42 kB / 403.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2785, allocations: 63.84 kB / 403.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.2788, allocations: 254.9 kB / 404.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.279, allocations: 89.33 kB / 404.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2792, allocations: 107.6 kB / 404.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2793, allocations: 115.5 kB / 404.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.2794, allocations: 20 kB / 404.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.2794, allocations: 20 kB / 404.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.2794, allocations: 43.84 kB / 404.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2796, allocations: 119.4 kB / 404.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2798, allocations: 248.4 kB / 404.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2798, allocations: 4 kB / 404.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2798, allocations: 0 / 404.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2799, allocations: 0 / 404.9 MB, free: 4.844 MB / 318.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.0007293/0.2806, allocations: 0.5185 MB / 405.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2806, allocations: 15.89 kB / 405.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.2807, allocations: 28.56 kB / 405.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.281, allocations: 237.3 kB / 405.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.281, allocations: 16.81 kB / 405.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.2811, allocations: 20.38 kB / 405.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.2815, allocations: 221.3 kB / 405.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2815, allocations: 3.938 kB / 405.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.2815, allocations: 8 kB / 405.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2816, allocations: 8 kB / 406 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.2819, allocations: 141.6 kB / 406.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2829, allocations: 0.7909 MB / 406.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2833, allocations: 201 kB / 407.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.2836, allocations: 101.7 kB / 407.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2836, allocations: 4 kB / 407.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2836, allocations: 46.61 kB / 407.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.2836, allocations: 0 / 407.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001549/0.2852, allocations: 0.8611 MB / 408.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.2853, allocations: 81.11 kB / 408.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2854, allocations: 174.5 kB / 408.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2855, allocations: 33.7 kB / 408.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.2856, allocations: 144.3 kB / 408.5 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.2856, allocations: 90.64 kB / 408.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.2857, allocations: 53.69 kB / 408.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2858, allocations: 334.8 kB / 409 MB, free: 416 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.286, allocations: 63.95 kB / 409 MB, free: 352 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.2862, allocations: 116.8 kB / 409.2 MB, free: 220 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.2865, allocations: 188.1 kB / 409.3 MB, free: 16 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2865, allocations: 0 / 409.3 MB, free: 16 kB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004381/0.287, allocations: 248 kB / 409.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.287, allocations: 8 kB / 409.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.287, allocations: 0 / 409.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.287, allocations: 4 kB / 409.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.2873, allocations: 63.91 kB / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2873, allocations: 0 / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.2874, allocations: 19.89 kB / 409.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2875, allocations: 4.094 kB / 409.7 MB, free: 15.67 MB / 334.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.0001396/0.2876, allocations: 149.7 kB / 409.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.2877, allocations: 15.81 kB / 409.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.2878, allocations: 29.86 kB / 409.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2878, allocations: 4 kB / 409.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2878, allocations: 0 / 409.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2878, allocations: 4 kB / 409.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.2886, allocations: 0.5903 MB / 410.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2886, allocations: 4 kB / 410.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2889, allocations: 51.97 kB / 410.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2889, allocations: 4 kB / 410.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2889, allocations: 8 kB / 410.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2889, allocations: 3.938 kB / 410.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2889, allocations: 7.938 kB / 410.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.2895, allocations: 481.2 kB / 411 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.2896, allocations: 100.9 kB / 411.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2896, allocations: 12 kB / 411.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2898, allocations: 8 kB / 411.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.2899, allocations: 27.84 kB / 411.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2899, allocations: 4 kB / 411.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.102e-05/0.29, allocations: 136.3 kB / 411.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.29, allocations: 0 / 411.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.2903, allocations: 55.94 kB / 411.4 MB, free: 13.88 MB / 334.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.0001246/0.2905, allocations: 114.4 kB / 411.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.2909, allocations: 184.2 kB / 411.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2909, allocations: 0 / 411.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.2911, allocations: 91.84 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2916, allocations: 44.28 kB / 411.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2927, allocations: 0.6798 MB / 412.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.293, allocations: 0.748 MB / 413.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.01e-05/0.2931, allocations: 17.94 kB / 413.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.2931, allocations: 19.44 kB / 413.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2931, allocations: 0 / 413.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Templates: time 0.005274/0.2984, allocations: 2.066 MB / 415.3 MB, free: 9.859 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches