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.0009199/0.0009199, allocations: 99.78 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.0009513/0.0009513, allocations: 177.3 kB / 15.95 MB, free: 216 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.833/1.833, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3887/0.3887, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005721/0.0005721, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1533, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3013/0.4546, allocations: 36.65 MB / 470.6 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.475, allocations: 9.128 MB / 479.7 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008585/0.4836, allocations: 178.6 kB / 479.9 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006396/0.49, allocations: 1.79 MB / 481.7 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02218/0.5123, allocations: 5.341 MB / 487 MB, free: 25.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.5161, allocations: 0.6658 MB / 487.7 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.5223, allocations: 2.511 MB / 490.2 MB, free: 24.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005496/0.5278, allocations: 4.13 MB / 494.3 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.5296, allocations: 1.087 MB / 495.4 MB, free: 22.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.5313, allocations: 1.518 MB / 496.9 MB, free: 21.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.5318, allocations: 153.2 kB / 497.1 MB, free: 21.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.5332, allocations: 0.6995 MB / 497.8 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.5352, allocations: 1.603 MB / 499.4 MB, free: 21.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.5365, allocations: 0.8282 MB / 0.4885 GB, free: 20.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009933/0.5465, allocations: 5.245 MB / 0.4936 GB, free: 19.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5465, allocations: 0 / 0.4936 GB, free: 19.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5465, allocations: 5.812 kB / 0.4936 GB, free: 19.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003537/0.5469, allocations: 0 / 0.4936 GB, free: 19.6 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.01446/0.5613, allocations: 4.05 MB / 0.4976 GB, free: 17.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5614, allocations: 9.312 kB / 0.4976 GB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.5718, allocations: 2.293 MB / 0.4998 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008595/0.5804, allocations: 2.799 MB / 0.5026 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.5808, allocations: 254.9 kB / 0.5028 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.5829, allocations: 332.9 kB / 0.5031 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/0.609, allocations: 10.28 MB / 0.5132 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/0.6092, allocations: 57.22 kB / 0.5132 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005438/0.6098, allocations: 157.6 kB / 0.5134 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/0.6128, allocations: 1.907 MB / 0.5152 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.6317, allocations: 8.235 MB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0626/0.6943, allocations: 39.57 MB / 0.5619 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00907/0.7034, allocations: 3.285 MB / 0.5651 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.7178, allocations: 5.99 MB / 0.571 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.7179, allocations: 51.56 kB / 0.571 GB, free: 13.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 6.052e-06/0.718, allocations: 4 kB / 0.571 GB, free: 13.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.03057/0.7485, allocations: 9.824 MB / 0.5806 GB, free: 3.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.7488, allocations: 145.5 kB / 0.5808 GB, free: 2.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007725/0.7565, allocations: 4.295 MB / 0.5849 GB, free: 14.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004224/0.757, allocations: 49.7 kB / 0.585 GB, free: 14.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003931/0.7609, allocations: 3.183 MB / 0.5881 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.762, allocations: 0.6404 MB / 0.5887 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.7623, allocations: 120 kB / 0.5888 GB, free: 10.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.7627, allocations: 0.5583 MB / 0.5894 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.7658, allocations: 1.613 MB / 0.591 GB, free: 8.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006922/0.7727, allocations: 5.442 MB / 0.5963 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/0.7783, allocations: 2.909 MB / 0.5991 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-05/0.7784, allocations: 43.94 kB / 0.5992 GB, free: 14.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01462/0.793, allocations: 6.813 MB / 0.6058 GB, free: 7.203 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.7932, allocations: 71.11 kB / 0.6059 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002844/0.7935, allocations: 139.9 kB / 0.606 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.7938, allocations: 204 kB / 0.6062 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/0.7989, allocations: 1.415 MB / 0.6076 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002924/0.7992, allocations: 270.9 kB / 0.6078 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/0.8048, allocations: 303.5 kB / 0.6081 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/0.8059, allocations: 376 kB / 0.6085 GB, free: 4.457 MB / 478.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 (767): * Single equations (assignments): 764 * 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.0058/0.8117, allocations: 2.038 MB / 0.6105 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/0.8129, allocations: 351.5 kB / 0.6108 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/0.8165, allocations: 1.337 MB / 0.6121 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/0.8165, allocations: 20 kB / 0.6121 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.8166, allocations: 0 / 0.6121 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.8166, allocations: 7.969 kB / 0.6122 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8317, allocations: 5.852 MB / 0.6179 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/0.8318, allocations: 16 kB / 0.6179 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.8328, allocations: 291.5 kB / 0.6182 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.652e-05/0.8329, allocations: 24 kB / 0.6182 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.833, allocations: 48 kB / 0.6182 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.833, allocations: 35.86 kB / 0.6183 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.227e-05/0.833, allocations: 27.88 kB / 0.6183 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.8385, allocations: 5.287 MB / 0.6235 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/0.8403, allocations: 0.5471 MB / 0.624 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.8407, allocations: 51.98 kB / 0.624 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.8418, allocations: 63.94 kB / 0.6241 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.842, allocations: 151.4 kB / 0.6242 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8422, allocations: 64 kB / 0.6243 GB, free: 3.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004977/0.8471, allocations: 2.696 MB / 0.6269 GB, free: 404 kB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8472, allocations: 0 / 0.6269 GB, free: 404 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.2782/1.125, allocations: 0.9129 MB / 0.6278 GB, free: 143.5 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.0005338/1.126, allocations: 220.5 kB / 0.628 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006083/1.132, allocations: 3.722 MB / 0.6317 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.132, allocations: 3.344 kB / 0.6317 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008083/1.133, allocations: 0.7433 MB / 0.6324 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.135, allocations: 427 kB / 0.6328 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.15, allocations: 10.41 MB / 0.643 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/1.153, allocations: 3.27 MB / 0.6462 GB, free: 137.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0043/1.157, allocations: 1.82 MB / 0.6479 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/1.158, allocations: 248.4 kB / 0.6482 GB, free: 136.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.703e-06/1.158, allocations: 3.938 kB / 0.6482 GB, free: 136.9 MB / 494.1 MB Notification: Performance of Templates: time 0.063/1.221, allocations: 27.61 MB / 0.6751 GB, free: 130.9 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: