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.00102/0.00102, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001192/0.001192, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.481/1.481, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0004744/0.0004746, allocations: 8.281 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002926/0.1104, allocations: 2.142 MB / 330.5 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005175/0.111, allocations: 247 kB / 330.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1111, allocations: 4 kB / 330.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1113, allocations: 39.69 kB / 330.7 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1115, allocations: 79.38 kB / 330.8 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.1117, allocations: 55.89 kB / 330.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.112, allocations: 306.5 kB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1122, allocations: 79.97 kB / 331.2 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1123, allocations: 103.6 kB / 331.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1125, allocations: 119.4 kB / 331.5 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1126, allocations: 12 kB / 331.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.1126, allocations: 12 kB / 331.5 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1127, allocations: 51.77 kB / 331.5 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1128, allocations: 157 kB / 331.7 MB, free: 360 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1131, allocations: 298.8 kB / 332 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1131, allocations: 0 / 332 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1131, allocations: 0 / 332 MB, free: 60 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1131, allocations: 0 / 332 MB, free: 60 kB / 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.0007812/0.1139, allocations: 0.5186 MB / 332.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.114, allocations: 15.97 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.114, allocations: 32.56 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1143, allocations: 251.8 kB / 332.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1143, allocations: 20.92 kB / 332.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.1144, allocations: 40.14 kB / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1148, allocations: 251.1 kB / 333.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1148, allocations: 8.188 kB / 333.1 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1149, allocations: 15.94 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1149, allocations: 8 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.1152, allocations: 175.9 kB / 333.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1163, allocations: 0.75 MB / 334.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.1167, allocations: 277 kB / 334.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1169, allocations: 125.6 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1169, allocations: 4 kB / 334.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.117, allocations: 38.56 kB / 334.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/0.117, allocations: 4 kB / 334.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002635/0.1196, allocations: 1.712 MB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1197, allocations: 81.11 kB / 336.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1199, allocations: 186.3 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1199, allocations: 29.7 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.12, allocations: 140.7 kB / 336.6 MB, free: 11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1202, allocations: 181.4 kB / 336.8 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.1202, allocations: 41.7 kB / 336.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1203, allocations: 338.8 kB / 337.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1205, allocations: 101.1 kB / 337.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1207, allocations: 157.5 kB / 337.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1211, allocations: 290.1 kB / 337.7 MB, free: 9.871 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1211, allocations: 0 / 337.7 MB, free: 9.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005065/0.1216, allocations: 369.8 kB / 338.1 MB, free: 9.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1217, allocations: 6.812 kB / 338.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1217, allocations: 0 / 338.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.1217, allocations: 4 kB / 338.1 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.1221, allocations: 95.89 kB / 338.2 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1221, allocations: 4 kB / 338.2 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1222, allocations: 12 kB / 338.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1223, allocations: 16.06 kB / 338.2 MB, free: 9.371 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.1225, allocations: 157.7 kB / 338.4 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1226, allocations: 31.56 kB / 338.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.1227, allocations: 41.86 kB / 338.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1227, allocations: 8 kB / 338.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1227, allocations: 0 / 338.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1227, allocations: 0 / 338.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.124, allocations: 0.9517 MB / 339.4 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.124, allocations: 12 kB / 339.4 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.1244, allocations: 103.8 kB / 339.5 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1244, allocations: 0 / 339.5 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.1245, allocations: 12 kB / 339.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1245, allocations: 4 kB / 339.5 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1245, allocations: 3.938 kB / 339.5 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.1252, allocations: 0.6395 MB / 340.2 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.1253, allocations: 100.7 kB / 340.3 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1253, allocations: 15.98 kB / 340.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1255, allocations: 4 kB / 340.3 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.1256, allocations: 31.83 kB / 340.3 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.1256, allocations: 15.94 kB / 340.3 MB, free: 7.125 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.991e-05/0.1257, allocations: 136.3 kB / 340.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1257, allocations: 0 / 340.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.126, allocations: 84 kB / 340.6 MB, free: 6.91 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 (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.0001226/0.1262, allocations: 111.1 kB / 340.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.1266, allocations: 283.8 kB / 340.9 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1266, allocations: 0 / 340.9 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1268, allocations: 164.4 kB / 341.1 MB, free: 6.359 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.1274, allocations: 68.28 kB / 341.2 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1291, allocations: 1.242 MB / 342.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1295, allocations: 0.7767 MB / 343.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1296, allocations: 30.97 kB / 343.2 MB, free: 4.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.1297, allocations: 27.44 kB / 343.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1297, allocations: 0 / 343.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of Templates: time 0.006498/0.1362, allocations: 2.878 MB / 346.1 MB, free: 1.277 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)