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.001319/0.00132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001892/0.001892, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.521/1.521, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3707/0.3707, allocations: 37.99 MB / 307.4 MB, free: 10.05 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.001445/0.001445, allocations: 66.62 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3035/0.4367, allocations: 42.88 MB / 474.1 MB, free: 30.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.4583, allocations: 9.168 MB / 483.2 MB, free: 25.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.4704, allocations: 185.1 kB / 483.4 MB, free: 25.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00521/0.4757, allocations: 2.38 MB / 485.8 MB, free: 24.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.4815, allocations: 1.749 MB / 487.6 MB, free: 23.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4832, allocations: 0.7285 MB / 488.3 MB, free: 23.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.4887, allocations: 4.465 MB / 492.7 MB, free: 21.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003988/0.4927, allocations: 3.542 MB / 496.3 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.4957, allocations: 1.598 MB / 497.9 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.4996, allocations: 2.467 MB / 0.4886 GB, free: 18.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009592/0.5006, allocations: 334.3 kB / 0.4889 GB, free: 18.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.5032, allocations: 0.985 MB / 0.4899 GB, free: 18.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.5057, allocations: 1.971 MB / 0.4918 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003753/0.5094, allocations: 2.288 MB / 0.4941 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.5216, allocations: 6.685 MB / 0.5006 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5217, allocations: 1.875 kB / 0.5006 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5217, allocations: 0 / 0.5006 GB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000448/0.5221, allocations: 0 / 0.5006 GB, free: 13.77 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.02151/0.5436, allocations: 4.839 MB / 0.5053 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5437, allocations: 13.73 kB / 0.5053 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008901/0.5526, allocations: 1.948 MB / 0.5072 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007725/0.5604, allocations: 2.443 MB / 0.5096 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/0.5609, allocations: 252.5 kB / 0.5099 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/0.5634, allocations: 333 kB / 0.5102 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/0.5909, allocations: 10.2 MB / 0.5201 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/0.5912, allocations: 51.52 kB / 0.5202 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/0.5932, allocations: 163.9 kB / 0.5203 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.5966, allocations: 1.9 MB / 0.5222 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02175/0.6184, allocations: 8.144 MB / 0.5302 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06314/0.6816, allocations: 39.43 MB / 0.5687 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009025/0.6907, allocations: 3.283 MB / 0.5719 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.6927, allocations: 1.054 MB / 0.5729 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.703, allocations: 5.905 MB / 0.5787 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.7031, allocations: 55.55 kB / 0.5787 GB, free: 3.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 7.995e-06/0.7031, allocations: 0 / 0.5787 GB, free: 3.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02631/0.7294, allocations: 9.484 MB / 0.588 GB, free: 9.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.7296, allocations: 141.5 kB / 0.5881 GB, free: 9.668 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00875/0.7383, allocations: 4.059 MB / 0.5921 GB, free: 5.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003489/0.7387, allocations: 53.64 kB / 0.5921 GB, free: 5.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002929/0.7417, allocations: 3.183 MB / 0.5952 GB, free: 2.293 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.7428, allocations: 0.6483 MB / 0.5959 GB, free: 1.637 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002803/0.7456, allocations: 1.21 MB / 0.5971 GB, free: 424 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7458, allocations: 305.1 kB / 0.5973 GB, free: 116 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/0.7491, allocations: 1.652 MB / 0.599 GB, free: 14.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/0.7558, allocations: 5.513 MB / 0.6043 GB, free: 7.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009689/0.7656, allocations: 7.78 MB / 0.6119 GB, free: 13.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/0.7658, allocations: 40 kB / 0.612 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01469/0.7805, allocations: 6.909 MB / 0.6187 GB, free: 6.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.7807, allocations: 68.94 kB / 0.6188 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/0.7809, allocations: 136 kB / 0.6189 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.7812, allocations: 188 kB / 0.6191 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004918/0.7861, allocations: 1.427 MB / 0.6205 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002738/0.7864, allocations: 271 kB / 0.6208 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005113/0.7915, allocations: 299.6 kB / 0.621 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/0.7927, allocations: 379.8 kB / 0.6214 GB, free: 3.609 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005558/0.7982, allocations: 2.04 MB / 0.6234 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/0.7992, allocations: 351.4 kB / 0.6237 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2578/1.057, allocations: 1.34 MB / 0.625 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-05/1.057, allocations: 18.12 kB / 0.6251 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.057, allocations: 3.156 kB / 0.6251 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-05/1.057, allocations: 12.62 kB / 0.6251 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.07, allocations: 5.83 MB / 0.6308 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/1.07, allocations: 16.22 kB / 0.6308 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.071, allocations: 278.1 kB / 0.631 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/1.071, allocations: 25.66 kB / 0.6311 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.514e-05/1.071, allocations: 60.67 kB / 0.6311 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-05/1.071, allocations: 34.34 kB / 0.6312 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-05/1.071, allocations: 25.47 kB / 0.6312 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/1.075, allocations: 3.279 MB / 0.6344 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.076, allocations: 0.5178 MB / 0.6349 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/1.077, allocations: 55.61 kB / 0.6349 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.078, allocations: 66.64 kB / 0.635 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.078, allocations: 135.8 kB / 0.6351 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/1.078, allocations: 70.11 kB / 0.6352 GB, free: 144.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003906/1.082, allocations: 2.532 MB / 0.6377 GB, free: 144 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.082, allocations: 0 / 0.6377 GB, free: 144 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006268/1.088, allocations: 0.9082 MB / 0.6386 GB, free: 143.9 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 (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.0005725/1.089, allocations: 200.2 kB / 0.6388 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007031/1.096, allocations: 3.981 MB / 0.6426 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.757e-05/1.096, allocations: 4.938 kB / 0.6426 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/1.097, allocations: 0.7418 MB / 0.6434 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/1.101, allocations: 477 kB / 0.6438 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.118, allocations: 10.82 MB / 0.6544 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004425/1.122, allocations: 3.186 MB / 0.6575 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005161/1.127, allocations: 1.821 MB / 0.6593 GB, free: 134.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/1.128, allocations: 246.9 kB / 0.6595 GB, free: 134.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/1.128, allocations: 0 / 0.6595 GB, free: 134.4 MB / 494.1 MB Notification: Performance of Templates: time 0.07276/1.201, allocations: 28.71 MB / 0.6876 GB, free: 121.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile (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)