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.003792/0.003796, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.048/4.048, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.00351/0.003509, allocations: 230.4 kB / 451 MB, free: 145 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.5649/0.5649, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.5763, allocations: 95.74 MB / 0.7736 GB, free: 5.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.5767, allocations: 84.52 kB / 0.7737 GB, free: 5.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4684/1.045, allocations: 114.9 MB / 0.8859 GB, free: 10.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.406e-06/1.045, allocations: 7.938 kB / 0.8859 GB, free: 10.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004118/1.046, allocations: 128 kB / 0.886 GB, free: 10.05 MB / 474.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.02861/1.074, allocations: 6.159 MB / 0.892 GB, free: 3.812 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.074, allocations: 8.031 kB / 0.892 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/1.094, allocations: 2.584 MB / 0.8945 GB, free: 1.207 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3508/1.445, allocations: 3.662 MB / 0.8981 GB, free: 90.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008793/1.446, allocations: 0.5042 MB / 0.8986 GB, free: 90.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004419/1.45, allocations: 0.6705 MB / 0.8993 GB, free: 90.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0852/1.535, allocations: 19.35 MB / 0.9182 GB, free: 86.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007378/1.536, allocations: 76.59 kB / 0.9182 GB, free: 86.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004189/1.54, allocations: 319.2 kB / 0.9185 GB, free: 86.97 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004671/1.545, allocations: 1.799 MB / 0.9203 GB, free: 86.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06073/1.606, allocations: 17.14 MB / 0.937 GB, free: 86.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/1.722, allocations: 70.78 MB / 1.006 GB, free: 41.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03887/1.761, allocations: 8.318 MB / 1.014 GB, free: 38.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01099/1.772, allocations: 5.663 MB / 1.02 GB, free: 32.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03105/1.804, allocations: 14.84 MB / 1.034 GB, free: 20.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/1.804, allocations: 68.88 kB / 1.034 GB, free: 20.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=355): time 8.536e-06/1.804, allocations: 0 / 1.034 GB, free: 20.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=502): time 1.017/2.821, allocations: 93.46 MB / 1.126 GB, free: 112.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/2.821, allocations: 183.5 kB / 1.126 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/2.832, allocations: 4.761 MB / 1.13 GB, free: 111.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.00147/2.834, allocations: 96.69 kB / 1.131 GB, free: 111.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003686/2.838, allocations: 4.141 MB / 1.135 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003047/2.841, allocations: 1.8 MB / 1.136 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/2.843, allocations: 188.5 kB / 1.137 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009317/2.844, allocations: 0.7012 MB / 1.137 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01413/2.858, allocations: 5.452 MB / 1.143 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01747/2.876, allocations: 9.912 MB / 1.152 GB, free: 99.01 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/2.893, allocations: 7.281 MB / 1.159 GB, free: 96.21 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/2.893, allocations: 46.25 kB / 1.159 GB, free: 96.21 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.07192/2.965, allocations: 17.97 MB / 1.177 GB, free: 90.03 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/2.966, allocations: 70.19 kB / 1.177 GB, free: 90.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000427/2.966, allocations: 154 kB / 1.177 GB, free: 90.03 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02228/2.988, allocations: 3.085 MB / 1.18 GB, free: 89.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02592/3.014, allocations: 2.249 MB / 1.182 GB, free: 89.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04055/3.055, allocations: 24.2 MB / 1.206 GB, free: 67.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/3.067, allocations: 0.5704 MB / 1.207 GB, free: 67.29 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002687/3.07, allocations: 0.5165 MB / 1.207 GB, free: 66.81 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (1126): * Single equations (assignments): 1113 * 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.009951/3.08, allocations: 3.082 MB / 1.21 GB, free: 64.09 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/3.082, allocations: 0.5161 MB / 1.211 GB, free: 63.57 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04239/3.124, allocations: 13.1 MB / 1.223 GB, free: 52.73 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.99e-05/3.124, allocations: 54.97 kB / 1.223 GB, free: 52.68 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-05/3.125, allocations: 12 kB / 1.223 GB, free: 52.67 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/3.125, allocations: 29.22 kB / 1.223 GB, free: 52.66 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07161/3.196, allocations: 25.38 MB / 1.248 GB, free: 31.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.167e-05/3.196, allocations: 4 kB / 1.248 GB, free: 31.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00975/3.206, allocations: 0.8773 MB / 1.249 GB, free: 31.05 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01608/3.222, allocations: 3.302 MB / 1.252 GB, free: 27.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00139/3.224, allocations: 90.8 kB / 1.252 GB, free: 27.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3864/3.61, allocations: 21.09 MB / 1.273 GB, free: 100.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/3.61, allocations: 8.656 kB / 1.273 GB, free: 100.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07928/3.69, allocations: 20.33 MB / 1.293 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007859/3.697, allocations: 1.553 MB / 1.294 GB, free: 99.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003322/3.701, allocations: 93.59 kB / 1.294 GB, free: 99.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01179/3.713, allocations: 362 kB / 1.295 GB, free: 99.57 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002878/3.716, allocations: 333.5 kB / 1.295 GB, free: 99.57 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00158/3.717, allocations: 128.3 kB / 1.295 GB, free: 99.57 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01113/3.728, allocations: 2.937 MB / 1.298 GB, free: 99.39 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.512e-06/3.728, allocations: 2.812 kB / 1.298 GB, free: 99.39 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01778/3.746, allocations: 1.943 MB / 1.3 GB, free: 99.39 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * 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 (419): * Single equations (assignments): 401 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00245/3.749, allocations: 259.4 kB / 1.3 GB, free: 99.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.04671/3.796, allocations: 14.37 MB / 1.314 GB, free: 97.73 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/3.796, allocations: 0 / 1.314 GB, free: 97.73 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02348/3.819, allocations: 7.893 MB / 1.322 GB, free: 93.85 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007464/3.827, allocations: 0.5921 MB / 1.323 GB, free: 93.53 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04942/3.876, allocations: 21.63 MB / 1.344 GB, free: 83.05 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009583/3.886, allocations: 4.952 MB / 1.349 GB, free: 81.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01276/3.899, allocations: 3.044 MB / 1.352 GB, free: 81.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003956/3.903, allocations: 413.8 kB / 1.352 GB, free: 81.18 MB / 0.4949 GB Notification: Performance of SimCode: time 1.352e-06/3.903, allocations: 0 / 1.352 GB, free: 81.18 MB / 0.4949 GB Notification: Performance of Templates: time 0.2062/4.109, allocations: 83.9 MB / 1.434 GB, free: 16.8 MB / 0.4949 GB