Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009038/0.0009039, allocations: 86.72 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.0008803/0.0008802, 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.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3484/0.3484, allocations: 40 MB / 310.4 MB, free: 10.04 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.2. 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.0005442/0.0005446, allocations: 15.94 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 57.96 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2839/0.4116, allocations: 38.82 MB / 475.6 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.4302, allocations: 8.761 MB / 484.4 MB, free: 25.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00855/0.4388, allocations: 179.6 kB / 484.5 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007204/0.446, allocations: 1.991 MB / 486.5 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0189/0.465, allocations: 6.02 MB / 492.6 MB, free: 21.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.4689, allocations: 0.6747 MB / 493.2 MB, free: 21.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00742/0.4763, allocations: 4.931 MB / 498.2 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008176/0.4845, allocations: 4.158 MB / 0.4905 GB, free: 18.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.4885, allocations: 1.287 MB / 0.4918 GB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005341/0.4939, allocations: 2.088 MB / 0.4938 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.495, allocations: 154.3 kB / 0.494 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.4976, allocations: 0.7249 MB / 0.4947 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003027/0.5007, allocations: 1.718 MB / 0.4964 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.5031, allocations: 0.8308 MB / 0.4972 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009112/0.5122, allocations: 5.226 MB / 0.5023 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.5123, allocations: 1.531 kB / 0.5023 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5123, allocations: 0 / 0.5023 GB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004065/0.5127, allocations: 0 / 0.5023 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.01416/0.5269, allocations: 4.015 MB / 0.5062 GB, free: 10.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5269, allocations: 9.344 kB / 0.5062 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008338/0.5353, allocations: 2.007 MB / 0.5082 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.5417, allocations: 2.395 MB / 0.5105 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.5419, allocations: 248.1 kB / 0.5108 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.543, allocations: 330.5 kB / 0.5111 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/0.5633, allocations: 10.2 MB / 0.521 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.5635, allocations: 51.53 kB / 0.5211 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005665/0.5641, allocations: 155.9 kB / 0.5212 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/0.567, allocations: 1.908 MB / 0.5231 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/0.587, allocations: 8.123 MB / 0.531 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/0.6442, allocations: 39.43 MB / 0.5695 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/0.6529, allocations: 3.266 MB / 0.5727 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.6548, allocations: 1.045 MB / 0.5737 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.6654, allocations: 5.916 MB / 0.5795 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.6655, allocations: 55.48 kB / 0.5796 GB, free: 3.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 5.941e-06/0.6655, allocations: 0 / 0.5796 GB, free: 3.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02584/0.6914, allocations: 9.471 MB / 0.5888 GB, free: 9.652 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6916, allocations: 141.5 kB / 0.589 GB, free: 9.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009908/0.7015, allocations: 4.044 MB / 0.5929 GB, free: 5.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.7019, allocations: 49.7 kB / 0.593 GB, free: 5.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003225/0.7052, allocations: 3.183 MB / 0.5961 GB, free: 2.129 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.7063, allocations: 0.6404 MB / 0.5967 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/0.7069, allocations: 124 kB / 0.5968 GB, free: 1.359 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006316/0.7076, allocations: 0.5623 MB / 0.5974 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/0.7115, allocations: 1.628 MB / 0.5989 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008293/0.7198, allocations: 5.489 MB / 0.6043 GB, free: 7.734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007495/0.7273, allocations: 2.937 MB / 0.6072 GB, free: 4.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/0.7276, allocations: 40 kB / 0.6072 GB, free: 4.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0179/0.7455, allocations: 6.848 MB / 0.6139 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.7457, allocations: 64.22 kB / 0.614 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/0.7459, allocations: 140.5 kB / 0.6141 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.7462, allocations: 200 kB / 0.6143 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/0.7515, allocations: 1.431 MB / 0.6157 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000378/0.7519, allocations: 270.9 kB / 0.6159 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00558/0.7575, allocations: 295.6 kB / 0.6162 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.7587, allocations: 379.9 kB / 0.6166 GB, free: 11.14 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.005678/0.7644, allocations: 2.041 MB / 0.6186 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.7654, allocations: 351.4 kB / 0.6189 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.7687, allocations: 1.333 MB / 0.6202 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/0.7688, allocations: 16 kB / 0.6202 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.7688, allocations: 7.938 kB / 0.6202 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.7688, allocations: 11.97 kB / 0.6203 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.7843, allocations: 5.829 MB / 0.6259 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/0.7844, allocations: 16 kB / 0.626 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.7856, allocations: 279.5 kB / 0.6262 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-05/0.7856, allocations: 24 kB / 0.6262 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.7858, allocations: 55.98 kB / 0.6263 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/0.7859, allocations: 35.86 kB / 0.6263 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.647e-05/0.7859, allocations: 31.83 kB / 0.6264 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3027/1.089, allocations: 3.253 MB / 0.6295 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.09, allocations: 0.5274 MB / 0.6301 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/1.091, allocations: 51.77 kB / 0.6301 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.092, allocations: 61.84 kB / 0.6302 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/1.092, allocations: 143.7 kB / 0.6303 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.953e-05/1.092, allocations: 67.08 kB / 0.6304 GB, free: 138.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004835/1.097, allocations: 2.509 MB / 0.6328 GB, free: 138.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.097, allocations: 0 / 0.6328 GB, free: 138.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006431/1.103, allocations: 0.9088 MB / 0.6337 GB, free: 138.7 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.0005536/1.104, allocations: 202.6 kB / 0.6339 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007017/1.111, allocations: 3.74 MB / 0.6376 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.111, allocations: 4.875 kB / 0.6376 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.112, allocations: 0.7562 MB / 0.6383 GB, free: 138 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/1.116, allocations: 457.9 kB / 0.6387 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.136, allocations: 10.46 MB / 0.6489 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/1.139, allocations: 3.182 MB / 0.652 GB, free: 130.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004404/1.144, allocations: 1.817 MB / 0.6538 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/1.144, allocations: 241.9 kB / 0.6541 GB, free: 130.7 MB / 494.1 MB Notification: Performance of SimCode: time 2.194e-06/1.144, allocations: 0 / 0.6541 GB, free: 130.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06614/1.211, allocations: 26.95 MB / 0.6804 GB, free: 126 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) Environment - environmentSimulation: