Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001737/0.001738, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.002031/0.002031, allocations: 195 kB / 18 MB, free: 5.105 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.462/1.462, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001296/0.001297, allocations: 47.94 kB / 327.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 46.63 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003873/0.1199, allocations: 2.4 MB / 376.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004839/0.1204, allocations: 235.1 kB / 377.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1205, allocations: 4 kB / 377.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.1207, allocations: 43.52 kB / 377.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1209, allocations: 83.27 kB / 377.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1211, allocations: 59.91 kB / 377.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.1214, allocations: 298.6 kB / 377.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.1217, allocations: 101.7 kB / 377.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1218, allocations: 107.6 kB / 377.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.122, allocations: 119.5 kB / 377.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.1221, allocations: 24 kB / 377.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.1222, allocations: 20 kB / 377.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.1222, allocations: 55.78 kB / 378 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1224, allocations: 131.3 kB / 378.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1227, allocations: 290.9 kB / 378.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1227, allocations: 0 / 378.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1227, allocations: 3.938 kB / 378.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1228, allocations: 4 kB / 378.4 MB, free: 0.6211 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.0009756/0.1237, allocations: 0.5419 MB / 379 MB, free: 28 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.1238, allocations: 8.031 kB / 379 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2531/0.3769, allocations: 30.14 kB / 379 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.3775, allocations: 237.9 kB / 379.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3775, allocations: 19.78 kB / 379.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.3776, allocations: 32.12 kB / 379.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.3781, allocations: 239.2 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.3781, allocations: 7.969 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.3782, allocations: 15.66 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3782, allocations: 5.5 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.3785, allocations: 160.7 kB / 379.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.3796, allocations: 0.7943 MB / 380.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.3801, allocations: 299.1 kB / 380.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3803, allocations: 135.2 kB / 380.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3804, allocations: 4.125 kB / 380.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.3804, allocations: 38.58 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.3804, allocations: 1.375 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002726/0.3831, allocations: 1.943 MB / 382.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3832, allocations: 111.2 kB / 383 MB, free: 10.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3834, allocations: 187.4 kB / 383.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3834, allocations: 37.08 kB / 383.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3835, allocations: 132.4 kB / 383.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3836, allocations: 165.5 kB / 383.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3837, allocations: 76.11 kB / 383.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.3838, allocations: 342.7 kB / 383.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3839, allocations: 87.89 kB / 384 MB, free: 9.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3841, allocations: 159.9 kB / 384.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.3845, allocations: 281.4 kB / 384.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3845, allocations: 0 / 384.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005/0.385, allocations: 333.1 kB / 384.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.385, allocations: 14.75 kB / 384.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.385, allocations: 1.219 kB / 384.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.3851, allocations: 4.734 kB / 384.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.3854, allocations: 95 kB / 384.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3854, allocations: 6.25 kB / 384.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3855, allocations: 11.97 kB / 384.9 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3856, allocations: 13.91 kB / 384.9 MB, free: 9.32 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.0001088/0.3857, allocations: 148.8 kB / 385.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.274e-05/0.3858, allocations: 34.17 kB / 385.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.3859, allocations: 45.56 kB / 385.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3859, allocations: 6.609 kB / 385.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3859, allocations: 0.9844 kB / 385.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3859, allocations: 3.688 kB / 385.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.3871, allocations: 1.046 MB / 386.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.3871, allocations: 3.562 kB / 386.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.3875, allocations: 91.5 kB / 386.3 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.3875, allocations: 9.688 kB / 386.3 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3875, allocations: 18.42 kB / 386.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3875, allocations: 4.734 kB / 386.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3876, allocations: 7.688 kB / 386.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.3882, allocations: 0.7167 MB / 387.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.3883, allocations: 106.7 kB / 387.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.3884, allocations: 17.69 kB / 387.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3886, allocations: 11.47 kB / 387.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.3886, allocations: 33 kB / 387.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.3887, allocations: 16.44 kB / 387.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.3888, allocations: 142.6 kB / 387.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3888, allocations: 0 / 387.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.3892, allocations: 71.44 kB / 387.4 MB, free: 7.582 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.0001145/0.3893, allocations: 121.6 kB / 387.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.3898, allocations: 270.5 kB / 387.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3898, allocations: 0 / 387.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.3901, allocations: 149 kB / 388 MB, free: 7.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.3908, allocations: 65 kB / 388 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3922, allocations: 0.9105 MB / 388.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3925, allocations: 0.7631 MB / 389.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.3927, allocations: 38.56 kB / 389.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.3927, allocations: 29.11 kB / 389.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3928, allocations: 0 / 389.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Templates: time 0.007326/0.4001, allocations: 3.109 MB / 392.9 MB, free: 5.676 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)