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.0009119/0.000912, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009824/0.0009824, allocations: 177.3 kB / 15.94 MB, free: 228 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004549/0.0004551, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2536, allocations: 47.58 MB / 326.4 MB, free: 1.656 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002377/0.256, allocations: 1.951 MB / 328.4 MB, free: 132 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004868/0.2565, allocations: 271.1 kB / 328.7 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2566, allocations: 3.5 kB / 328.7 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.386e-05/0.2567, allocations: 31.97 kB / 328.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.2569, allocations: 102.4 kB / 328.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.2571, allocations: 53.36 kB / 328.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.2574, allocations: 220.8 kB / 329.1 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.2576, allocations: 74.28 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2577, allocations: 98.58 kB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.2579, allocations: 112.7 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.2579, allocations: 13.28 kB / 329.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.258, allocations: 13.91 kB / 329.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.258, allocations: 51.05 kB / 329.4 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.2581, allocations: 77.05 kB / 329.5 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.2584, allocations: 228.4 kB / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2584, allocations: 0 / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2584, allocations: 0 / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2584, allocations: 0 / 329.7 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008628/0.2593, allocations: 0.5254 MB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2593, allocations: 9.688 kB / 330.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.2594, allocations: 35.16 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2598, allocations: 237.8 kB / 330.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.2598, allocations: 26.64 kB / 330.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.2599, allocations: 29.72 kB / 330.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.2603, allocations: 254.6 kB / 330.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.2603, allocations: 5.016 kB / 330.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.2604, allocations: 10.47 kB / 330.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2604, allocations: 6.969 kB / 330.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.2608, allocations: 176.3 kB / 331 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2619, allocations: 0.7572 MB / 331.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.2624, allocations: 268.4 kB / 332 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2624, allocations: 3.781 kB / 332 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.2624, allocations: 41.66 kB / 332.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.502e-06/0.2624, allocations: 4 kB / 332.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002776/0.2652, allocations: 1.7 MB / 333.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.2653, allocations: 85.14 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2655, allocations: 182.3 kB / 334 MB, free: 11.65 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2655, allocations: 33.7 kB / 334.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.2656, allocations: 144.5 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.2657, allocations: 177.5 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.2657, allocations: 12 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2659, allocations: 338.8 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2661, allocations: 101.1 kB / 334.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2663, allocations: 149.5 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.2665, allocations: 130.3 kB / 335.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2665, allocations: 0 / 335.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005418/0.267, allocations: 374.2 kB / 335.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2671, allocations: 4 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2671, allocations: 0 / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2671, allocations: 4 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.2675, allocations: 103.9 kB / 335.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.2675, allocations: 0 / 335.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2676, allocations: 12 kB / 335.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.2676, allocations: 19.94 kB / 335.6 MB, free: 10.04 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.0001646/0.2678, allocations: 153.8 kB / 335.8 MB, free: 9.875 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.2679, allocations: 31.67 kB / 335.8 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/0.268, allocations: 37.86 kB / 335.8 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.268, allocations: 4 kB / 335.8 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.268, allocations: 0 / 335.8 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.268, allocations: 0 / 335.8 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.2693, allocations: 0.9594 MB / 336.8 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2693, allocations: 0 / 336.8 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.2697, allocations: 95.95 kB / 336.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2697, allocations: 7.938 kB / 336.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.2697, allocations: 19.95 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2697, allocations: 4 kB / 336.9 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2697, allocations: 0 / 336.9 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2708, allocations: 0.668 MB / 337.6 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.271, allocations: 100.8 kB / 337.7 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.2711, allocations: 15.98 kB / 337.7 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2712, allocations: 8 kB / 337.7 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2713, allocations: 27.91 kB / 337.7 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2713, allocations: 15.94 kB / 337.8 MB, free: 7.762 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.748e-05/0.2714, allocations: 141.5 kB / 337.9 MB, free: 7.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2714, allocations: 0 / 337.9 MB, free: 7.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.2718, allocations: 80 kB / 338 MB, free: 7.547 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.0001174/0.272, allocations: 107.2 kB / 338.1 MB, free: 7.434 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000431/0.2724, allocations: 282.7 kB / 338.3 MB, free: 7.156 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2724, allocations: 4 kB / 338.4 MB, free: 7.152 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2726, allocations: 152.8 kB / 338.5 MB, free: 7.004 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.2731, allocations: 55.91 kB / 338.6 MB, free: 6.949 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.2751, allocations: 1.219 MB / 339.8 MB, free: 5.691 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.2755, allocations: 0.7809 MB / 340.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.2756, allocations: 34.95 kB / 340.6 MB, free: 4.848 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.2757, allocations: 27.44 kB / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2757, allocations: 0 / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of Templates: time 0.006122/0.2818, allocations: 2.758 MB / 343.4 MB, free: 2.066 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: