Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2536, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003557/0.2572, allocations: 2.429 MB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2585, allocations: 0.6544 MB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.2587, allocations: 7.938 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2589, allocations: 43.59 kB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.2591, allocations: 63.41 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.2594, allocations: 75.83 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.2597, allocations: 262.8 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.2599, allocations: 93.34 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.2602, allocations: 115.5 kB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2604, allocations: 107.5 kB / 413.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.2604, allocations: 20 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.2605, allocations: 31.98 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.2605, allocations: 47.83 kB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2607, allocations: 123.4 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.261, allocations: 252.2 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.261, allocations: 0 / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.261, allocations: 0 / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.261, allocations: 0 / 413.5 MB, free: 13.3 MB / 334.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.0007847/0.2618, allocations: 0.5302 MB / 414.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2618, allocations: 8.031 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.2621, allocations: 40.64 kB / 414.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.2624, allocations: 251.7 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2624, allocations: 16.81 kB / 414.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.2625, allocations: 24.38 kB / 414.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2629, allocations: 221.3 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2629, allocations: 0 / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.2629, allocations: 8 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2629, allocations: 4 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.2633, allocations: 151.8 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2644, allocations: 0.7831 MB / 415.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.2648, allocations: 201 kB / 415.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.265, allocations: 105.7 kB / 415.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2651, allocations: 0 / 415.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2651, allocations: 42.69 kB / 415.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.2651, allocations: 0 / 415.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001542/0.2667, allocations: 0.8699 MB / 416.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.2667, allocations: 85.05 kB / 416.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.2669, allocations: 179.4 kB / 417 MB, free: 9.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.2669, allocations: 37.64 kB / 417.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.267, allocations: 144.4 kB / 417.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.2671, allocations: 98.55 kB / 417.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.2672, allocations: 45.7 kB / 417.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2673, allocations: 326.8 kB / 417.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2675, allocations: 67.95 kB / 417.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2676, allocations: 120.2 kB / 417.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.2679, allocations: 182.3 kB / 418 MB, free: 8.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.268, allocations: 0 / 418 MB, free: 8.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004412/0.2684, allocations: 253.1 kB / 418.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2684, allocations: 4 kB / 418.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2684, allocations: 4 kB / 418.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2685, allocations: 0 / 418.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2687, allocations: 59.91 kB / 418.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2687, allocations: 4 kB / 418.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2688, allocations: 11.98 kB / 418.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2689, allocations: 12 kB / 418.4 MB, free: 8.086 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.0001243/0.269, allocations: 149.7 kB / 418.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.2691, allocations: 19.81 kB / 418.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.2691, allocations: 29.86 kB / 418.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2691, allocations: 4 kB / 418.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2691, allocations: 0 / 418.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2692, allocations: 0 / 418.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.27, allocations: 0.5903 MB / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.27, allocations: 0 / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.2702, allocations: 55.91 kB / 419.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2703, allocations: 4 kB / 419.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2703, allocations: 4 kB / 419.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2703, allocations: 4 kB / 419.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.2703, allocations: 3.938 kB / 419.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.2709, allocations: 0.4892 MB / 419.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.271, allocations: 92.92 kB / 419.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.271, allocations: 4 kB / 419.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2712, allocations: 16 kB / 419.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.2712, allocations: 27.97 kB / 419.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2713, allocations: 12 kB / 419.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.2714, allocations: 140.2 kB / 420 MB, free: 6.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.2714, allocations: 0 / 420 MB, free: 6.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.2717, allocations: 51.94 kB / 420.1 MB, free: 6.277 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.0001511/0.2719, allocations: 103.2 kB / 420.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.2724, allocations: 182.7 kB / 420.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2724, allocations: 0 / 420.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.2726, allocations: 95.83 kB / 420.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.2731, allocations: 36.3 kB / 420.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2744, allocations: 0.6959 MB / 421.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2748, allocations: 0.7402 MB / 421.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.2749, allocations: 25.94 kB / 421.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.275, allocations: 19.44 kB / 421.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.275, allocations: 0 / 421.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of Templates: time 0.005452/0.2804, allocations: 2.07 MB / 424 MB, free: 2.262 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches