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.005507/0.005507, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001137/0.001137, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.466/1.466, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001218/0.001218, allocations: 47.44 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 46.64 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003251/0.11, allocations: 2.235 MB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.1104, allocations: 191.2 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.1105, allocations: 12 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.561e-05/0.1106, allocations: 35.64 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1108, allocations: 55.42 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.111, allocations: 55.92 kB / 375.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1112, allocations: 231 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1115, allocations: 114.3 kB / 376.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1116, allocations: 99.64 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.1118, allocations: 95.56 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1118, allocations: 28 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.522e-05/0.1118, allocations: 20 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.1119, allocations: 51.81 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.112, allocations: 115.5 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.1123, allocations: 251.1 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1123, allocations: 3.938 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1123, allocations: 0 / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1124, allocations: 0 / 376.7 MB, free: 13.72 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.000755/0.1131, allocations: 0.5071 MB / 377.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.1132, allocations: 8.031 kB / 377.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.1133, allocations: 24.66 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1135, allocations: 227.9 kB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1135, allocations: 12.94 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.1136, allocations: 24.38 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.114, allocations: 236.8 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.114, allocations: 192 / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1141, allocations: 11.94 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1141, allocations: 4 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.1143, allocations: 143.8 kB / 377.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1155, allocations: 0.8598 MB / 378.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1157, allocations: 171.6 kB / 378.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.1158, allocations: 62.56 kB / 379 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1158, allocations: 0 / 379 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1158, allocations: 42.44 kB / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.1158, allocations: 4 kB / 379.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004072/0.1163, allocations: 165.7 kB / 379.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.1163, allocations: 102.8 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1165, allocations: 202.1 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1166, allocations: 25.7 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1167, allocations: 159.8 kB / 379.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.1168, allocations: 67.09 kB / 379.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.1169, allocations: 53.89 kB / 379.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.117, allocations: 334.8 kB / 380.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.1171, allocations: 44.55 kB / 380.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1173, allocations: 154.8 kB / 380.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1176, allocations: 213.5 kB / 380.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1176, allocations: 8 kB / 380.5 MB, free: 9.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000342/0.1179, allocations: 241.7 kB / 380.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.118, allocations: 11.94 kB / 380.8 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.118, allocations: 4.438 kB / 380.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.118, allocations: 8 kB / 380.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1182, allocations: 59.91 kB / 380.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1182, allocations: 4.156 kB / 380.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1184, allocations: 31.69 kB / 380.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1184, allocations: 12 kB / 380.9 MB, free: 9.152 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.0001248/0.1185, allocations: 141.7 kB / 381.1 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.1186, allocations: 23.69 kB / 381.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.1187, allocations: 25.39 kB / 381.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1187, allocations: 8 kB / 381.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1187, allocations: 0 / 381.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1187, allocations: 0 / 381.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.1193, allocations: 424.8 kB / 381.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1193, allocations: 0 / 381.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1195, allocations: 43.92 kB / 381.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1195, allocations: 0 / 381.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1195, allocations: 4.094 kB / 381.6 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1195, allocations: 11.92 kB / 381.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1195, allocations: 4 kB / 381.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1199, allocations: 380.9 kB / 382 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.12, allocations: 100.9 kB / 382.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.12, allocations: 4 kB / 382.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1202, allocations: 4 kB / 382.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1202, allocations: 15.97 kB / 382.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1202, allocations: 8 kB / 382.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1203, allocations: 148.3 kB / 382.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1203, allocations: 0 / 382.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1207, allocations: 47.91 kB / 382.3 MB, free: 7.668 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.0001215/0.1208, allocations: 111.4 kB / 382.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1211, allocations: 135.8 kB / 382.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1211, allocations: 0 / 382.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.1212, allocations: 52.92 kB / 382.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.1217, allocations: 40.03 kB / 382.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.1227, allocations: 0.5833 MB / 383.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.123, allocations: 0.732 MB / 383.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.1231, allocations: 21.95 kB / 383.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1232, allocations: 15.44 kB / 384 MB, free: 5.902 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1232, allocations: 4 kB / 384 MB, free: 5.898 MB / 318.1 MB Notification: Performance of Templates: time 0.004121/0.1273, allocations: 1.561 MB / 385.5 MB, free: 4.336 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)