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.00148/0.00148, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001621/0.001621, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.6/1.6, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.0013/0.0013, allocations: 51.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 46.62 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004071/0.1148, allocations: 2.475 MB / 329.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004767/0.1153, allocations: 251 kB / 329.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1155, allocations: 7.938 kB / 329.3 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1156, allocations: 43.58 kB / 329.4 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1158, allocations: 91.14 kB / 329.5 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.116, allocations: 67.89 kB / 329.5 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.1163, allocations: 314.5 kB / 329.8 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.1165, allocations: 107.3 kB / 329.9 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1167, allocations: 107.7 kB / 330.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1168, allocations: 135.4 kB / 330.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1169, allocations: 24 kB / 330.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-05/0.1169, allocations: 24 kB / 330.2 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.117, allocations: 59.77 kB / 330.3 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1172, allocations: 143.3 kB / 330.4 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.1175, allocations: 322.7 kB / 330.7 MB, free: 324 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1175, allocations: 0 / 330.7 MB, free: 324 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1175, allocations: 3.938 kB / 330.7 MB, free: 320 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1175, allocations: 0 / 330.7 MB, free: 320 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.000875/0.1184, allocations: 0.5615 MB / 331.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1185, allocations: 8.031 kB / 331.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.1186, allocations: 32.56 kB / 331.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1188, allocations: 255.7 kB / 331.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.1189, allocations: 16.94 kB / 331.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.1189, allocations: 28.38 kB / 331.6 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.1194, allocations: 251.1 kB / 331.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1194, allocations: 12.17 kB / 331.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1194, allocations: 15.94 kB / 331.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1194, allocations: 4 kB / 331.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1197, allocations: 179.8 kB / 332.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1208, allocations: 0.7461 MB / 332.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.1212, allocations: 285 kB / 333.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1214, allocations: 129 kB / 333.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1215, allocations: 4 kB / 333.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.1215, allocations: 34.56 kB / 333.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.1215, allocations: 0 / 333.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002904/0.1244, allocations: 1.705 MB / 335 MB, free: 11.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.1245, allocations: 81.11 kB / 335.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1247, allocations: 186.3 kB / 335.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1248, allocations: 29.7 kB / 335.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1249, allocations: 144.7 kB / 335.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.125, allocations: 169.5 kB / 335.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1251, allocations: 74.27 kB / 335.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1253, allocations: 350.7 kB / 336 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1254, allocations: 105 kB / 336.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1257, allocations: 157.5 kB / 336.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.126, allocations: 278.2 kB / 336.5 MB, free: 10.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1261, allocations: 4 kB / 336.5 MB, free: 10.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004804/0.1265, allocations: 373.8 kB / 336.9 MB, free: 9.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1266, allocations: 4 kB / 336.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1266, allocations: 0 / 336.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1266, allocations: 8 kB / 336.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.127, allocations: 103.8 kB / 337 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.127, allocations: 7.938 kB / 337 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1271, allocations: 8 kB / 337 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1272, allocations: 12 kB / 337 MB, free: 9.57 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.0001506/0.1273, allocations: 157.8 kB / 337.2 MB, free: 9.406 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.1274, allocations: 31.66 kB / 337.2 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.1275, allocations: 41.86 kB / 337.3 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1275, allocations: 4 kB / 337.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1275, allocations: 0 / 337.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1275, allocations: 3.984 kB / 337.3 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.1289, allocations: 0.9477 MB / 338.2 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1289, allocations: 7.875 kB / 338.2 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.1293, allocations: 95.89 kB / 338.3 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1293, allocations: 8.062 kB / 338.3 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.1294, allocations: 12 kB / 338.3 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1294, allocations: 0 / 338.3 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1294, allocations: 4 kB / 338.3 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.1302, allocations: 0.6356 MB / 339 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.1303, allocations: 104.8 kB / 339.1 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1303, allocations: 12 kB / 339.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1305, allocations: 8 kB / 339.1 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1306, allocations: 27.83 kB / 339.1 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1306, allocations: 12 kB / 339.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1308, allocations: 140.3 kB / 339.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 0 / 339.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000451/0.1313, allocations: 76 kB / 339.4 MB, free: 7.133 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.000163/0.1315, allocations: 115.2 kB / 339.5 MB, free: 7.012 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.132, allocations: 314.7 kB / 339.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.132, allocations: 4 kB / 339.8 MB, free: 6.703 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.1322, allocations: 156.4 kB / 339.9 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.1329, allocations: 76.09 kB / 340 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1344, allocations: 1.002 MB / 341 MB, free: 5.441 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1348, allocations: 0.7764 MB / 341.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.1349, allocations: 34.97 kB / 341.8 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.135, allocations: 31.38 kB / 341.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.135, allocations: 0 / 341.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of Templates: time 0.006603/0.1416, allocations: 3.044 MB / 344.9 MB, free: 1.539 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)