Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.007067/0.007067, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001303/0.001303, allocations: 192.6 kB / 16.67 MB, free: 5.93 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.445 MB / 174.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.001158/0.001158, allocations: 58.5 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003539/0.1126, allocations: 2.413 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004568/0.1131, allocations: 243 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1132, allocations: 4 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1134, allocations: 47.56 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1136, allocations: 79.28 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1138, allocations: 63.84 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1141, allocations: 290.7 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1143, allocations: 93.67 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1144, allocations: 107.6 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1146, allocations: 123.5 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.1146, allocations: 24 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.1147, allocations: 28 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.1147, allocations: 47.78 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1149, allocations: 135.3 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1152, allocations: 286.8 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1152, allocations: 0 / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1152, allocations: 3.938 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1152, allocations: 3.938 kB / 377.1 MB, free: 13.34 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.0007606/0.116, allocations: 0.5496 MB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.116, allocations: 12.03 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1161, allocations: 28.75 kB / 377.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1164, allocations: 256.5 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1164, allocations: 12.94 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.1165, allocations: 28.38 kB / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1169, allocations: 247.9 kB / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1169, allocations: 4.141 kB / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1169, allocations: 15.94 kB / 378.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.117, allocations: 4 kB / 378.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.1172, allocations: 159.8 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1183, allocations: 0.7972 MB / 379.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.1187, allocations: 287.7 kB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.119, allocations: 134.8 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.119, allocations: 7.984 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.119, allocations: 38.56 kB / 379.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.119, allocations: 0 / 379.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002509/0.1216, allocations: 1.958 MB / 381.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1217, allocations: 110.8 kB / 381.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1219, allocations: 191.2 kB / 381.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1219, allocations: 37.64 kB / 382 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.122, allocations: 140.8 kB / 382.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1221, allocations: 166.6 kB / 382.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1223, allocations: 74.09 kB / 382.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1224, allocations: 342.8 kB / 382.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1226, allocations: 88.84 kB / 382.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1228, allocations: 154.3 kB / 382.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1232, allocations: 283 kB / 383.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1232, allocations: 0 / 383.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004931/0.1237, allocations: 341.1 kB / 383.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1237, allocations: 7.938 kB / 383.5 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1237, allocations: 4 kB / 383.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1237, allocations: 0 / 383.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.1241, allocations: 95.89 kB / 383.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1241, allocations: 7.938 kB / 383.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1242, allocations: 12 kB / 383.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.1242, allocations: 20.09 kB / 383.7 MB, free: 6.203 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.0001391/0.1244, allocations: 141.8 kB / 383.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.1245, allocations: 31.8 kB / 383.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.1246, allocations: 41.86 kB / 383.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1246, allocations: 4 kB / 383.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.1246, allocations: 0 / 383.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1246, allocations: 3.984 kB / 383.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.126, allocations: 1.066 MB / 384.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.126, allocations: 4 kB / 384.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.1264, allocations: 87.89 kB / 385 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.1264, allocations: 7.938 kB / 385 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.1264, allocations: 16 kB / 385.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.1264, allocations: 7.938 kB / 385.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1264, allocations: 4 kB / 385.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/0.1272, allocations: 0.7181 MB / 385.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.1273, allocations: 108.9 kB / 385.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1274, allocations: 12.06 kB / 385.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1276, allocations: 11.94 kB / 385.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1276, allocations: 39.83 kB / 386 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1276, allocations: 12 kB / 386 MB, free: 3.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1277, allocations: 144.2 kB / 386.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1277, allocations: 0 / 386.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1281, allocations: 72 kB / 386.2 MB, free: 3.52 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.0001523/0.1283, allocations: 115.2 kB / 386.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.1288, allocations: 267.7 kB / 386.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1288, allocations: 4 kB / 386.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.1289, allocations: 140 kB / 386.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.1296, allocations: 68.64 kB / 386.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.131, allocations: 0.9081 MB / 387.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1313, allocations: 0.7721 MB / 388.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.1315, allocations: 38.94 kB / 388.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.1315, allocations: 31.44 kB / 388.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1315, allocations: 0 / 388.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of Templates: time 0.006155/0.1377, allocations: 3.044 MB / 391.6 MB, free: 14.05 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)