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.001181/0.001181, allocations: 95.67 kB / 16.3 MB, free: 5.539 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.001359/0.00136, allocations: 180.5 kB / 17.2 MB, free: 5.473 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.492/1.492, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004434/0.0004434, allocations: 11.28 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002283/0.1043, allocations: 1.95 MB / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004319/0.1047, allocations: 271.2 kB / 329.9 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.1048, allocations: 4 kB / 329.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.81e-05/0.1049, allocations: 31.75 kB / 329.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1051, allocations: 107.6 kB / 330 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1053, allocations: 51.94 kB / 330.1 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1055, allocations: 219.5 kB / 330.3 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1057, allocations: 81.64 kB / 330.4 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.1058, allocations: 95.66 kB / 330.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1059, allocations: 115.5 kB / 330.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.106, allocations: 20 kB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.434e-05/0.106, allocations: 12 kB / 330.6 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.106, allocations: 43.78 kB / 330.7 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.1061, allocations: 73.58 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1063, allocations: 227.6 kB / 331 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1063, allocations: 0 / 331 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1063, allocations: 0 / 331 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1063, allocations: 0 / 331 MB, free: 0.8125 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.000707/0.1071, allocations: 0.5301 MB / 331.5 MB, free: 240 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1071, allocations: 8.031 kB / 331.5 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.1072, allocations: 31.62 kB / 331.5 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1074, allocations: 238.7 kB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1075, allocations: 20.52 kB / 331.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.1075, allocations: 39.84 kB / 331.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.1079, allocations: 246.6 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1079, allocations: 0 / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.108, allocations: 12 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.108, allocations: 4 kB / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.1083, allocations: 175.9 kB / 332.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.1092, allocations: 0.7577 MB / 333 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.1096, allocations: 269.3 kB / 333.3 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1096, allocations: 4 kB / 333.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1097, allocations: 46.5 kB / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.363e-06/0.1097, allocations: 0 / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.00256/0.1123, allocations: 1.708 MB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1123, allocations: 89.05 kB / 335.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1125, allocations: 174.3 kB / 335.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1125, allocations: 37.7 kB / 335.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.1126, allocations: 140.7 kB / 335.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1128, allocations: 173.5 kB / 335.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.1128, allocations: 12 kB / 335.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1129, allocations: 338.8 kB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1131, allocations: 97.09 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1133, allocations: 157.5 kB / 336.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.1136, allocations: 130.3 kB / 336.4 MB, free: 11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1136, allocations: 0 / 336.4 MB, free: 11 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004908/0.1141, allocations: 366.2 kB / 336.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1141, allocations: 11.28 kB / 336.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1141, allocations: 0 / 336.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1141, allocations: 4 kB / 336.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1145, allocations: 99.89 kB / 336.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1145, allocations: 4 kB / 336.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1147, allocations: 16.06 kB / 336.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1147, allocations: 12 kB / 336.9 MB, free: 10.49 MB / 286.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.0001614/0.1148, allocations: 161.6 kB / 337 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.1149, allocations: 27.67 kB / 337 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.115, allocations: 33.88 kB / 337.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.115, allocations: 11.98 kB / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.115, allocations: 0 / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1151, allocations: 3.984 kB / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1163, allocations: 0.9555 MB / 338 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1163, allocations: 4.062 kB / 338 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.1167, allocations: 95.84 kB / 338.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1167, allocations: 4 kB / 338.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.1167, allocations: 15.94 kB / 338.2 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1168, allocations: 0 / 338.2 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1168, allocations: 4 kB / 338.2 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.1176, allocations: 0.668 MB / 338.8 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.1177, allocations: 100.7 kB / 338.9 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1177, allocations: 19.88 kB / 338.9 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1179, allocations: 4 kB / 339 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.118, allocations: 35.89 kB / 339 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.118, allocations: 16 kB / 339 MB, free: 8.203 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1181, allocations: 136.3 kB / 339.1 MB, free: 8.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 0 / 339.1 MB, free: 8.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1185, allocations: 76 kB / 339.2 MB, free: 7.996 MB / 286.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.0001292/0.1186, allocations: 107.2 kB / 339.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.1191, allocations: 286.7 kB / 339.6 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1191, allocations: 128 / 339.6 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1193, allocations: 160.6 kB / 339.8 MB, free: 7.449 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.1198, allocations: 51.92 kB / 339.8 MB, free: 7.398 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1215, allocations: 1.226 MB / 341 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1218, allocations: 0.7809 MB / 341.8 MB, free: 5.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.122, allocations: 30.95 kB / 341.8 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.122, allocations: 31.44 kB / 341.9 MB, free: 5.262 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.122, allocations: 0 / 341.9 MB, free: 5.262 MB / 286.1 MB Notification: Performance of Templates: time 0.005935/0.128, allocations: 2.754 MB / 344.6 MB, free: 2.512 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: