Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001653/0.001653, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 59.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08564, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003536/0.08921, allocations: 2.403 MB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.09018, allocations: 0.6125 MB / 331.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.0903, allocations: 8 kB / 331.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.09048, allocations: 39.58 kB / 331.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.09061, allocations: 71.34 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.09083, allocations: 55.86 kB / 331.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.09112, allocations: 254.9 kB / 332.2 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.09135, allocations: 101.3 kB / 332.3 MB, free: 200 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.09149, allocations: 107.6 kB / 332.4 MB, free: 92 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.09167, allocations: 103.5 kB / 332.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.09171, allocations: 24 kB / 332.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.09176, allocations: 20 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.0918, allocations: 43.84 kB / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.09192, allocations: 115.4 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.0922, allocations: 255 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.09222, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09223, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.09224, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.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.0008132/0.09305, allocations: 0.5262 MB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.0931, allocations: 11.89 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.09317, allocations: 24.66 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.09349, allocations: 236.6 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.09352, allocations: 12.81 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.09357, allocations: 24.38 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.09397, allocations: 221.2 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.094, allocations: 0 / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.09403, allocations: 12 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.09404, allocations: 4 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.09436, allocations: 143.9 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.09547, allocations: 0.783 MB / 334.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.09587, allocations: 205 kB / 335.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.0961, allocations: 113.8 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.09614, allocations: 8 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.09617, allocations: 38.62 kB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.09617, allocations: 0 / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001496/0.09767, allocations: 0.8486 MB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.09773, allocations: 81.11 kB / 336.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.0979, allocations: 174.5 kB / 336.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.09793, allocations: 29.7 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.09803, allocations: 144.4 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.09811, allocations: 98.52 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.09819, allocations: 53.7 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.09833, allocations: 330.8 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.09848, allocations: 63.97 kB / 337.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.09865, allocations: 108.2 kB / 337.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.09898, allocations: 188 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.09899, allocations: 4 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000413/0.09941, allocations: 241.2 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.09944, allocations: 15.27 kB / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.09945, allocations: 0 / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.09947, allocations: 8 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.09973, allocations: 59.91 kB / 337.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.09975, allocations: 4 kB / 337.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.09986, allocations: 15.84 kB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.09989, allocations: 8 kB / 337.7 MB, free: 10.38 MB / 286.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.0001092/0.1, allocations: 149.8 kB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.1001, allocations: 15.81 kB / 337.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.1001, allocations: 25.88 kB / 337.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1001, allocations: 4 kB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1002, allocations: 0 / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1002, allocations: 3.984 kB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007855/0.101, allocations: 0.5915 MB / 338.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.101, allocations: 0 / 338.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1012, allocations: 51.97 kB / 338.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1013, allocations: 7.984 kB / 338.5 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1013, allocations: 8 kB / 338.5 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1013, allocations: 3.938 kB / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1013, allocations: 3.938 kB / 338.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.1019, allocations: 485.2 kB / 339 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.102, allocations: 100.8 kB / 339.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.102, allocations: 8.031 kB / 339.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.1022, allocations: 11.94 kB / 339.1 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1023, allocations: 27.86 kB / 339.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1023, allocations: 7.984 kB / 339.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.1024, allocations: 136.2 kB / 339.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1024, allocations: 0 / 339.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000332/0.1028, allocations: 52 kB / 339.4 MB, free: 8.582 MB / 286.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.0001317/0.1029, allocations: 111.1 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.1033, allocations: 176 kB / 339.6 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1033, allocations: 0 / 339.6 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1035, allocations: 95.89 kB / 339.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.104, allocations: 45.7 kB / 339.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1051, allocations: 0.6954 MB / 340.5 MB, free: 7.422 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1054, allocations: 0.7479 MB / 341.2 MB, free: 6.648 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.874e-05/0.1055, allocations: 21.94 kB / 341.3 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.1056, allocations: 19.44 kB / 341.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1056, allocations: 0 / 341.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of Templates: time 0.004845/0.1104, allocations: 2.028 MB / 343.3 MB, free: 4.582 MB / 286.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches