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.001393/0.001393, allocations: 105 kB / 17.73 MB, free: 5.23 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.001371/0.001371, allocations: 188.1 kB / 18.67 MB, free: 4.309 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.94 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.263, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003718/0.2668, allocations: 2.419 MB / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2679, allocations: 0.5842 MB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2681, allocations: 4 kB / 404.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2683, allocations: 39.58 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.2685, allocations: 67.42 kB / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2688, allocations: 63.84 kB / 404.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.2691, allocations: 246.9 kB / 404.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2693, allocations: 101.3 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.2695, allocations: 103.6 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2697, allocations: 107.5 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.2697, allocations: 20 kB / 405.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.2697, allocations: 20 kB / 405.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.2698, allocations: 51.83 kB / 405.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2699, allocations: 115.4 kB / 405.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.2702, allocations: 256.2 kB / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2702, allocations: 0 / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2702, allocations: 0 / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2702, allocations: 3.938 kB / 405.6 MB, free: 4.715 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.0007864/0.271, allocations: 0.5185 MB / 406.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2711, allocations: 11.89 kB / 406.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.2711, allocations: 32.56 kB / 406.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.2714, allocations: 237.3 kB / 406.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2715, allocations: 16.81 kB / 406.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2715, allocations: 20.38 kB / 406.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.2719, allocations: 217.3 kB / 406.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2719, allocations: 4 kB / 406.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.272, allocations: 8 kB / 406.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.272, allocations: 8 kB / 406.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.2723, allocations: 151.8 kB / 406.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.2735, allocations: 0.7831 MB / 407.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.2739, allocations: 197 kB / 407.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.2742, allocations: 112.4 kB / 407.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2742, allocations: 4 kB / 407.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2742, allocations: 42.69 kB / 407.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.2742, allocations: 0 / 407.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001607/0.2758, allocations: 0.8553 MB / 408.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2759, allocations: 81.11 kB / 408.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2761, allocations: 170.5 kB / 409 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2761, allocations: 33.7 kB / 409 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.2762, allocations: 140.4 kB / 409.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.2763, allocations: 90.66 kB / 409.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.2764, allocations: 53.62 kB / 409.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2765, allocations: 334.8 kB / 409.6 MB, free: 292 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2766, allocations: 63.97 kB / 409.7 MB, free: 228 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2768, allocations: 108.8 kB / 409.8 MB, free: 104 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.2772, allocations: 199.2 kB / 410 MB, free: 15.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2772, allocations: 0 / 410 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004195/0.2776, allocations: 245.2 kB / 410.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2776, allocations: 4 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2776, allocations: 400 / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2777, allocations: 4.094 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.2779, allocations: 63.91 kB / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2779, allocations: 4 kB / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2781, allocations: 19.83 kB / 410.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2781, allocations: 12 kB / 410.4 MB, free: 15.54 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.0001331/0.2782, allocations: 141.7 kB / 410.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.2783, allocations: 19.81 kB / 410.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.2784, allocations: 29.86 kB / 410.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2784, allocations: 8 kB / 410.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2784, allocations: 0 / 410.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2784, allocations: 0 / 410.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.2792, allocations: 0.5824 MB / 411.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2792, allocations: 4 kB / 411.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.2795, allocations: 64 kB / 411.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2795, allocations: 0 / 411.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2796, allocations: 8 kB / 411.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.2796, allocations: 7.984 kB / 411.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.2796, allocations: 3.938 kB / 411.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.2802, allocations: 492.6 kB / 411.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.2803, allocations: 96.83 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.2804, allocations: 8 kB / 411.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2805, allocations: 8 kB / 411.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.2806, allocations: 23.89 kB / 411.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.2806, allocations: 12 kB / 411.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.2807, allocations: 136.3 kB / 412 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2807, allocations: 3.938 kB / 412 MB, free: 13.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.2811, allocations: 48 kB / 412 MB, free: 13.75 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.0001252/0.2812, allocations: 107.2 kB / 412.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.2816, allocations: 186.7 kB / 412.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2816, allocations: 4.188 kB / 412.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2818, allocations: 103.8 kB / 412.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.2823, allocations: 34.11 kB / 412.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2834, allocations: 0.7012 MB / 413.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2837, allocations: 0.748 MB / 413.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.2838, allocations: 27.38 kB / 413.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2838, allocations: 0 / 413.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of Templates: time 0.004513/0.2883, allocations: 2.636 MB / 416.6 MB, free: 9.125 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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