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.0008944/0.0008945, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009618/0.0009618, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.457 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.0004175/0.0004175, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.001966/0.2126, allocations: 1.86 MB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003412/0.2129, allocations: 198.3 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.213, allocations: 3.5 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.2131, allocations: 27.61 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2132, allocations: 50.38 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2134, allocations: 39.53 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2136, allocations: 212.6 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2138, allocations: 86.58 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.002e-05/0.2139, allocations: 72.23 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.214, allocations: 88.8 kB / 329.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.214, allocations: 11.34 kB / 329.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.2141, allocations: 15.78 kB / 329.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.2141, allocations: 35.03 kB / 329.2 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.2142, allocations: 65.55 kB / 329.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.2144, allocations: 193.9 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2144, allocations: 3.984 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2144, allocations: 0 / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2144, allocations: 0 / 329.4 MB, free: 15.18 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.0006554/0.2151, allocations: 481.2 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2151, allocations: 9.062 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.2152, allocations: 23.62 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.2154, allocations: 217.2 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2154, allocations: 21.73 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.2155, allocations: 22.91 kB / 330.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.2159, allocations: 228 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2159, allocations: 9.016 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2159, allocations: 10.22 kB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.216, allocations: 5.281 kB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.2162, allocations: 132.1 kB / 330.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2173, allocations: 0.8635 MB / 331.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2175, allocations: 160.6 kB / 331.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.2176, allocations: 63.7 kB / 331.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2176, allocations: 2.094 kB / 331.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2177, allocations: 45.23 kB / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2177, allocations: 0 / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003611/0.218, allocations: 164.5 kB / 331.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2181, allocations: 104.9 kB / 331.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.2183, allocations: 192.5 kB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2183, allocations: 34.75 kB / 332.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.2184, allocations: 158.9 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.2184, allocations: 58.77 kB / 332.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.2185, allocations: 9.062 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2186, allocations: 332 kB / 332.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.2187, allocations: 49.48 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2188, allocations: 154.4 kB / 332.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.219, allocations: 74.48 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.219, allocations: 1.188 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003897/0.2194, allocations: 237.7 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2194, allocations: 11.7 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2194, allocations: 3.781 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2194, allocations: 4.531 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2197, allocations: 63.67 kB / 333.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.2197, allocations: 9.828 kB / 333.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2198, allocations: 28.31 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2199, allocations: 9.969 kB / 333.3 MB, free: 11.86 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.22, allocations: 148.9 kB / 333.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.2201, allocations: 16.94 kB / 333.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.2201, allocations: 29.78 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2201, allocations: 3.312 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2202, allocations: 1.156 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2202, allocations: 0 / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.2207, allocations: 421.7 kB / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2207, allocations: 5.25 kB / 334 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.2209, allocations: 38.62 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2209, allocations: 2.281 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2209, allocations: 6.281 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.221, allocations: 2.344 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.221, allocations: 1.406 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2214, allocations: 375.4 kB / 334.4 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.2214, allocations: 99.67 kB / 334.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.2215, allocations: 10.27 kB / 334.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2216, allocations: 5.281 kB / 334.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2217, allocations: 9.734 kB / 334.5 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.2217, allocations: 8.469 kB / 334.5 MB, free: 10.81 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2218, allocations: 141.5 kB / 334.6 MB, free: 10.7 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2218, allocations: 3.938 kB / 334.6 MB, free: 10.7 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.2222, allocations: 57.09 kB / 334.7 MB, free: 10.68 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.2223, allocations: 98.2 kB / 334.8 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.2226, allocations: 141 kB / 334.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2226, allocations: 3.938 kB / 334.9 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.2227, allocations: 66.39 kB / 335 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.2232, allocations: 30.94 kB / 335 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.2242, allocations: 0.7112 MB / 335.7 MB, free: 9.703 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2245, allocations: 0.7401 MB / 336.5 MB, free: 8.938 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.61e-05/0.2245, allocations: 21.94 kB / 336.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.2246, allocations: 19.44 kB / 336.5 MB, free: 8.898 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2246, allocations: 0 / 336.5 MB, free: 8.898 MB / 270.1 MB Notification: Performance of Templates: time 0.00387/0.2285, allocations: 1.389 MB / 337.9 MB, free: 7.508 MB / 270.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)