Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.001154/0.001154, 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.001388/0.001388, 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.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.0005232/0.0005234, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.268, allocations: 47.59 MB / 326.5 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001902/0.2699, allocations: 2.055 MB / 328.5 MB, free: 16 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004911/0.2704, allocations: 252.1 kB / 328.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.2706, allocations: 7.469 kB / 328.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2707, allocations: 31.95 kB / 328.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2708, allocations: 78.27 kB / 328.9 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.271, allocations: 50.25 kB / 328.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.2713, allocations: 290.8 kB / 329.2 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2715, allocations: 74.62 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.2716, allocations: 101 kB / 329.4 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.2718, allocations: 115.8 kB / 329.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.2718, allocations: 17.91 kB / 329.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.2719, allocations: 13.81 kB / 329.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.2719, allocations: 39.94 kB / 329.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.272, allocations: 76.8 kB / 329.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.2722, allocations: 229.2 kB / 329.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2722, allocations: 4.969 kB / 329.9 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2722, allocations: 0 / 329.9 MB, free: 15.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2722, allocations: 0 / 329.9 MB, free: 15.06 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006753/0.2729, allocations: 0.5261 MB / 330.4 MB, free: 14.58 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.273, allocations: 9.594 kB / 330.4 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.273, allocations: 31.38 kB / 330.4 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.2733, allocations: 245.5 kB / 330.7 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.2733, allocations: 22.67 kB / 330.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.2734, allocations: 33.25 kB / 330.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.2738, allocations: 248.8 kB / 331 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2738, allocations: 10.2 kB / 331 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2738, allocations: 10.19 kB / 331 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2739, allocations: 6.531 kB / 331 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.2741, allocations: 176.6 kB / 331.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.2751, allocations: 0.753 MB / 331.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.2755, allocations: 268.7 kB / 332.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2757, allocations: 126 kB / 332.3 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2758, allocations: 11.22 kB / 332.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2758, allocations: 37.12 kB / 332.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.663e-06/0.2758, allocations: 3.938 kB / 332.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002454/0.2782, allocations: 1.702 MB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.2783, allocations: 81.11 kB / 334.2 MB, free: 11.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2785, allocations: 182.3 kB / 334.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2785, allocations: 37.7 kB / 334.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.2786, allocations: 140.6 kB / 334.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2787, allocations: 169.5 kB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.2788, allocations: 12 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2789, allocations: 334.8 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.2791, allocations: 105.1 kB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.2793, allocations: 157.5 kB / 335.3 MB, free: 10.39 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.2795, allocations: 134.2 kB / 335.4 MB, free: 10.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2795, allocations: 0 / 335.4 MB, free: 10.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004941/0.28, allocations: 366.3 kB / 335.8 MB, free: 9.902 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.28, allocations: 4 kB / 335.8 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.28, allocations: 4 kB / 335.8 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.28, allocations: 0 / 335.8 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.2804, allocations: 107.8 kB / 335.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2804, allocations: 4.062 kB / 335.9 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.2805, allocations: 12 kB / 335.9 MB, free: 9.773 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2806, allocations: 16 kB / 335.9 MB, free: 9.758 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.2807, allocations: 153.7 kB / 336.1 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.2808, allocations: 35.67 kB / 336.1 MB, free: 9.562 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.2809, allocations: 33.88 kB / 336.1 MB, free: 9.531 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.2809, allocations: 4 kB / 336.1 MB, free: 9.527 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2809, allocations: 0 / 336.1 MB, free: 9.527 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.2809, allocations: 7.984 kB / 336.1 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2821, allocations: 0.9593 MB / 337.1 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2821, allocations: 4 kB / 337.1 MB, free: 8.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.2825, allocations: 91.91 kB / 337.2 MB, free: 8.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2825, allocations: 0 / 337.2 MB, free: 8.402 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.2825, allocations: 19.94 kB / 337.2 MB, free: 8.383 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2825, allocations: 4 kB / 337.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2826, allocations: 0 / 337.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.2833, allocations: 0.6434 MB / 337.9 MB, free: 7.711 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.2833, allocations: 100.7 kB / 337.9 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.2834, allocations: 12 kB / 338 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2836, allocations: 11.95 kB / 338 MB, free: 7.57 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2836, allocations: 27.95 kB / 338 MB, free: 7.543 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2836, allocations: 12 kB / 338 MB, free: 7.531 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.757e-05/0.2837, allocations: 137.5 kB / 338.1 MB, free: 7.398 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2837, allocations: 0 / 338.1 MB, free: 7.398 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.2841, allocations: 80 kB / 338.2 MB, free: 7.32 MB / 270.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 (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.000111/0.2842, allocations: 111.2 kB / 338.3 MB, free: 7.203 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.2846, allocations: 294.6 kB / 338.6 MB, free: 6.914 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2846, allocations: 0 / 338.6 MB, free: 6.914 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.2848, allocations: 148.8 kB / 338.8 MB, free: 6.77 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.2854, allocations: 64.11 kB / 338.8 MB, free: 6.707 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2869, allocations: 1.219 MB / 340 MB, free: 5.449 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.2871, allocations: 0.7728 MB / 340.8 MB, free: 4.645 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.2873, allocations: 30.95 kB / 340.8 MB, free: 4.617 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.2873, allocations: 27.44 kB / 340.9 MB, free: 4.594 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2873, allocations: 0 / 340.9 MB, free: 4.594 MB / 270.1 MB Notification: Performance of Templates: time 0.005355/0.2927, allocations: 2.774 MB / 343.6 MB, free: 1.82 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)