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.001479/0.001479, allocations: 108 kB / 18.4 MB, free: 4.703 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.00215/0.00215, allocations: 194.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.648/2.648, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.002142/0.002142, allocations: 48.36 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1682, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.006855/0.1751, allocations: 2.412 MB / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.177, allocations: 0.62 MB / 378.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1773, allocations: 4 kB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1776, allocations: 47.52 kB / 378.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1778, allocations: 67.36 kB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.1781, allocations: 59.91 kB / 379 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.1785, allocations: 246.9 kB / 379.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.1789, allocations: 109.2 kB / 379.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1791, allocations: 95.7 kB / 379.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1793, allocations: 111.5 kB / 379.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.1794, allocations: 20 kB / 379.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.1795, allocations: 20 kB / 379.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.1795, allocations: 43.84 kB / 379.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1797, allocations: 115.4 kB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.1802, allocations: 263 kB / 380 MB, free: 376 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.1802, allocations: 4 kB / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd: time 5.931e-06/0.1802, allocations: 0 / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1802, allocations: 3.938 kB / 380 MB, free: 368 kB / 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.3777/0.5579, allocations: 0.5094 MB / 380.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.558, allocations: 14.66 kB / 380.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.5582, allocations: 27.84 kB / 380.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.5588, allocations: 241.9 kB / 380.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.5588, allocations: 15.69 kB / 380.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.5589, allocations: 22 kB / 380.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004872/0.5638, allocations: 223 kB / 381.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.5638, allocations: 0 / 381.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.5639, allocations: 8.438 kB / 381.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5639, allocations: 6.344 kB / 381.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.5644, allocations: 145 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.566, allocations: 0.7756 MB / 382 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.5666, allocations: 202.6 kB / 382.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.567, allocations: 106.4 kB / 382.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.567, allocations: 2.75 kB / 382.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5671, allocations: 39.98 kB / 382.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.5671, allocations: 0 / 382.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002572/0.5697, allocations: 0.8645 MB / 383.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.5698, allocations: 80.42 kB / 383.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.57, allocations: 174.7 kB / 383.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.5701, allocations: 33.67 kB / 383.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5702, allocations: 141 kB / 383.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.5703, allocations: 97.56 kB / 383.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5705, allocations: 46.5 kB / 383.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.5706, allocations: 330.5 kB / 384.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.5708, allocations: 67.91 kB / 384.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.5711, allocations: 112.7 kB / 384.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.5716, allocations: 188.4 kB / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5716, allocations: 5.344 kB / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006236/0.5722, allocations: 248.8 kB / 384.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.5723, allocations: 10.47 kB / 384.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5723, allocations: 1.375 kB / 384.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5723, allocations: 5.438 kB / 384.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.5727, allocations: 59.22 kB / 384.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5727, allocations: 4.109 kB / 384.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.5729, allocations: 14.52 kB / 384.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.5729, allocations: 11.75 kB / 384.8 MB, free: 10.62 MB / 318.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.0001476/0.5731, allocations: 133 kB / 384.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.5732, allocations: 29.41 kB / 384.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.5733, allocations: 24.27 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5733, allocations: 2.375 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5733, allocations: 1.125 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5733, allocations: 6.766 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.5745, allocations: 0.5868 MB / 385.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5745, allocations: 1.688 kB / 385.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.5749, allocations: 56.25 kB / 385.6 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.5749, allocations: 3.375 kB / 385.6 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.575, allocations: 6.953 kB / 385.6 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.575, allocations: 6.734 kB / 385.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.575, allocations: 1.219 kB / 385.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.5759, allocations: 0.5014 MB / 386.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.576, allocations: 96.39 kB / 386.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.5761, allocations: 7.484 kB / 386.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.5763, allocations: 6.625 kB / 386.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.5764, allocations: 26.48 kB / 386.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.5765, allocations: 10.97 kB / 386.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.5766, allocations: 135.2 kB / 386.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5766, allocations: 4 kB / 386.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005084/0.5771, allocations: 51.03 kB / 386.5 MB, free: 9.418 MB / 318.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.0001493/0.5773, allocations: 102.7 kB / 386.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005687/0.5779, allocations: 178 kB / 386.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5779, allocations: 0 / 386.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.5782, allocations: 96.23 kB / 386.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.5789, allocations: 39.59 kB / 386.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.5808, allocations: 0.7034 MB / 387.6 MB, free: 8.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.5811, allocations: 0.7448 MB / 388.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5813, allocations: 22.44 kB / 388.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5813, allocations: 0 / 388.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of Templates: time 0.009639/0.5909, allocations: 2.653 MB / 391 MB, free: 7.781 MB / 318.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 -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