Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.001711, allocations: 109.4 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.002605/0.002605, allocations: 193.2 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.158/3.158, 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.002445/0.002445, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1687, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.006473/0.1752, allocations: 2.402 MB / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1764, allocations: 247.1 kB / 378.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/0.1768, allocations: 4 kB / 378.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1772, allocations: 43.58 kB / 378.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1776, allocations: 83.2 kB / 378.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.178, allocations: 59.92 kB / 378.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.1786, allocations: 290.6 kB / 378.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.179, allocations: 105.7 kB / 379 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1793, allocations: 111.6 kB / 379.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.1797, allocations: 115.5 kB / 379.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.939e-05/0.1798, allocations: 20 kB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1799, allocations: 24 kB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.18, allocations: 47.84 kB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.1803, allocations: 139.3 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.1808, allocations: 287 kB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.1809, allocations: 4 kB / 379.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1809, allocations: 7.938 kB / 379.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.1809, allocations: 0 / 379.8 MB, free: 0.6133 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001278/0.1822, allocations: 0.538 MB / 380.3 MB, free: 24 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.1823, allocations: 8.031 kB / 380.3 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4037/0.586, allocations: 25.39 kB / 380.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.5869, allocations: 243.6 kB / 380.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.587, allocations: 18.2 kB / 380.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5871, allocations: 30.67 kB / 380.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.5879, allocations: 245.4 kB / 380.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.588, allocations: 5.359 kB / 380.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.588, allocations: 19.03 kB / 380.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5881, allocations: 5.531 kB / 380.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.5886, allocations: 157.3 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.5905, allocations: 0.8044 MB / 381.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.5914, allocations: 287.8 kB / 382.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.5919, allocations: 136.2 kB / 382.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.592, allocations: 4.438 kB / 382.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.592, allocations: 38.69 kB / 382.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 4.919e-06/0.5921, allocations: 2.156 kB / 382.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.004307/0.5964, allocations: 1.941 MB / 384.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.5965, allocations: 111.5 kB / 384.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.5968, allocations: 191.3 kB / 384.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.5968, allocations: 31.27 kB / 384.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.5969, allocations: 137.4 kB / 384.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.5971, allocations: 162 kB / 384.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.5973, allocations: 75.44 kB / 384.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5974, allocations: 341.4 kB / 385.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.5977, allocations: 91.66 kB / 385.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.598, allocations: 154.7 kB / 385.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.5986, allocations: 278.5 kB / 385.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.5986, allocations: 3.281 kB / 385.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008499/0.5995, allocations: 335.3 kB / 386.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.5996, allocations: 11.38 kB / 386.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.5996, allocations: 2.562 kB / 386.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.5996, allocations: 8.125 kB / 386.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.6002, allocations: 88.5 kB / 386.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.6003, allocations: 3.531 kB / 386.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.6005, allocations: 18.28 kB / 386.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.6006, allocations: 14.69 kB / 386.3 MB, free: 9.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0002118/0.6008, allocations: 151.4 kB / 386.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.601, allocations: 35.14 kB / 386.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.6011, allocations: 39.59 kB / 386.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.6012, allocations: 10.97 kB / 386.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.6012, allocations: 1.125 kB / 386.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6012, allocations: 3.219 kB / 386.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.6077, allocations: 1.051 MB / 387.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.6078, allocations: 2.953 kB / 387.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.6086, allocations: 93.33 kB / 387.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/0.6086, allocations: 8.5 kB / 387.6 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.6087, allocations: 10.38 kB / 387.7 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.735e-05/0.6087, allocations: 9 kB / 387.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.6088, allocations: 3.922 kB / 387.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.6103, allocations: 0.7155 MB / 388.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.6105, allocations: 108.2 kB / 388.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.6106, allocations: 11.08 kB / 388.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.611, allocations: 15.66 kB / 388.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.6111, allocations: 37.06 kB / 388.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.6111, allocations: 11.3 kB / 388.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.6113, allocations: 146.7 kB / 388.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6113, allocations: 0 / 388.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008926/0.6122, allocations: 72 kB / 388.8 MB, free: 7.594 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0002004/0.6124, allocations: 113.4 kB / 388.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009551/0.6134, allocations: 274.1 kB / 389.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.6134, allocations: 0 / 389.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.6139, allocations: 151.5 kB / 389.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6151, allocations: 74.45 kB / 389.4 MB, free: 7.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.6175, allocations: 0.9386 MB / 390.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.6179, allocations: 0.7678 MB / 391.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.618, allocations: 29.66 kB / 391.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6181, allocations: 0 / 391.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of Templates: time 0.01761/0.6357, allocations: 3.506 MB / 394.6 MB, free: 5.555 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches