Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 111 kB / 17.06 MB, free: 5.957 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.001081/0.001081, allocations: 198.9 kB / 18.01 MB, free: 5.047 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.434/1.434, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001407/0.001407, allocations: 55.94 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2423/0.3599, allocations: 10.24 MB / 384.7 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008088/0.3681, allocations: 3.782 MB / 388.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.3711, allocations: 58.75 kB / 388.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.376, allocations: 1.945 MB / 390.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005891/0.3819, allocations: 1.66 MB / 392.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3838, allocations: 0.614 MB / 392.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006055/0.3899, allocations: 3.336 MB / 396.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.3945, allocations: 2.588 MB / 398.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.3975, allocations: 1.249 MB / 400 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/0.4011, allocations: 1.68 MB / 401.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.4024, allocations: 253.3 kB / 401.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.406, allocations: 1.026 MB / 402.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.4094, allocations: 1.577 MB / 404.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00483/0.4142, allocations: 1.835 MB / 406.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009131/0.4234, allocations: 5.826 MB / 412.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4234, allocations: 0 / 412.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4234, allocations: 0 / 412.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002634/0.4237, allocations: 0 / 412.1 MB, free: 9.129 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01091/0.4346, allocations: 4.024 MB / 416.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4347, allocations: 8.031 kB / 416.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.4412, allocations: 1.77 MB / 418 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/0.446, allocations: 1.99 MB / 419.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.4461, allocations: 200.8 kB / 420.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004905/0.4466, allocations: 255.8 kB / 420.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.4607, allocations: 8.431 MB / 428.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.979e-05/0.4608, allocations: 39.59 kB / 428.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.4612, allocations: 127.9 kB / 429 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.4639, allocations: 1.692 MB / 430.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.4773, allocations: 7.11 MB / 437.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/0.5195, allocations: 34.01 MB / 471.8 MB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.5268, allocations: 3.298 MB / 475.1 MB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.5287, allocations: 1.471 MB / 476.6 MB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007504/0.5362, allocations: 4.342 MB / 480.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.5363, allocations: 54.98 kB / 481 MB, free: 2.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.278e-06/0.5363, allocations: 0 / 481 MB, free: 2.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02781/0.5641, allocations: 11.52 MB / 492.5 MB, free: 7.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.5642, allocations: 145.2 kB / 492.6 MB, free: 6.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/0.5693, allocations: 3.733 MB / 496.4 MB, free: 3.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.5695, allocations: 41.7 kB / 496.4 MB, free: 3.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.5713, allocations: 2.74 MB / 499.1 MB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006411/0.5719, allocations: 0.5289 MB / 499.7 MB, free: 15.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.5733, allocations: 1.083 MB / 0.489 GB, free: 14.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.5734, allocations: 305.1 kB / 0.4893 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.5756, allocations: 1.705 MB / 0.491 GB, free: 12.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004413/0.5801, allocations: 5.131 MB / 0.496 GB, free: 5.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/0.5881, allocations: 7.416 MB / 0.5032 GB, free: 12.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.608e-05/0.5882, allocations: 36 kB / 0.5033 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01096/0.5992, allocations: 6.723 MB / 0.5098 GB, free: 5.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.469e-05/0.5993, allocations: 56 kB / 0.5099 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.5995, allocations: 123.9 kB / 0.51 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.6002, allocations: 321.6 kB / 0.5103 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003931/0.6042, allocations: 1.251 MB / 0.5115 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.6071, allocations: 2.494 MB / 0.514 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/0.611, allocations: 283.5 kB / 0.5142 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000827/0.6118, allocations: 336 kB / 0.5145 GB, free: 0.9805 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003229/0.615, allocations: 1.791 MB / 0.5163 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007507/0.6158, allocations: 308 kB / 0.5166 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.6209, allocations: 2.363 MB / 0.5189 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/0.6209, allocations: 19.98 kB / 0.5189 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.621, allocations: 4 kB / 0.5189 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.621, allocations: 7.969 kB / 0.5189 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.6353, allocations: 5.921 MB / 0.5247 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.6354, allocations: 0 / 0.5247 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/0.6362, allocations: 175.7 kB / 0.5249 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.6385, allocations: 0.7147 MB / 0.5256 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6386, allocations: 24 kB / 0.5256 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006196/0.6448, allocations: 4.808 MB / 0.5303 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6449, allocations: 0 / 0.5303 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006939/0.6518, allocations: 4.321 MB / 0.5345 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.6535, allocations: 0.5283 MB / 0.535 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000722/0.6542, allocations: 27.78 kB / 0.5351 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.6558, allocations: 67.91 kB / 0.5351 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.6561, allocations: 68.5 kB / 0.5352 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6562, allocations: 44.06 kB / 0.5352 GB, free: 11.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005954/0.6622, allocations: 2.327 MB / 0.5375 GB, free: 9.184 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6622, allocations: 4 kB / 0.5375 GB, free: 9.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005409/0.6676, allocations: 0.8125 MB / 0.5383 GB, free: 8.367 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004951/0.6681, allocations: 159 kB / 0.5384 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007094/0.6752, allocations: 4.05 MB / 0.5424 GB, free: 4.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6752, allocations: 0 / 0.5424 GB, free: 4.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.677, allocations: 1.112 MB / 0.5435 GB, free: 3.043 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.6802, allocations: 400.6 kB / 0.5439 GB, free: 2.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2329/0.9131, allocations: 7.263 MB / 0.551 GB, free: 150.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003866/0.917, allocations: 2.783 MB / 0.5537 GB, free: 149.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004481/0.9215, allocations: 1.659 MB / 0.5553 GB, free: 149.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.9227, allocations: 209.2 kB / 0.5555 GB, free: 149.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/0.9227, allocations: 0.9062 kB / 0.5555 GB, free: 149.6 MB / 478.1 MB Notification: Performance of Templates: time 0.05361/0.9763, allocations: 27.73 MB / 0.5826 GB, free: 136.7 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)