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.001197/0.001197, allocations: 108.1 kB / 17.06 MB, free: 6.023 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.0011/0.0011, allocations: 192 kB / 17.99 MB, free: 5.109 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.458/1.458, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001163/0.001163, allocations: 43.94 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 46.62 MB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003843/0.1145, allocations: 2.412 MB / 376.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.1153, allocations: 239.1 kB / 377.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1155, allocations: 7.938 kB / 377.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1157, allocations: 43.58 kB / 377.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.116, allocations: 79.27 kB / 377.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.1162, allocations: 59.92 kB / 377.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1165, allocations: 298.6 kB / 377.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1168, allocations: 97.67 kB / 377.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1169, allocations: 107.6 kB / 377.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1171, allocations: 123.5 kB / 377.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1172, allocations: 20 kB / 377.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.686e-05/0.1172, allocations: 24 kB / 378 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1173, allocations: 51.83 kB / 378 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1174, allocations: 135.3 kB / 378.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1177, allocations: 283 kB / 378.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1178, allocations: 0 / 378.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1178, allocations: 4 kB / 378.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1178, allocations: 3.938 kB / 378.4 MB, free: 0.625 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.0008782/0.1187, allocations: 0.5419 MB / 379 MB, free: 32 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1187, allocations: 12.03 kB / 379 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2255/0.3442, allocations: 23.89 kB / 379 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.3448, allocations: 246.2 kB / 379.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.3449, allocations: 20.03 kB / 379.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.3449, allocations: 25.69 kB / 379.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3454, allocations: 246.8 kB / 379.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.3454, allocations: 5.594 kB / 379.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3455, allocations: 14.19 kB / 379.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3455, allocations: 5.875 kB / 379.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.3458, allocations: 161.5 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3468, allocations: 0.7874 MB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3474, allocations: 298.3 kB / 380.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.3477, allocations: 135 kB / 380.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3477, allocations: 4.734 kB / 380.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3478, allocations: 39.59 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.285e-06/0.3478, allocations: 1.375 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002853/0.3506, allocations: 1.944 MB / 382.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3507, allocations: 116.2 kB / 383 MB, free: 10.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3509, allocations: 188.2 kB / 383.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3509, allocations: 31.95 kB / 383.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.351, allocations: 138.1 kB / 383.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3511, allocations: 165.8 kB / 383.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3512, allocations: 71.98 kB / 383.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3514, allocations: 338.2 kB / 383.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3516, allocations: 90.72 kB / 384 MB, free: 9.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3518, allocations: 153.2 kB / 384.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3522, allocations: 288 kB / 384.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3522, allocations: 4.578 kB / 384.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005491/0.3527, allocations: 333.2 kB / 384.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3528, allocations: 9.594 kB / 384.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3528, allocations: 1.125 kB / 384.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3528, allocations: 6.469 kB / 384.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3532, allocations: 97.12 kB / 384.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3532, allocations: 4.344 kB / 384.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3533, allocations: 12.12 kB / 384.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3533, allocations: 16.48 kB / 384.9 MB, free: 9.344 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.0001429/0.3535, allocations: 147.8 kB / 385.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.3536, allocations: 32.44 kB / 385.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-05/0.3537, allocations: 35.94 kB / 385.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3537, allocations: 6.469 kB / 385.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.3537, allocations: 3.141 kB / 385.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3537, allocations: 6.094 kB / 385.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.3551, allocations: 1.06 MB / 386.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3551, allocations: 4.844 kB / 386.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.3555, allocations: 83.14 kB / 386.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3555, allocations: 8.781 kB / 386.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.3555, allocations: 14.55 kB / 386.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.3555, allocations: 9.047 kB / 386.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3555, allocations: 3.219 kB / 386.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.3562, allocations: 0.7253 MB / 387.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.3563, allocations: 108.5 kB / 387.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3564, allocations: 14.11 kB / 387.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3566, allocations: 10.66 kB / 387.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.3566, allocations: 35.83 kB / 387.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.3567, allocations: 19.94 kB / 387.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3568, allocations: 142 kB / 387.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3568, allocations: 0 / 387.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.3572, allocations: 72.66 kB / 387.4 MB, free: 7.598 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.0001311/0.3574, allocations: 110.9 kB / 387.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.3578, allocations: 271.5 kB / 387.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3578, allocations: 5.281 kB / 387.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.358, allocations: 136.9 kB / 388 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.3587, allocations: 77.67 kB / 388 MB, free: 7.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3601, allocations: 0.9052 MB / 388.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3605, allocations: 0.7668 MB / 389.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3606, allocations: 38.97 kB / 389.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.3607, allocations: 28.41 kB / 389.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3607, allocations: 0 / 389.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Templates: time 0.00885/0.3696, allocations: 3.048 MB / 392.8 MB, free: 5.719 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)