Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00422/0.004227, allocations: 369 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 3.874/3.874, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003608/0.003608, allocations: 234.1 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.5342/0.5342, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006212/0.0006215, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09637, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03988/0.1363, allocations: 32.56 MB / 0.7119 GB, free: 9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.1549, allocations: 6.895 MB / 0.7186 GB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006513/0.1615, allocations: 147.7 kB / 0.7188 GB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3295/0.491, allocations: 1.548 MB / 0.7203 GB, free: 12.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01672/0.5078, allocations: 5.078 MB / 0.7252 GB, free: 12.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.5106, allocations: 393.1 kB / 0.7256 GB, free: 12.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005806/0.5164, allocations: 3.235 MB / 0.7288 GB, free: 12.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.5241, allocations: 3.694 MB / 0.7324 GB, free: 11.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.5264, allocations: 0.9139 MB / 0.7333 GB, free: 11.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.5301, allocations: 1.444 MB / 0.7347 GB, free: 11.62 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009439/0.531, allocations: 118.8 kB / 0.7348 GB, free: 11.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.5339, allocations: 0.7829 MB / 0.7356 GB, free: 11.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.5363, allocations: 1.261 MB / 0.7368 GB, free: 10.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.5374, allocations: 0.692 MB / 0.7375 GB, free: 10.8 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006692/0.5441, allocations: 4.512 MB / 0.7419 GB, free: 8.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5442, allocations: 2.625 kB / 0.7419 GB, free: 8.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5442, allocations: 0 / 0.7419 GB, free: 8.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.5444, allocations: 0 / 0.7419 GB, free: 8.371 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01188/0.5563, allocations: 3.449 MB / 0.7452 GB, free: 6.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5564, allocations: 9 kB / 0.7453 GB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.5693, allocations: 2.146 MB / 0.7473 GB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00522/0.5746, allocations: 1.647 MB / 0.749 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.5749, allocations: 207.7 kB / 0.7492 GB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.5766, allocations: 275.5 kB / 0.7494 GB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/0.61, allocations: 10.12 MB / 0.7593 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001714/0.6102, allocations: 31.66 kB / 0.7593 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/0.6115, allocations: 136.5 kB / 0.7595 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004904/0.6164, allocations: 1.747 MB / 0.7612 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/0.6486, allocations: 8.946 MB / 0.7699 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06783/0.7164, allocations: 35.51 MB / 0.8046 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01859/0.7351, allocations: 4.001 MB / 0.8085 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/0.7403, allocations: 2.222 MB / 0.8107 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01511/0.7555, allocations: 5.386 MB / 0.8159 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.653e-05/0.7556, allocations: 63.48 kB / 0.816 GB, free: 7.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=161): time 7.985e-06/0.7556, allocations: 1.75 kB / 0.816 GB, free: 7.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=190): time 0.1323/0.888, allocations: 21.62 MB / 0.8371 GB, free: 2.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.8881, allocations: 149.8 kB / 0.8372 GB, free: 1.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007692/0.8958, allocations: 3.15 MB / 0.8403 GB, free: 14.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007751/0.8967, allocations: 57.7 kB / 0.8404 GB, free: 14.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00471/0.9014, allocations: 2.584 MB / 0.8429 GB, free: 12.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002286/0.9038, allocations: 0.7237 MB / 0.8436 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.9049, allocations: 108 kB / 0.8437 GB, free: 11.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000967/0.9059, allocations: 0.5432 MB / 0.8442 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/0.9161, allocations: 2.205 MB / 0.8464 GB, free: 8.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01449/0.9307, allocations: 5.428 MB / 0.8517 GB, free: 1.547 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009257/0.94, allocations: 3.408 MB / 0.855 GB, free: 14.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/0.9402, allocations: 32 kB / 0.855 GB, free: 14.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02633/0.9665, allocations: 8.198 MB / 0.863 GB, free: 5.902 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.9667, allocations: 56 kB / 0.8631 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001924/0.9669, allocations: 112 kB / 0.8632 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/0.9721, allocations: 1.05 MB / 0.8642 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008527/0.9807, allocations: 1.267 MB / 0.8655 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009364/0.9901, allocations: 5.394 MB / 0.8707 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/0.9961, allocations: 307.5 kB / 0.871 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/0.9974, allocations: 336 kB / 0.8714 GB, free: 13.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (675): * Single equations (assignments): 668 * 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: 2 * 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: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005264/1.003, allocations: 1.8 MB / 0.8731 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/1.004, allocations: 296.3 kB / 0.8734 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.019, allocations: 3.763 MB / 0.8771 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.436e-05/1.019, allocations: 10.27 kB / 0.8771 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.019, allocations: 0 / 0.8771 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/1.022, allocations: 0.6649 MB / 0.8777 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/1.024, allocations: 32 kB / 0.8778 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004015/1.028, allocations: 111.5 kB / 0.8779 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007257/1.029, allocations: 113.1 kB / 0.878 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02222/1.051, allocations: 4.355 MB / 0.8822 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02049/1.071, allocations: 5.953 MB / 0.888 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005631/1.077, allocations: 1.591 MB / 0.8896 GB, free: 10.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006795/1.084, allocations: 1.943 MB / 0.8915 GB, free: 8.449 MB / 490.7 MB Notification: Performance of Backend: time 1.713e-06/1.084, allocations: 288 / 0.8915 GB, free: 8.449 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02264/1.107, allocations: 4.609 MB / 0.896 GB, free: 3.805 MB / 490.7 MB Notification: Performance of SimCode: time 0.3673/1.474, allocations: 9.429 MB / 0.9052 GB, free: 169.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1571/1.631, allocations: 40.87 MB / 0.9451 GB, free: 145.9 MB / 490.7 MB