Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 174.2 kB / 17.36 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007334/0.0007334, allocations: 102.1 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.00023, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002963/0.2725, allocations: 2.022 MB / 378.6 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2736, allocations: 0.5983 MB / 379.2 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2738, allocations: 4.125 kB / 379.2 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2739, allocations: 27.55 kB / 379.2 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2741, allocations: 55.09 kB / 379.3 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.2743, allocations: 52.48 kB / 379.4 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.2747, allocations: 248 kB / 379.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.275, allocations: 76.31 kB / 379.7 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.2752, allocations: 82.66 kB / 379.7 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2754, allocations: 103.1 kB / 379.8 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.2754, allocations: 11.38 kB / 379.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.2755, allocations: 10.12 kB / 379.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.2755, allocations: 42.41 kB / 379.9 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.2757, allocations: 128.5 kB / 380 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.276, allocations: 229.1 kB / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.276, allocations: 0 / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.276, allocations: 0 / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.276, allocations: 1.094 kB / 380.3 MB, free: 42.79 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.0008859/0.2769, allocations: 0.4919 MB / 380.8 MB, free: 42.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.277, allocations: 8.406 kB / 380.8 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.2771, allocations: 25.34 kB / 380.8 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2774, allocations: 241.2 kB / 381 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.2774, allocations: 17 kB / 381 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.2775, allocations: 26.39 kB / 381.1 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.278, allocations: 223.9 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2781, allocations: 1.344 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2781, allocations: 5.156 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2781, allocations: 5.469 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2786, allocations: 157.2 kB / 381.4 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.2801, allocations: 0.8006 MB / 382.2 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.2807, allocations: 210 kB / 382.5 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.281, allocations: 110.8 kB / 382.6 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.2811, allocations: 3.781 kB / 382.6 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2811, allocations: 40.03 kB / 382.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.2811, allocations: 0 / 382.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.002039/0.2831, allocations: 0.8707 MB / 383.5 MB, free: 40.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2832, allocations: 88.86 kB / 383.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2834, allocations: 186.8 kB / 383.7 MB, free: 39.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.2834, allocations: 26.92 kB / 383.8 MB, free: 39.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.2835, allocations: 145.9 kB / 383.9 MB, free: 39.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.2836, allocations: 93.8 kB / 384 MB, free: 39.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.2836, allocations: 5.031 kB / 384 MB, free: 39.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.2837, allocations: 332.3 kB / 384.3 MB, free: 39.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2839, allocations: 69.69 kB / 384.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.2841, allocations: 111.2 kB / 384.5 MB, free: 39.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.2846, allocations: 196.5 kB / 384.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2846, allocations: 0 / 384.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005807/0.2852, allocations: 255.3 kB / 385 MB, free: 38.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2852, allocations: 8.5 kB / 385 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2852, allocations: 1.875 kB / 385 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2852, allocations: 2.312 kB / 385 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.2856, allocations: 61.62 kB / 385 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2856, allocations: 9.984 kB / 385 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.2858, allocations: 15.81 kB / 385 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.2859, allocations: 10.31 kB / 385.1 MB, free: 38.96 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 0.0001144/0.286, allocations: 143.9 kB / 385.2 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.2861, allocations: 22.41 kB / 385.2 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.2862, allocations: 29.55 kB / 385.3 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.2862, allocations: 3.531 kB / 385.3 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2862, allocations: 0 / 385.3 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2862, allocations: 1.094 kB / 385.3 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.2872, allocations: 0.5858 MB / 385.8 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2872, allocations: 3.938 kB / 385.8 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.2876, allocations: 66.31 kB / 385.9 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2876, allocations: 2.188 kB / 385.9 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2876, allocations: 6.906 kB / 385.9 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2877, allocations: 6.016 kB / 385.9 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2877, allocations: 5.312 kB / 385.9 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.2885, allocations: 0.4936 MB / 386.4 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.2885, allocations: 95.3 kB / 386.5 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.2886, allocations: 6.312 kB / 386.5 MB, free: 37.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.2889, allocations: 18.44 kB / 386.5 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.2889, allocations: 17.55 kB / 386.6 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.289, allocations: 9.125 kB / 386.6 MB, free: 37.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2891, allocations: 131.8 kB / 386.7 MB, free: 37.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2891, allocations: 3.938 kB / 386.7 MB, free: 37.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000538/0.2897, allocations: 50.62 kB / 386.7 MB, free: 37.62 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 0.0001648/0.2898, allocations: 112.5 kB / 386.9 MB, free: 37.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005135/0.2904, allocations: 183.9 kB / 387 MB, free: 37.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2904, allocations: 0 / 387 MB, free: 37.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.2906, allocations: 105 kB / 387.1 MB, free: 37.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.2914, allocations: 32.3 kB / 387.2 MB, free: 37.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2927, allocations: 0.8566 MB / 388 MB, free: 36.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2929, allocations: 0.7559 MB / 388.8 MB, free: 35.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.2931, allocations: 25.94 kB / 388.8 MB, free: 35.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.2931, allocations: 19.44 kB / 388.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2932, allocations: 3.938 kB / 388.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of Templates: time 0.005553/0.2987, allocations: 1.873 MB / 390.7 MB, free: 33.81 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/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