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.005841/0.005841, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001301/0.001301, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.483/1.483, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001248/0.001248, allocations: 61.53 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 46.61 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003547/0.1122, allocations: 2.405 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005061/0.1127, allocations: 239 kB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1128, allocations: 4 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.113, allocations: 55.52 kB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1132, allocations: 75.27 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1134, allocations: 63.84 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1137, allocations: 286.7 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.1139, allocations: 105.7 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.114, allocations: 103.6 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1142, allocations: 119.5 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.1143, allocations: 24 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.1143, allocations: 20 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.1144, allocations: 55.77 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1145, allocations: 135.3 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.1148, allocations: 291 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1148, allocations: 0 / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1148, allocations: 0 / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1149, allocations: 0 / 377.1 MB, free: 13.36 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.0008027/0.1157, allocations: 0.5342 MB / 377.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1157, allocations: 16.02 kB / 377.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.1158, allocations: 32.56 kB / 377.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1161, allocations: 252.5 kB / 377.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1162, allocations: 16.94 kB / 377.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1163, allocations: 32.28 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.1167, allocations: 239.9 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1167, allocations: 4.188 kB / 378.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1168, allocations: 15.94 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1168, allocations: 8 kB / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.117, allocations: 159.8 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.1182, allocations: 0.789 MB / 379.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.1187, allocations: 295.6 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.119, allocations: 130.5 kB / 379.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.119, allocations: 4 kB / 379.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.119, allocations: 46.5 kB / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.119, allocations: 0 / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002794/0.1218, allocations: 1.953 MB / 381.6 MB, free: 8.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.1219, allocations: 106.8 kB / 381.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1221, allocations: 191.2 kB / 381.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1221, allocations: 33.7 kB / 381.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1223, allocations: 132.8 kB / 382.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1224, allocations: 165.6 kB / 382.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1225, allocations: 78.06 kB / 382.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1226, allocations: 338.8 kB / 382.6 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1228, allocations: 92.83 kB / 382.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.123, allocations: 154.3 kB / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.1234, allocations: 275.1 kB / 383.1 MB, free: 6.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1234, allocations: 3.938 kB / 383.1 MB, free: 6.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004739/0.1239, allocations: 341 kB / 383.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1239, allocations: 11.94 kB / 383.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1239, allocations: 0 / 383.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.124, allocations: 4 kB / 383.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.1243, allocations: 95.89 kB / 383.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.1243, allocations: 7.938 kB / 383.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1244, allocations: 12 kB / 383.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.1245, allocations: 12 kB / 383.6 MB, free: 6.25 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.0001647/0.1246, allocations: 154.8 kB / 383.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.1247, allocations: 27.66 kB / 383.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.1248, allocations: 37.86 kB / 383.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1248, allocations: 8 kB / 383.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.1248, allocations: 0 / 383.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1249, allocations: 0 / 383.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.1262, allocations: 1.074 MB / 384.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1262, allocations: 4 kB / 384.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.1265, allocations: 84.19 kB / 385 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.1266, allocations: 7.938 kB / 385 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.1266, allocations: 16 kB / 385 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.1266, allocations: 15.92 kB / 385 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1266, allocations: 4 kB / 385 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.1273, allocations: 0.7132 MB / 385.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.1274, allocations: 104.8 kB / 385.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.1275, allocations: 20.06 kB / 385.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1277, allocations: 8 kB / 385.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.1278, allocations: 31.84 kB / 385.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1278, allocations: 19.98 kB / 385.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1279, allocations: 136.2 kB / 386.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1279, allocations: 0 / 386.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.1284, allocations: 72 kB / 386.1 MB, free: 3.562 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.0001634/0.1286, allocations: 115.4 kB / 386.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.1291, allocations: 267.6 kB / 386.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1291, allocations: 0 / 386.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.1293, allocations: 144.3 kB / 386.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.13, allocations: 69.05 kB / 386.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1314, allocations: 0.9085 MB / 387.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1318, allocations: 0.7644 MB / 388.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.1319, allocations: 34.95 kB / 388.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.132, allocations: 27.44 kB / 388.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.132, allocations: 0 / 388.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of Templates: time 0.00638/0.1384, allocations: 3.048 MB / 391.5 MB, free: 14.1 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)