Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007904/0.007904, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001606/0.001606, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.367 MB / 174.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.001408/0.001409, allocations: 49.83 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.09527, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0101/0.1054, allocations: 9.019 MB / 382.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.1116, allocations: 2.66 MB / 384.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.1131, allocations: 47.88 kB / 384.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.1167, allocations: 1.826 MB / 386.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.1201, allocations: 1.338 MB / 388.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.1206, allocations: 215.7 kB / 388.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.1234, allocations: 2.379 MB / 390.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.1256, allocations: 2.121 MB / 392.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1268, allocations: 0.9963 MB / 393.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.1294, allocations: 2.341 MB / 396.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.1298, allocations: 188 kB / 396.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008711/0.1306, allocations: 487.4 kB / 396.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.1317, allocations: 1.317 MB / 398.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.133, allocations: 1.591 MB / 399.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.1371, allocations: 4.857 MB / 404.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1371, allocations: 0 / 404.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1371, allocations: 0 / 404.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-05/0.1372, allocations: 4 kB / 404.6 MB, free: 1.754 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.005131/0.1423, allocations: 3.625 MB / 408.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1424, allocations: 12.03 kB / 408.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.147, allocations: 1.642 MB / 409.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.1498, allocations: 1.588 MB / 411.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1499, allocations: 151.8 kB / 411.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.1503, allocations: 199.9 kB / 411.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009237/0.1595, allocations: 6.975 MB / 418.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.514e-05/0.1596, allocations: 39.67 kB / 418.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.16, allocations: 107.8 kB / 418.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002046/0.1621, allocations: 1.551 MB / 420.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009806/0.1719, allocations: 5.497 MB / 425.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2674/0.4393, allocations: 27.12 MB / 453 MB, free: 61.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00373/0.4431, allocations: 1.631 MB / 454.7 MB, free: 61.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008798/0.444, allocations: 0.4966 MB / 455.2 MB, free: 61.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004464/0.4485, allocations: 2.67 MB / 457.8 MB, free: 59.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.4486, allocations: 50.05 kB / 457.9 MB, free: 59.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.4486, allocations: 0 / 457.9 MB, free: 59.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004199/0.4528, allocations: 1.762 MB / 459.7 MB, free: 59.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.4529, allocations: 225.5 kB / 459.9 MB, free: 59.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005766/0.4586, allocations: 3.664 MB / 463.5 MB, free: 59.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.4588, allocations: 41.14 kB / 463.6 MB, free: 59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.4606, allocations: 2.684 MB / 466.3 MB, free: 57.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.4609, allocations: 388.6 kB / 466.6 MB, free: 57.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.4621, allocations: 0.9547 MB / 467.6 MB, free: 56.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.4622, allocations: 304.9 kB / 467.9 MB, free: 56.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.4639, allocations: 1.209 MB / 469.1 MB, free: 55.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.4668, allocations: 4.532 MB / 473.6 MB, free: 51.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/0.4714, allocations: 6.297 MB / 479.9 MB, free: 45.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.236e-05/0.4715, allocations: 38.45 kB / 480 MB, free: 45.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007702/0.4792, allocations: 5.436 MB / 485.4 MB, free: 43.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.4793, allocations: 61.73 kB / 485.5 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.4794, allocations: 117.3 kB / 485.6 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.4796, allocations: 153.7 kB / 485.7 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.4822, allocations: 1.083 MB / 486.8 MB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001692/0.4824, allocations: 231.8 kB / 487 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.4862, allocations: 0.6826 MB / 487.7 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.4866, allocations: 321.2 kB / 488 MB, free: 42.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (589): * Single equations (assignments): 585 * Array equations: 4 * 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.002481/0.4891, allocations: 1.707 MB / 489.7 MB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.4896, allocations: 304 kB / 490 MB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00078/0.4904, allocations: 0.4961 MB / 490.5 MB, free: 40.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-05/0.4905, allocations: 16 kB / 490.6 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.4905, allocations: 11.61 kB / 490.6 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4905, allocations: 0 / 490.6 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/0.4952, allocations: 3.151 MB / 493.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4953, allocations: 4 kB / 493.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.4957, allocations: 111.8 kB / 493.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4958, allocations: 8.281 kB / 493.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.4958, allocations: 15.98 kB / 493.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.4958, allocations: 8 kB / 493.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4958, allocations: 4 kB / 493.9 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.4978, allocations: 2.218 MB / 496.1 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/0.4986, allocations: 428.9 kB / 496.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.4989, allocations: 23.5 kB / 496.5 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/0.4997, allocations: 27.97 kB / 496.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4998, allocations: 63.77 kB / 496.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.4999, allocations: 28 kB / 496.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002625/0.5025, allocations: 2.333 MB / 499 MB, free: 32.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5025, allocations: 0 / 499 MB, free: 32.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003846/0.5064, allocations: 0.8119 MB / 499.8 MB, free: 31.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * 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.0002798/0.5066, allocations: 145.5 kB / 499.9 MB, free: 31.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.5103, allocations: 2.808 MB / 0.491 GB, free: 28.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5104, allocations: 320 / 0.491 GB, free: 28.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.5108, allocations: 444.4 kB / 0.4914 GB, free: 28.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.5129, allocations: 379.7 kB / 0.4917 GB, free: 27.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.5226, allocations: 6.668 MB / 0.4983 GB, free: 20.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/0.5256, allocations: 2.688 MB / 0.5009 GB, free: 18.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002964/0.5286, allocations: 1.496 MB / 0.5023 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/0.529, allocations: 195.4 kB / 0.5025 GB, free: 16.53 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.5291, allocations: 0 / 0.5025 GB, free: 16.53 MB / 382.1 MB Notification: Performance of Templates: time 0.03976/0.5688, allocations: 19.39 MB / 0.5215 GB, free: 13.2 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)