Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002719/0.002724, allocations: 368.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.07/4.07, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003547/0.003547, allocations: 225.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5036/0.5036, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.000447, allocations: 12.75 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09879, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperParallel): time 0.3967/0.4956, allocations: 74.74 MB / 0.7531 GB, free: 7.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04141/0.537, allocations: 14.36 MB / 0.7671 GB, free: 13.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01738/0.5545, allocations: 350.5 kB / 0.7675 GB, free: 13.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01405/0.5686, allocations: 3.665 MB / 0.771 GB, free: 10.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0425/0.6111, allocations: 11.72 MB / 0.7825 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006815/0.618, allocations: 0.7607 MB / 0.7832 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01106/0.6291, allocations: 5.962 MB / 0.789 GB, free: 9.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/0.6456, allocations: 7.542 MB / 0.7964 GB, free: 2.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.6503, allocations: 1.751 MB / 0.7981 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006325/0.6567, allocations: 2.714 MB / 0.8008 GB, free: 13.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001635/0.6584, allocations: 232 kB / 0.801 GB, free: 13.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.6622, allocations: 0.827 MB / 0.8018 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004245/0.6664, allocations: 2.33 MB / 0.8041 GB, free: 10.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002651/0.6691, allocations: 1.256 MB / 0.8053 GB, free: 9.219 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.682, allocations: 8.015 MB / 0.8131 GB, free: 1.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.6821, allocations: 0 / 0.8131 GB, free: 1.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6821, allocations: 0 / 0.8131 GB, free: 1.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003684/0.6825, allocations: 4 kB / 0.8131 GB, free: 1.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02569/0.7082, allocations: 6.608 MB / 0.8196 GB, free: 10.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.7083, allocations: 8.031 kB / 0.8196 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.7255, allocations: 2.799 MB / 0.8223 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.7357, allocations: 3.081 MB / 0.8253 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/0.7364, allocations: 394.3 kB / 0.8257 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.7394, allocations: 0.5347 MB / 0.8262 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07022/0.8097, allocations: 19.6 MB / 0.8454 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003473/0.8101, allocations: 63.38 kB / 0.8454 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/0.8125, allocations: 247.8 kB / 0.8457 GB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008295/0.8208, allocations: 3.068 MB / 0.8487 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0677/0.8885, allocations: 17.47 MB / 0.8657 GB, free: 10.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5785/1.467, allocations: 64.09 MB / 0.9283 GB, free: 135.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03998/1.507, allocations: 8.598 MB / 0.9367 GB, free: 134.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01492/1.522, allocations: 5.67 MB / 0.9422 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03196/1.554, allocations: 15.18 MB / 0.9571 GB, free: 124.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.401e-05/1.554, allocations: 66.41 kB / 0.9571 GB, free: 124.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 9.077e-06/1.554, allocations: 0 / 0.9571 GB, free: 124.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=464): time 0.3904/1.945, allocations: 64.87 MB / 1.02 GB, free: 64.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/1.945, allocations: 179 kB / 1.021 GB, free: 64.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/1.954, allocations: 4.767 MB / 1.025 GB, free: 59.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00126/1.956, allocations: 97.7 kB / 1.025 GB, free: 59.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003256/1.959, allocations: 4.143 MB / 1.029 GB, free: 55.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002673/1.962, allocations: 1.678 MB / 1.031 GB, free: 53.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.963, allocations: 184 kB / 1.031 GB, free: 53.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005919/1.964, allocations: 0.6904 MB / 1.032 GB, free: 52.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/1.975, allocations: 4.789 MB / 1.037 GB, free: 47.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01507/1.991, allocations: 9.279 MB / 1.046 GB, free: 36.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/2.006, allocations: 6.552 MB / 1.052 GB, free: 30 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/2.006, allocations: 44 kB / 1.052 GB, free: 29.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04762/2.053, allocations: 16.57 MB / 1.068 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/2.054, allocations: 76.03 kB / 1.068 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/2.054, allocations: 156 kB / 1.069 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01879/2.073, allocations: 3.099 MB / 1.072 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/2.087, allocations: 2.113 MB / 1.074 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3609/2.448, allocations: 24.29 MB / 1.097 GB, free: 164.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.459, allocations: 0.5383 MB / 1.098 GB, free: 164.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/2.461, allocations: 0.513 MB / 1.098 GB, free: 164.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.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 (1095): * Single equations (assignments): 1082 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00881/2.47, allocations: 3.03 MB / 1.101 GB, free: 164 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/2.472, allocations: 0.4973 MB / 1.102 GB, free: 164 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04245/2.514, allocations: 11.51 MB / 1.113 GB, free: 160.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001974/2.514, allocations: 25.03 kB / 1.113 GB, free: 160.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/2.514, allocations: 0 / 1.113 GB, free: 160.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006893/2.521, allocations: 1.362 MB / 1.114 GB, free: 159.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002896/2.524, allocations: 79.56 kB / 1.114 GB, free: 159.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009974/2.534, allocations: 331.8 kB / 1.115 GB, free: 159.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002189/2.537, allocations: 325.9 kB / 1.115 GB, free: 159.7 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05672/2.593, allocations: 12.08 MB / 1.127 GB, free: 155.5 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04659/2.64, allocations: 14.64 MB / 1.141 GB, free: 149.5 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01289/2.653, allocations: 4.276 MB / 1.145 GB, free: 147.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007872/2.661, allocations: 2.946 MB / 1.148 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of Backend: time 1.252e-06/2.661, allocations: 0 / 1.148 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02553/2.686, allocations: 9.322 MB / 1.157 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of SimCode: time 0.03476/2.721, allocations: 17.83 MB / 1.175 GB, free: 118.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.2194/2.941, allocations: 88.04 MB / 1.261 GB, free: 30.63 MB / 0.4949 GB