Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001343/0.001343, allocations: 102.8 kB / 16.62 MB, free: 6.809 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.001499/0.001499, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.499/1.499, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001166/0.001166, allocations: 51.94 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1107, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003476/0.1142, allocations: 2.3 MB / 328.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003947/0.1147, allocations: 191.3 kB / 328.6 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.1147, allocations: 4 kB / 328.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.448e-05/0.1148, allocations: 27.77 kB / 328.6 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.115, allocations: 55.59 kB / 328.7 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1152, allocations: 39.97 kB / 328.7 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1154, allocations: 238.9 kB / 329 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1157, allocations: 106.6 kB / 329.1 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1158, allocations: 91.72 kB / 329.2 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1159, allocations: 103.5 kB / 329.3 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.116, allocations: 24 kB / 329.3 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.116, allocations: 24 kB / 329.3 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.1161, allocations: 47.78 kB / 329.4 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1162, allocations: 119.4 kB / 329.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1165, allocations: 255.3 kB / 329.7 MB, free: 1.188 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1165, allocations: 0 / 329.7 MB, free: 1.188 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1165, allocations: 0 / 329.7 MB, free: 1.188 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1165, allocations: 0 / 329.7 MB, free: 1.188 MB / 270.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.0007914/0.1173, allocations: 0.5032 MB / 330.2 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1173, allocations: 11.97 kB / 330.2 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.1174, allocations: 24.66 kB / 330.3 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1177, allocations: 216 kB / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1177, allocations: 16.94 kB / 330.5 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.1177, allocations: 28.36 kB / 330.5 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.1182, allocations: 232.8 kB / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1182, allocations: 192 / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1182, allocations: 15.94 kB / 330.8 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1183, allocations: 8 kB / 330.8 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.1185, allocations: 131.9 kB / 330.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1197, allocations: 0.8554 MB / 331.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.12, allocations: 163.7 kB / 331.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1201, allocations: 66.5 kB / 332 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1201, allocations: 0 / 332 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1202, allocations: 42.5 kB / 332 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1202, allocations: 0 / 332 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003922/0.1206, allocations: 165.7 kB / 332.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1206, allocations: 106.8 kB / 332.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1208, allocations: 202.6 kB / 332.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1208, allocations: 29.7 kB / 332.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.121, allocations: 155.8 kB / 332.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.121, allocations: 71.09 kB / 332.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.1211, allocations: 49.98 kB / 332.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1212, allocations: 330.8 kB / 333.1 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.1213, allocations: 44.55 kB / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1215, allocations: 154.8 kB / 333.3 MB, free: 13.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.1217, allocations: 230.1 kB / 333.5 MB, free: 13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1217, allocations: 0 / 333.5 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003321/0.1221, allocations: 249.4 kB / 333.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1221, allocations: 19.94 kB / 333.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1221, allocations: 4 kB / 333.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1221, allocations: 7.984 kB / 333.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1223, allocations: 55.92 kB / 333.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1224, allocations: 7.938 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1225, allocations: 23.75 kB / 333.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1225, allocations: 19.94 kB / 333.9 MB, free: 12.62 MB / 286.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.0001189/0.1227, allocations: 141.7 kB / 334 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.1227, allocations: 27.75 kB / 334.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1229, allocations: 21.41 kB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1229, allocations: 4 kB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1229, allocations: 0 / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1229, allocations: 3.984 kB / 334.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.1234, allocations: 416.8 kB / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.1234, allocations: 4 kB / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.1236, allocations: 40.02 kB / 334.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1237, allocations: 4 kB / 334.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1237, allocations: 8 kB / 334.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1237, allocations: 3.984 kB / 334.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1237, allocations: 0 / 334.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.1241, allocations: 380.1 kB / 334.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1242, allocations: 96.92 kB / 335 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1242, allocations: 0 / 335 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1243, allocations: 8 kB / 335 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.1244, allocations: 11.97 kB / 335.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1244, allocations: 8 kB / 335.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1245, allocations: 140.3 kB / 335.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1245, allocations: 4 kB / 335.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1249, allocations: 59.84 kB / 335.3 MB, free: 11.15 MB / 286.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.00012/0.125, allocations: 99.19 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1253, allocations: 143.8 kB / 335.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1253, allocations: 4.812 kB / 335.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.1254, allocations: 59.95 kB / 335.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1259, allocations: 35.98 kB / 335.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.127, allocations: 0.6656 MB / 336.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1274, allocations: 0.7398 MB / 337 MB, free: 9.332 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.905e-05/0.1275, allocations: 25.94 kB / 337 MB, free: 9.305 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1275, allocations: 19.38 kB / 337 MB, free: 9.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1275, allocations: 0 / 337 MB, free: 9.285 MB / 286.1 MB Notification: Performance of Templates: time 0.00433/0.1319, allocations: 1.523 MB / 338.6 MB, free: 7.766 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)