Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007349/0.007349, allocations: 100 kB / 15.73 MB, free: 6.043 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.001509/0.001509, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.00123/0.00123, allocations: 55.98 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 46.62 MB / 373.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003693/0.1113, allocations: 2.467 MB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005664/0.1119, allocations: 251.1 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.112, allocations: 7.938 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1122, allocations: 43.56 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1124, allocations: 87.2 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1126, allocations: 67.91 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.1129, allocations: 322.3 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1132, allocations: 107.1 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1133, allocations: 115.6 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1135, allocations: 143.3 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1136, allocations: 24 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.7e-05/0.1136, allocations: 24 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.1137, allocations: 55.78 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.1139, allocations: 143.3 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1143, allocations: 318.9 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1143, allocations: 4 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1143, allocations: 0 / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1143, allocations: 4 kB / 377.3 MB, free: 13.16 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00109/0.1154, allocations: 0.5575 MB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1155, allocations: 8.031 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.1156, allocations: 36.56 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.116, allocations: 243.9 kB / 378.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.116, allocations: 20.94 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.1161, allocations: 28.28 kB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.1166, allocations: 255.1 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.1166, allocations: 4.188 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.1167, allocations: 15.92 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1167, allocations: 8 kB / 378.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.117, allocations: 179.9 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1184, allocations: 0.7459 MB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.1188, allocations: 281 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1191, allocations: 130.2 kB / 379.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1191, allocations: 7.906 kB / 379.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1192, allocations: 38.48 kB / 379.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.582e-06/0.1192, allocations: 0 / 379.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002804/0.122, allocations: 1.7 MB / 381.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.1221, allocations: 93.03 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1223, allocations: 182.2 kB / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1223, allocations: 29.7 kB / 381.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1224, allocations: 140.7 kB / 382 MB, free: 8.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.1226, allocations: 169.5 kB / 382.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1227, allocations: 82.16 kB / 382.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1229, allocations: 338.8 kB / 382.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.1231, allocations: 105.1 kB / 382.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1233, allocations: 157.5 kB / 382.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.1238, allocations: 286 kB / 383.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1238, allocations: 0 / 383.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00059/0.1244, allocations: 369.9 kB / 383.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1244, allocations: 4.312 kB / 383.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1244, allocations: 7.922 kB / 383.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.1244, allocations: 4 kB / 383.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.1249, allocations: 99.84 kB / 383.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.1249, allocations: 4 kB / 383.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.125, allocations: 11.98 kB / 383.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.125, allocations: 16 kB / 383.6 MB, free: 6.418 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001971/0.1252, allocations: 153.8 kB / 383.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.1253, allocations: 39.56 kB / 383.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1254, allocations: 37.88 kB / 383.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1254, allocations: 4 kB / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.1255, allocations: 0 / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1255, allocations: 3.984 kB / 383.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.1269, allocations: 0.9481 MB / 384.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.127, allocations: 0 / 384.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.1274, allocations: 99.89 kB / 384.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1274, allocations: 0 / 384.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.1274, allocations: 15.94 kB / 384.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.1274, allocations: 4 kB / 384.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1274, allocations: 3.938 kB / 384.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/0.1284, allocations: 0.6396 MB / 385.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.1286, allocations: 104.7 kB / 385.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.1287, allocations: 12 kB / 385.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1288, allocations: 4 kB / 385.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.1289, allocations: 35.94 kB / 385.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1289, allocations: 12 kB / 385.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1291, allocations: 140.3 kB / 385.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1291, allocations: 0 / 385.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.1295, allocations: 80 kB / 385.9 MB, free: 3.977 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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.0001713/0.1296, allocations: 111.1 kB / 386 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005429/0.1302, allocations: 291.6 kB / 386.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1302, allocations: 0 / 386.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1304, allocations: 155.8 kB / 386.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.1311, allocations: 79.89 kB / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1328, allocations: 0.9934 MB / 387.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1333, allocations: 0.7764 MB / 388.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.1334, allocations: 38.95 kB / 388.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.1335, allocations: 27.44 kB / 388.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1335, allocations: 0 / 388.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of Templates: time 0.007266/0.1408, allocations: 3.164 MB / 391.5 MB, free: 14.27 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)