Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0076/0.007599, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.00131/0.00131, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.497/1.497, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001465/0.001465, allocations: 53.66 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00342/0.1204, allocations: 2.243 MB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004289/0.1209, allocations: 191.2 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.121, allocations: 8 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1212, allocations: 35.64 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1213, allocations: 63.41 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1216, allocations: 51.94 kB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1218, allocations: 234.9 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.1221, allocations: 114.3 kB / 376.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1222, allocations: 99.64 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1224, allocations: 103.5 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.1225, allocations: 24 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.1225, allocations: 24 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.1226, allocations: 43.84 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1227, allocations: 111.5 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.123, allocations: 255.1 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.123, allocations: 0 / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.123, allocations: 0 / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.123, allocations: 0 / 376.7 MB, free: 13.74 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008552/0.1239, allocations: 0.5071 MB / 377.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1239, allocations: 12.03 kB / 377.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.124, allocations: 24.66 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1243, allocations: 215.9 kB / 377.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1243, allocations: 16.94 kB / 377.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.1244, allocations: 24.38 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1248, allocations: 236.8 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1248, allocations: 4.125 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1248, allocations: 11.94 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1248, allocations: 11.98 kB / 377.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1251, allocations: 127.9 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1262, allocations: 0.852 MB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1264, allocations: 171.7 kB / 378.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.1265, allocations: 58.56 kB / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1265, allocations: 4 kB / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1266, allocations: 42.44 kB / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 5.179e-06/0.1266, allocations: 7.984 kB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003499/0.1269, allocations: 165.7 kB / 379.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.127, allocations: 106.8 kB / 379.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1272, allocations: 202.1 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1272, allocations: 25.7 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.1273, allocations: 159.8 kB / 379.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.1274, allocations: 67.09 kB / 379.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.1274, allocations: 49.89 kB / 379.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1276, allocations: 334.8 kB / 380.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.1277, allocations: 52.48 kB / 380.2 MB, free: 10.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1278, allocations: 154.8 kB / 380.3 MB, free: 9.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1281, allocations: 218.2 kB / 380.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1281, allocations: 7.938 kB / 380.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003241/0.1284, allocations: 245.1 kB / 380.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1285, allocations: 13.03 kB / 380.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1285, allocations: 448 / 380.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1285, allocations: 8 kB / 380.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1287, allocations: 63.91 kB / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1287, allocations: 7.938 kB / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1289, allocations: 27.69 kB / 380.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1289, allocations: 16 kB / 380.9 MB, free: 9.164 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001433/0.129, allocations: 137.8 kB / 381.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.1291, allocations: 23.73 kB / 381.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.1292, allocations: 21.41 kB / 381.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1292, allocations: 4 kB / 381.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1292, allocations: 4 kB / 381.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1293, allocations: 0 / 381.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.1298, allocations: 420.8 kB / 381.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1298, allocations: 4 kB / 381.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.13, allocations: 39.92 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.13, allocations: 4 kB / 381.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.13, allocations: 96 / 381.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1301, allocations: 11.94 kB / 381.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1301, allocations: 0 / 381.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1305, allocations: 388.8 kB / 382 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.1305, allocations: 96.86 kB / 382.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1306, allocations: 8 kB / 382.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1307, allocations: 0 / 382.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1307, allocations: 15.97 kB / 382.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1307, allocations: 8 kB / 382.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1309, allocations: 140.3 kB / 382.2 MB, free: 7.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1309, allocations: 0 / 382.2 MB, free: 7.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1312, allocations: 55.91 kB / 382.3 MB, free: 7.691 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0001205/0.1313, allocations: 111.1 kB / 382.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1316, allocations: 135.8 kB / 382.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1316, allocations: 0 / 382.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.1317, allocations: 56.97 kB / 382.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1323, allocations: 31.98 kB / 382.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1334, allocations: 0.5921 MB / 383.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1337, allocations: 0.732 MB / 383.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.779e-05/0.1338, allocations: 25.94 kB / 384 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.1339, allocations: 15.44 kB / 384 MB, free: 5.918 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.1339, allocations: 0 / 384 MB, free: 5.918 MB / 318.1 MB Notification: Performance of Templates: time 0.004645/0.1385, allocations: 1.577 MB / 385.5 MB, free: 4.34 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)