Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001059/0.001059, allocations: 177.3 kB / 15.94 MB, free: 220 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.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004642/0.0004643, allocations: 20 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 47.58 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.03766/0.2976, allocations: 40.18 MB / 366.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.3219, allocations: 9.851 MB / 376.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007955/0.3299, allocations: 199.5 kB / 376.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.337, allocations: 1.96 MB / 378.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01956/0.3566, allocations: 5.813 MB / 384.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.3597, allocations: 0.6904 MB / 385.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005023/0.3647, allocations: 2.625 MB / 387.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006237/0.371, allocations: 4.485 MB / 392.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.373, allocations: 1.152 MB / 393.4 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.375, allocations: 1.577 MB / 395 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004628/0.3755, allocations: 160 kB / 395.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.3772, allocations: 0.9556 MB / 396.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.3788, allocations: 1.749 MB / 397.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009722/0.3798, allocations: 0.8972 MB / 398.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.3859, allocations: 5.713 MB / 404.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3859, allocations: 0 / 404.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.386, allocations: 3.938 kB / 404.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.3862, allocations: 4 kB / 404.5 MB, free: 5.25 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.008837/0.395, allocations: 4.435 MB / 408.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.3951, allocations: 8.031 kB / 408.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009703/0.4048, allocations: 2.525 MB / 411.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006238/0.4111, allocations: 2.908 MB / 414.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.4113, allocations: 274.8 kB / 414.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.4125, allocations: 439.5 kB / 415 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.4343, allocations: 12.34 MB / 427.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.4344, allocations: 51.53 kB / 427.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.4349, allocations: 171.8 kB / 427.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.438, allocations: 2.162 MB / 429.7 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/0.4595, allocations: 10.33 MB / 440.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2411/0.7006, allocations: 44.92 MB / 485 MB, free: 81.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/0.7188, allocations: 7.181 MB / 492.2 MB, free: 77.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/0.7319, allocations: 9.314 MB / 0.4897 GB, free: 71.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.732, allocations: 61.88 kB / 0.4898 GB, free: 71.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 5.29e-06/0.732, allocations: 0 / 0.4898 GB, free: 71.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.05271/0.7847, allocations: 22.52 MB / 0.5118 GB, free: 48.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009291/0.7857, allocations: 1.607 MB / 0.5134 GB, free: 47.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/0.7906, allocations: 4.435 MB / 0.5177 GB, free: 42.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004428/0.7911, allocations: 55.19 kB / 0.5177 GB, free: 42.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.7927, allocations: 3.416 MB / 0.5211 GB, free: 39.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/0.7934, allocations: 0.8044 MB / 0.5219 GB, free: 38.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.7937, allocations: 136 kB / 0.522 GB, free: 38.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.7939, allocations: 0.5912 MB / 0.5226 GB, free: 37.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/0.7968, allocations: 2.34 MB / 0.5249 GB, free: 35.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.8012, allocations: 6.453 MB / 0.5312 GB, free: 26.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004424/0.8056, allocations: 3.745 MB / 0.5348 GB, free: 23.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.938e-05/0.8057, allocations: 44 kB / 0.5349 GB, free: 23.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02013/0.8258, allocations: 10.23 MB / 0.5448 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.8259, allocations: 68 kB / 0.5449 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01051/0.8365, allocations: 4.002 MB / 0.5488 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009707/0.8462, allocations: 2.187 MB / 0.551 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005698/0.852, allocations: 1.599 MB / 0.5525 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.8604, allocations: 6.348 MB / 0.5587 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/0.8666, allocations: 459.4 kB / 0.5591 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/0.868, allocations: 416 kB / 0.5595 GB, free: 13.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005196/0.8732, allocations: 2.227 MB / 0.5617 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.8743, allocations: 375.1 kB / 0.5621 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007801/0.8821, allocations: 3.501 MB / 0.5655 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00571/0.8879, allocations: 2.937 MB / 0.5684 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.8879, allocations: 192 / 0.5684 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.588e-05/0.8879, allocations: 15.92 kB / 0.5684 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/0.9118, allocations: 10.75 MB / 0.5789 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.708e-05/0.9119, allocations: 16 kB / 0.5789 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.9136, allocations: 395.3 kB / 0.5793 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/0.9165, allocations: 0.9792 MB / 0.5802 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/0.9169, allocations: 67.72 kB / 0.5803 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.9222, allocations: 4.672 MB / 0.5849 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001113/0.9234, allocations: 1.486 MB / 0.5863 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.934, allocations: 7.848 MB / 0.594 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/0.9363, allocations: 0.6951 MB / 0.5947 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009852/0.9373, allocations: 55.98 kB / 0.5947 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/0.9397, allocations: 176 kB / 0.5949 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/0.94, allocations: 172.5 kB / 0.595 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.9402, allocations: 79.48 kB / 0.5951 GB, free: 7.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005325/0.9456, allocations: 2.778 MB / 0.5978 GB, free: 4.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9456, allocations: 0 / 0.5978 GB, free: 4.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006397/0.952, allocations: 1.191 MB / 0.599 GB, free: 3.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007391/0.9527, allocations: 235.8 kB / 0.5992 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1747/1.127, allocations: 6.099 MB / 0.6052 GB, free: 148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.128, allocations: 2.906 kB / 0.6052 GB, free: 148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/1.132, allocations: 2.281 MB / 0.6074 GB, free: 147.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.134, allocations: 461.8 kB / 0.6078 GB, free: 147.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.153, allocations: 12.78 MB / 0.6203 GB, free: 140.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/1.157, allocations: 3.557 MB / 0.6238 GB, free: 139.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005264/1.162, allocations: 2.045 MB / 0.6258 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/1.163, allocations: 282 kB / 0.6261 GB, free: 138.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/1.163, allocations: 3.938 kB / 0.6261 GB, free: 138.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06052/1.223, allocations: 40.72 MB / 0.6658 GB, free: 98 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) Environment - environmentSimulation: