Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002818/0.002823, allocations: 352.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.365/3.365, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005163/0.005163, allocations: 233 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5624/0.5624, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.0864, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3373/0.4237, allocations: 37.01 MB / 0.6429 GB, free: 68.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02984/0.4536, allocations: 8.307 MB / 0.651 GB, free: 63.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/0.4658, allocations: 173.3 kB / 0.6512 GB, free: 63.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009257/0.4751, allocations: 1.767 MB / 0.6529 GB, free: 62.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02892/0.5041, allocations: 6.221 MB / 0.659 GB, free: 58.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.5099, allocations: 0.6774 MB / 0.6596 GB, free: 58.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.5204, allocations: 4.85 MB / 0.6644 GB, free: 53.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.5311, allocations: 4.124 MB / 0.6684 GB, free: 49.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.5351, allocations: 1.234 MB / 0.6696 GB, free: 48.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005472/0.5406, allocations: 2.056 MB / 0.6716 GB, free: 46.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.5422, allocations: 148 kB / 0.6717 GB, free: 46.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.5462, allocations: 0.7177 MB / 0.6724 GB, free: 45.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003453/0.5497, allocations: 1.667 MB / 0.6741 GB, free: 43.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.5516, allocations: 0.8115 MB / 0.6749 GB, free: 43.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00967/0.5613, allocations: 5.148 MB / 0.6799 GB, free: 37.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.5614, allocations: 8 kB / 0.6799 GB, free: 37.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.5614, allocations: 0 / 0.6799 GB, free: 37.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002501/0.5616, allocations: 0 / 0.6799 GB, free: 37.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01104/0.5727, allocations: 3.932 MB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5728, allocations: 16.02 kB / 0.6838 GB, free: 33.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.5868, allocations: 2.252 MB / 0.686 GB, free: 31.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006285/0.5931, allocations: 2.367 MB / 0.6883 GB, free: 29.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.5934, allocations: 249.3 kB / 0.6885 GB, free: 28.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.5948, allocations: 319.8 kB / 0.6888 GB, free: 28.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/0.6242, allocations: 10.05 MB / 0.6986 GB, free: 17.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/0.6245, allocations: 55.52 kB / 0.6987 GB, free: 17.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/0.626, allocations: 155.9 kB / 0.6988 GB, free: 17.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006523/0.6325, allocations: 1.865 MB / 0.7006 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03388/0.6665, allocations: 8.016 MB / 0.7085 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09404/0.7606, allocations: 38.79 MB / 0.7464 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/0.7807, allocations: 3.074 MB / 0.7494 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004369/0.7852, allocations: 1.002 MB / 0.7503 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/0.804, allocations: 5.128 MB / 0.7553 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.319e-05/0.8042, allocations: 51.14 kB / 0.7554 GB, free: 6.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 8.746e-06/0.8042, allocations: 0 / 0.7554 GB, free: 6.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.3267/1.131, allocations: 8.926 MB / 0.7641 GB, free: 121.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/1.131, allocations: 146.1 kB / 0.7642 GB, free: 121.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.142, allocations: 4.015 MB / 0.7682 GB, free: 120.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000278/1.142, allocations: 46.48 kB / 0.7682 GB, free: 120.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00321/1.145, allocations: 3.139 MB / 0.7713 GB, free: 118.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009401/1.146, allocations: 0.5919 MB / 0.7719 GB, free: 118.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/1.147, allocations: 116 kB / 0.772 GB, free: 118.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005422/1.147, allocations: 0.5619 MB / 0.7725 GB, free: 118 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005324/1.153, allocations: 1.591 MB / 0.7741 GB, free: 117.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007782/1.16, allocations: 5.434 MB / 0.7794 GB, free: 111.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/1.168, allocations: 2.89 MB / 0.7822 GB, free: 110.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/1.168, allocations: 39.22 kB / 0.7822 GB, free: 110.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02009/1.188, allocations: 6.738 MB / 0.7888 GB, free: 108.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/1.189, allocations: 62.53 kB / 0.7889 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003173/1.189, allocations: 137.9 kB / 0.789 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/1.189, allocations: 201.7 kB / 0.7892 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008918/1.198, allocations: 1.409 MB / 0.7906 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003166/1.199, allocations: 271.1 kB / 0.7908 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006311/1.205, allocations: 289.5 kB / 0.7911 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.206, allocations: 371.7 kB / 0.7915 GB, free: 107.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (758): * Single equations (assignments): 755 * 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.005433/1.212, allocations: 2.017 MB / 0.7934 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009719/1.213, allocations: 342.9 kB / 0.7938 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/1.216, allocations: 1.249 MB / 0.795 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/1.216, allocations: 3.844 kB / 0.795 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.216, allocations: 7.781 kB / 0.795 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.218, allocations: 0.514 MB / 0.7955 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009123/1.219, allocations: 24.91 kB / 0.7955 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.221, allocations: 54.11 kB / 0.7956 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.221, allocations: 67.23 kB / 0.7956 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004744/1.226, allocations: 1.875 MB / 0.7975 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006271/1.232, allocations: 3.013 MB / 0.8004 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001642/1.234, allocations: 0.6758 MB / 0.8011 GB, free: 103.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005752/1.24, allocations: 2.489 MB / 0.8035 GB, free: 102 MB / 410.7 MB Notification: Performance of Backend: time 1.463e-06/1.24, allocations: 0 / 0.8035 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.251, allocations: 3.305 MB / 0.8067 GB, free: 99.11 MB / 410.7 MB Notification: Performance of SimCode: time 0.02376/1.274, allocations: 10.29 MB / 0.8168 GB, free: 89.61 MB / 410.7 MB Notification: Performance of Templates: time 0.1166/1.391, allocations: 33.15 MB / 0.8491 GB, free: 57.42 MB / 410.7 MB