Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0009896/0.0009897, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001183/0.001183, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004806/0.0004806, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 47.59 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0276/0.2433, allocations: 31.38 MB / 357.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.2589, allocations: 7.44 MB / 365.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.2634, allocations: 147.6 kB / 365.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.2675, allocations: 1.578 MB / 367 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.2793, allocations: 4.856 MB / 371.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.2813, allocations: 0.5031 MB / 372.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004968/0.2863, allocations: 3.778 MB / 376.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.2904, allocations: 2.964 MB / 379.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.2921, allocations: 1.043 MB / 380.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.294, allocations: 1.593 MB / 381.8 MB, free: 12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.2943, allocations: 115.9 kB / 381.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.2957, allocations: 0.7997 MB / 382.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.2969, allocations: 1.395 MB / 384.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.2976, allocations: 0.6948 MB / 384.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.3014, allocations: 4.446 MB / 389.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3015, allocations: 0 / 389.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3015, allocations: 0 / 389.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.393e-05/0.3016, allocations: 0 / 389.2 MB, free: 4.527 MB / 318.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.005567/0.3071, allocations: 3.344 MB / 392.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3072, allocations: 8.031 kB / 392.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.3133, allocations: 1.828 MB / 394.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.317, allocations: 1.928 MB / 396.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.3172, allocations: 188.8 kB / 396.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005394/0.3177, allocations: 251.8 kB / 396.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.3307, allocations: 8.42 MB / 405.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-05/0.3308, allocations: 39.59 kB / 405.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.3311, allocations: 131.9 kB / 405.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/0.3338, allocations: 1.703 MB / 407 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3463, allocations: 7.067 MB / 414.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03568/0.382, allocations: 34.14 MB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006911/0.3889, allocations: 3.263 MB / 451.5 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.3909, allocations: 1.455 MB / 453 MB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1694/0.5603, allocations: 4.371 MB / 457.3 MB, free: 112.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.5603, allocations: 47.88 kB / 457.4 MB, free: 112.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.369e-06/0.5604, allocations: 0 / 457.4 MB, free: 112.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02348/0.5838, allocations: 11.49 MB / 468.9 MB, free: 108.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5839, allocations: 144 kB / 469 MB, free: 108.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.5877, allocations: 3.708 MB / 472.7 MB, free: 107.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.5e-05/0.5878, allocations: 42.2 kB / 472.8 MB, free: 107 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.589, allocations: 2.754 MB / 475.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.5893, allocations: 0.5155 MB / 476 MB, free: 103.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.5895, allocations: 104 kB / 476.1 MB, free: 103.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.5897, allocations: 0.5348 MB / 476.7 MB, free: 103.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.5916, allocations: 1.685 MB / 478.3 MB, free: 101.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.5945, allocations: 5.109 MB / 483.5 MB, free: 94.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.5973, allocations: 2.877 MB / 486.3 MB, free: 91.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.67e-05/0.5974, allocations: 39.66 kB / 486.4 MB, free: 91.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007564/0.6049, allocations: 6.684 MB / 493.1 MB, free: 85.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.605, allocations: 56 kB / 493.1 MB, free: 85.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-05/0.6051, allocations: 120 kB / 493.2 MB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005047/0.6056, allocations: 342.2 kB / 493.6 MB, free: 84.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/0.6085, allocations: 1.244 MB / 494.8 MB, free: 83.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.6102, allocations: 2.281 MB / 497.1 MB, free: 80.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.613, allocations: 284.7 kB / 497.4 MB, free: 80.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.6133, allocations: 336 kB / 497.7 MB, free: 80.38 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.6153, allocations: 1.792 MB / 499.5 MB, free: 78.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.6157, allocations: 311.9 kB / 499.8 MB, free: 78.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.6193, allocations: 2.356 MB / 0.4904 GB, free: 75.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.6193, allocations: 17.41 kB / 0.4904 GB, free: 75.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6193, allocations: 4 kB / 0.4904 GB, free: 75.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6193, allocations: 7.969 kB / 0.4904 GB, free: 75.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/0.6273, allocations: 5.933 MB / 0.4962 GB, free: 69.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6273, allocations: 3.984 kB / 0.4962 GB, free: 69.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.628, allocations: 167.8 kB / 0.4964 GB, free: 69.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.6297, allocations: 0.7108 MB / 0.4971 GB, free: 69.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.6298, allocations: 29.08 kB / 0.4971 GB, free: 69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/0.634, allocations: 4.459 MB / 0.5014 GB, free: 64.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.634, allocations: 19.88 kB / 0.5015 GB, free: 64.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.6389, allocations: 4.305 MB / 0.5057 GB, free: 60.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.6397, allocations: 0.532 MB / 0.5062 GB, free: 59.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/0.6401, allocations: 16.86 kB / 0.5062 GB, free: 59.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.6411, allocations: 77.22 kB / 0.5063 GB, free: 59.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6412, allocations: 72.45 kB / 0.5063 GB, free: 59.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.6413, allocations: 32 kB / 0.5064 GB, free: 59.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002563/0.6439, allocations: 2.315 MB / 0.5086 GB, free: 57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6439, allocations: 0 / 0.5086 GB, free: 57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003299/0.6472, allocations: 0.8163 MB / 0.5094 GB, free: 56.19 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002954/0.6475, allocations: 155.1 kB / 0.5096 GB, free: 56.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004647/0.6521, allocations: 4.001 MB / 0.5135 GB, free: 52.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6522, allocations: 0 / 0.5135 GB, free: 52.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.6533, allocations: 1.104 MB / 0.5146 GB, free: 50.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.6551, allocations: 379.4 kB / 0.5149 GB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00966/0.6647, allocations: 8.64 MB / 0.5234 GB, free: 41.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.6673, allocations: 2.777 MB / 0.5261 GB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003395/0.6707, allocations: 1.662 MB / 0.5277 GB, free: 37.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.6713, allocations: 211.4 kB / 0.5279 GB, free: 37.22 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6713, allocations: 0 / 0.5279 GB, free: 37.22 MB / 382.1 MB Notification: Performance of Templates: time 0.04238/0.7137, allocations: 28.9 MB / 0.5561 GB, free: 8.336 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)