Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001131/0.001131, allocations: 112.2 kB / 17.06 MB, free: 5.969 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.001403/0.001404, allocations: 200 kB / 18.01 MB, free: 5.055 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.495/1.495, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001156/0.001156, allocations: 51.92 kB / 327.8 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003886/0.1092, allocations: 2.462 MB / 376.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000748/0.11, allocations: 251 kB / 377.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1102, allocations: 4 kB / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1104, allocations: 39.58 kB / 377.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1106, allocations: 99.11 kB / 377.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1109, allocations: 63.92 kB / 377.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.1112, allocations: 322.4 kB / 377.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.1115, allocations: 111 kB / 377.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1117, allocations: 119.6 kB / 377.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1119, allocations: 131.4 kB / 378 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.1119, allocations: 24 kB / 378.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.112, allocations: 24 kB / 378.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.112, allocations: 63.77 kB / 378.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1122, allocations: 147.3 kB / 378.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1125, allocations: 314.9 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1125, allocations: 3.938 kB / 378.6 MB, free: 424 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.1125, allocations: 0 / 378.6 MB, free: 424 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1125, allocations: 3.938 kB / 378.6 MB, free: 420 kB / 318.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.2211/0.3336, allocations: 0.5533 MB / 379.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3337, allocations: 9.781 kB / 379.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.3338, allocations: 32.66 kB / 379.2 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.3342, allocations: 246 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3342, allocations: 17.31 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.3343, allocations: 34.7 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.3347, allocations: 253.2 kB / 379.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3348, allocations: 2.062 kB / 379.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3348, allocations: 13.77 kB / 379.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3348, allocations: 8.25 kB / 379.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3351, allocations: 180.4 kB / 379.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3363, allocations: 0.7436 MB / 380.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.3367, allocations: 282.8 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3369, allocations: 125.6 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.337, allocations: 7.062 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.337, allocations: 37.58 kB / 381.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.337, allocations: 0 / 381.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002731/0.3397, allocations: 1.708 MB / 382.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3398, allocations: 86.8 kB / 382.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3399, allocations: 183.5 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.34, allocations: 35.17 kB / 383.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.3401, allocations: 143.3 kB / 383.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.3402, allocations: 174.4 kB / 383.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3403, allocations: 78 kB / 383.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.3403, allocations: 338 kB / 383.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3405, allocations: 103 kB / 384 MB, free: 10.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3407, allocations: 161.9 kB / 384.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3411, allocations: 281.2 kB / 384.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3411, allocations: 2.812 kB / 384.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004962/0.3416, allocations: 373 kB / 384.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3417, allocations: 10.31 kB / 384.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3417, allocations: 1.188 kB / 384.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3417, allocations: 3.656 kB / 384.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.3421, allocations: 101.1 kB / 384.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3421, allocations: 2.531 kB / 384.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3422, allocations: 12.86 kB / 384.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.3423, allocations: 18.16 kB / 384.9 MB, free: 9.609 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.3424, allocations: 151.6 kB / 385.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.3425, allocations: 37.06 kB / 385.1 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.3425, allocations: 37.23 kB / 385.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3426, allocations: 4.594 kB / 385.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.3426, allocations: 1.594 kB / 385.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3426, allocations: 2.297 kB / 385.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.344, allocations: 0.9425 MB / 386.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.344, allocations: 1.188 kB / 386.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.3445, allocations: 98.06 kB / 386.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3445, allocations: 3.859 kB / 386.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.3446, allocations: 11.94 kB / 386.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.3446, allocations: 6.672 kB / 386.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3446, allocations: 1.312 kB / 386.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.3455, allocations: 0.6387 MB / 386.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3456, allocations: 113.2 kB / 386.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.3456, allocations: 7.922 kB / 387 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.3458, allocations: 11.44 kB / 387 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.3459, allocations: 34.88 kB / 387 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3459, allocations: 10.53 kB / 387 MB, free: 8.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.346, allocations: 134.3 kB / 387.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.346, allocations: 0 / 387.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000413/0.3465, allocations: 82.48 kB / 387.2 MB, free: 8.129 MB / 318.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 (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.0001786/0.3466, allocations: 109.1 kB / 387.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.3473, allocations: 293.1 kB / 387.6 MB, free: 7.938 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3473, allocations: 4.844 kB / 387.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.3476, allocations: 154 kB / 387.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.3482, allocations: 76.64 kB / 387.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3498, allocations: 0.997 MB / 388.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3502, allocations: 0.7753 MB / 389.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.3503, allocations: 30.72 kB / 389.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.3504, allocations: 27.75 kB / 389.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3504, allocations: 0 / 389.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Templates: time 0.009496/0.3599, allocations: 3.178 MB / 392.9 MB, free: 6.195 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)