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.001272/0.001272, allocations: 88.16 kB / 16.31 MB, free: 5.559 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.001554/0.001554, allocations: 180.4 kB / 17.21 MB, free: 5.477 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.524/1.524, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004658/0.0004659, allocations: 8 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 47.58 MB / 327.7 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002691/0.1107, allocations: 2.058 MB / 329.8 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004352/0.1111, allocations: 255 kB / 330 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1112, allocations: 4 kB / 330 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1114, allocations: 35.7 kB / 330.1 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1115, allocations: 75.38 kB / 330.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1117, allocations: 43.95 kB / 330.2 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.112, allocations: 298.5 kB / 330.5 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1122, allocations: 85.64 kB / 330.6 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.1123, allocations: 95.66 kB / 330.7 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1125, allocations: 119.5 kB / 330.8 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.1125, allocations: 12 kB / 330.8 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.1125, allocations: 12 kB / 330.8 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.1126, allocations: 39.84 kB / 330.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1127, allocations: 81.52 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1129, allocations: 231.6 kB / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1129, allocations: 0 / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1129, allocations: 0 / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1129, allocations: 4 kB / 331.1 MB, free: 0.6367 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.0006888/0.1136, allocations: 0.5223 MB / 331.7 MB, free: 68 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1137, allocations: 12.03 kB / 331.7 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.1138, allocations: 31.62 kB / 331.7 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.114, allocations: 238.7 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.114, allocations: 20.52 kB / 332 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.1141, allocations: 31.91 kB / 332 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.1146, allocations: 246.5 kB / 332.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.1146, allocations: 7.984 kB / 332.2 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.1147, allocations: 8 kB / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1147, allocations: 8 kB / 332.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.115, allocations: 179.9 kB / 332.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1161, allocations: 0.7461 MB / 333.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.1165, allocations: 285.2 kB / 333.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.1167, allocations: 129.7 kB / 333.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1167, allocations: 4 kB / 333.6 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1168, allocations: 34.5 kB / 333.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.482e-06/0.1168, allocations: 0 / 333.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002506/0.1193, allocations: 1.719 MB / 335.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1193, allocations: 85.05 kB / 335.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1195, allocations: 182.2 kB / 335.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1195, allocations: 33.64 kB / 335.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1196, allocations: 136.8 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1197, allocations: 177.4 kB / 335.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.1197, allocations: 8 kB / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1199, allocations: 342.8 kB / 336.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.12, allocations: 101.1 kB / 336.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1202, allocations: 153.5 kB / 336.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.1204, allocations: 130.3 kB / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1204, allocations: 0 / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004976/0.1209, allocations: 366.3 kB / 337 MB, free: 10.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.121, allocations: 8.062 kB / 337 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.121, allocations: 0 / 337 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.121, allocations: 4 kB / 337 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.1213, allocations: 99.89 kB / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1214, allocations: 4 kB / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1215, allocations: 12 kB / 337.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1215, allocations: 12 kB / 337.1 MB, free: 10.19 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.000129/0.1216, allocations: 157.7 kB / 337.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1217, allocations: 31.58 kB / 337.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.143e-05/0.1218, allocations: 49.86 kB / 337.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1218, allocations: 4 kB / 337.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1218, allocations: 0 / 337.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1218, allocations: 3.984 kB / 337.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.123, allocations: 0.9439 MB / 338.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.123, allocations: 0 / 338.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.1234, allocations: 95.89 kB / 338.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1234, allocations: 4 kB / 338.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.1234, allocations: 15.95 kB / 338.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1235, allocations: 11.94 kB / 338.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1235, allocations: 4 kB / 338.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.1242, allocations: 0.6318 MB / 339.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.1243, allocations: 100.7 kB / 339.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.1243, allocations: 12 kB / 339.2 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1245, allocations: 15.95 kB / 339.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1245, allocations: 31.91 kB / 339.3 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.1246, allocations: 15.98 kB / 339.3 MB, free: 7.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1247, allocations: 132.3 kB / 339.4 MB, free: 7.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1247, allocations: 0 / 339.4 MB, free: 7.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003396/0.125, allocations: 76 kB / 339.5 MB, free: 7.746 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.0001046/0.1251, allocations: 107.2 kB / 339.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.1256, allocations: 290.7 kB / 339.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1256, allocations: 0 / 339.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1258, allocations: 164.5 kB / 340 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.1263, allocations: 59.95 kB / 340.1 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1278, allocations: 1.215 MB / 341.3 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1282, allocations: 0.7728 MB / 342.1 MB, free: 5.074 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1283, allocations: 34.95 kB / 342.1 MB, free: 5.043 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.1284, allocations: 27.44 kB / 342.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1284, allocations: 0 / 342.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of Templates: time 0.006312/0.1347, allocations: 2.765 MB / 344.9 MB, free: 2.254 MB / 286.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)