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.0008547/0.0008611, allocations: 89.98 kB / 16.65 MB, free: 6.602 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.001036/0.001036, allocations: 173.3 kB / 17.56 MB, free: 6.203 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.532/1.532, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004451/0.0004454, allocations: 12 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002502/0.1057, allocations: 2.092 MB / 330.4 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004527/0.1061, allocations: 231.1 kB / 330.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1063, allocations: 4 kB / 330.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1064, allocations: 31.77 kB / 330.7 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1066, allocations: 71.41 kB / 330.7 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.1067, allocations: 47.95 kB / 330.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.107, allocations: 286.6 kB / 331.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1073, allocations: 74.27 kB / 331.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.1074, allocations: 99.58 kB / 331.2 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1075, allocations: 103.5 kB / 331.3 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.1076, allocations: 12 kB / 331.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.1076, allocations: 12 kB / 331.4 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1077, allocations: 43.83 kB / 331.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1078, allocations: 149 kB / 331.6 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1081, allocations: 267.2 kB / 331.8 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1081, allocations: 0 / 331.8 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1082, allocations: 0 / 331.8 MB, free: 244 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1082, allocations: 0 / 331.8 MB, free: 244 kB / 270.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.0008201/0.109, allocations: 0.5031 MB / 332.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.1091, allocations: 8.031 kB / 332.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.1092, allocations: 32.59 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1095, allocations: 252.3 kB / 332.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.1096, allocations: 20.94 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.1096, allocations: 28.38 kB / 332.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.1101, allocations: 240 kB / 332.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1101, allocations: 192 / 332.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.1101, allocations: 15.94 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1102, allocations: 4 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.1104, allocations: 167.7 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1115, allocations: 0.8047 MB / 333.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.1121, allocations: 287.8 kB / 334.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.1124, allocations: 130.5 kB / 334.3 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1124, allocations: 15.98 kB / 334.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1124, allocations: 34.56 kB / 334.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.1124, allocations: 0 / 334.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002725/0.1152, allocations: 1.941 MB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.1153, allocations: 110.8 kB / 336.4 MB, free: 11.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1155, allocations: 190.6 kB / 336.6 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1155, allocations: 34.64 kB / 336.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1156, allocations: 140.6 kB / 336.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1158, allocations: 161.6 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1158, allocations: 41.7 kB / 336.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.1161, allocations: 338.8 kB / 337.3 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1162, allocations: 92.77 kB / 337.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1164, allocations: 158.3 kB / 337.5 MB, free: 9.969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.1168, allocations: 282.4 kB / 337.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1168, allocations: 4 kB / 337.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000483/0.1173, allocations: 337 kB / 338.1 MB, free: 9.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1173, allocations: 11.88 kB / 338.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.1173, allocations: 0 / 338.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1174, allocations: 4 kB / 338.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.1177, allocations: 95.89 kB / 338.2 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1177, allocations: 7.938 kB / 338.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1178, allocations: 16 kB / 338.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1178, allocations: 16.09 kB / 338.3 MB, free: 9.188 MB / 286.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.0001398/0.118, allocations: 149.7 kB / 338.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.1181, allocations: 31.61 kB / 338.4 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/0.1182, allocations: 53.78 kB / 338.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.1182, allocations: 4 kB / 338.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.1182, allocations: 4 kB / 338.5 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1182, allocations: 3.984 kB / 338.5 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.1196, allocations: 1.05 MB / 339.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1196, allocations: 4 kB / 339.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.12, allocations: 87.89 kB / 339.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.12, allocations: 7.938 kB / 339.7 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.12, allocations: 16.28 kB / 339.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.12, allocations: 11.94 kB / 339.7 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.12, allocations: 4 kB / 339.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.1208, allocations: 0.7246 MB / 340.4 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.1208, allocations: 96.83 kB / 340.5 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.1209, allocations: 20 kB / 340.5 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1211, allocations: 8 kB / 340.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1211, allocations: 35.89 kB / 340.6 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1212, allocations: 16 kB / 340.6 MB, free: 6.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1213, allocations: 140.2 kB / 340.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1213, allocations: 0 / 340.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.1217, allocations: 75.94 kB / 340.8 MB, free: 6.5 MB / 286.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.0001206/0.1218, allocations: 111.2 kB / 340.9 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.1222, allocations: 255.7 kB / 341.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1222, allocations: 0 / 341.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.1224, allocations: 147.7 kB / 341.3 MB, free: 5.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.1232, allocations: 68 kB / 341.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1246, allocations: 1.123 MB / 342.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.1249, allocations: 0.7723 MB / 343.3 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1251, allocations: 34.94 kB / 343.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1251, allocations: 31.44 kB / 343.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1251, allocations: 0 / 343.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of Templates: time 0.006156/0.1313, allocations: 2.809 MB / 346.1 MB, free: 1.07 MB / 286.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)