Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.00118/0.001181, allocations: 168.7 kB / 15.95 MB, free: 204 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3136/0.3136, allocations: 38.04 MB / 308.4 MB, free: 10.43 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005469/0.000547, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1178, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.226/0.3438, allocations: 38.82 MB / 472.8 MB, free: 32.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.3611, allocations: 8.764 MB / 481.5 MB, free: 27.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006518/0.3677, allocations: 183 kB / 481.7 MB, free: 27.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006485/0.3742, allocations: 1.98 MB / 483.7 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01585/0.3901, allocations: 6.023 MB / 489.7 MB, free: 24.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.3926, allocations: 0.6774 MB / 490.4 MB, free: 24.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.3978, allocations: 4.925 MB / 495.3 MB, free: 22.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006517/0.4043, allocations: 4.158 MB / 499.5 MB, free: 21.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.4074, allocations: 1.287 MB / 0.489 GB, free: 20.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.4113, allocations: 2.093 MB / 0.4911 GB, free: 20.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008584/0.4122, allocations: 150.7 kB / 0.4912 GB, free: 20.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.4151, allocations: 0.7284 MB / 0.4919 GB, free: 20.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003195/0.4183, allocations: 1.725 MB / 0.4936 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.4201, allocations: 0.8308 MB / 0.4944 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.4268, allocations: 5.222 MB / 0.4995 GB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4268, allocations: 9.188 kB / 0.4995 GB, free: 16.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4268, allocations: 0 / 0.4995 GB, free: 16.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002249/0.427, allocations: 0 / 0.4995 GB, free: 16.87 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.008688/0.4357, allocations: 4.017 MB / 0.5035 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4358, allocations: 9.438 kB / 0.5035 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.4429, allocations: 2 MB / 0.5054 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/0.4479, allocations: 2.387 MB / 0.5078 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.4481, allocations: 257.1 kB / 0.508 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.4492, allocations: 328.9 kB / 0.5083 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.4653, allocations: 10.19 MB / 0.5183 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.4654, allocations: 52.77 kB / 0.5183 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004417/0.4659, allocations: 160.3 kB / 0.5185 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.468, allocations: 1.903 MB / 0.5203 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.483, allocations: 8.126 MB / 0.5283 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/0.5309, allocations: 39.43 MB / 0.5668 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/0.5382, allocations: 3.273 MB / 0.57 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.5399, allocations: 1.045 MB / 0.571 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008493/0.5484, allocations: 5.916 MB / 0.5768 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.5485, allocations: 59.5 kB / 0.5768 GB, free: 7.539 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 3.416e-06/0.5485, allocations: 3.938 kB / 0.5768 GB, free: 7.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02254/0.5711, allocations: 9.459 MB / 0.5861 GB, free: 13.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5712, allocations: 141.5 kB / 0.5862 GB, free: 13.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008016/0.5792, allocations: 4.047 MB / 0.5901 GB, free: 9.719 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.5795, allocations: 49.7 kB / 0.5902 GB, free: 9.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.582, allocations: 3.179 MB / 0.5933 GB, free: 6.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007512/0.5828, allocations: 0.6404 MB / 0.5939 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.5831, allocations: 124 kB / 0.594 GB, free: 5.668 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004312/0.5836, allocations: 0.5621 MB / 0.5946 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/0.5864, allocations: 1.628 MB / 0.5962 GB, free: 3.469 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00532/0.5918, allocations: 5.486 MB / 0.6015 GB, free: 12.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/0.5961, allocations: 2.933 MB / 0.6044 GB, free: 9.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.434e-05/0.5962, allocations: 40 kB / 0.6044 GB, free: 9.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01134/0.6075, allocations: 6.855 MB / 0.6111 GB, free: 2.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.6076, allocations: 64 kB / 0.6112 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/0.6078, allocations: 136 kB / 0.6113 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.608, allocations: 200 kB / 0.6115 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/0.6122, allocations: 1.435 MB / 0.6129 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002362/0.6125, allocations: 271.2 kB / 0.6132 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/0.6167, allocations: 299.6 kB / 0.6135 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007676/0.6175, allocations: 380 kB / 0.6138 GB, free: 15.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (775): * Single equations (assignments): 772 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004173/0.6217, allocations: 2.041 MB / 0.6158 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007855/0.6224, allocations: 359.4 kB / 0.6162 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.6252, allocations: 1.329 MB / 0.6175 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/0.6252, allocations: 16 kB / 0.6175 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.6252, allocations: 0 / 0.6175 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.6252, allocations: 11.97 kB / 0.6175 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.6373, allocations: 5.824 MB / 0.6232 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/0.6373, allocations: 16 kB / 0.6232 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/0.6383, allocations: 279.5 kB / 0.6235 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.191e-05/0.6384, allocations: 28 kB / 0.6235 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.6385, allocations: 51.98 kB / 0.6235 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.452e-05/0.6385, allocations: 36.33 kB / 0.6236 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-05/0.6385, allocations: 32.31 kB / 0.6236 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.6428, allocations: 3.262 MB / 0.6268 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.6441, allocations: 0.5276 MB / 0.6273 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006852/0.6448, allocations: 55.97 kB / 0.6273 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.6464, allocations: 67.89 kB / 0.6274 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6466, allocations: 151.4 kB / 0.6276 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.6467, allocations: 64 kB / 0.6276 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2085/0.8553, allocations: 2.503 MB / 0.6301 GB, free: 141.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.8553, allocations: 0 / 0.6301 GB, free: 141.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005568/0.8609, allocations: 0.9014 MB / 0.6309 GB, free: 141.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004285/0.8614, allocations: 201.7 kB / 0.6311 GB, free: 141.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005618/0.867, allocations: 3.74 MB / 0.6348 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.867, allocations: 3.438 kB / 0.6348 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008825/0.8679, allocations: 0.7452 MB / 0.6355 GB, free: 141.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.871, allocations: 458.5 kB / 0.636 GB, free: 141.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.8847, allocations: 10.46 MB / 0.6462 GB, free: 135.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.8873, allocations: 3.183 MB / 0.6493 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00386/0.8912, allocations: 1.811 MB / 0.651 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.8916, allocations: 243.8 kB / 0.6513 GB, free: 134.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.8916, allocations: 0 / 0.6513 GB, free: 134.5 MB / 494.1 MB Notification: Performance of Templates: time 0.05146/0.9431, allocations: 26.96 MB / 0.6776 GB, free: 130.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) Environment - environmentSimulation: