Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002674/0.002674, allocations: 365.3 kB / 15.96 MB, free: 6.18 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: 9.559 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.005185/0.005185, allocations: 228.5 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.661/0.661, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004628, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09833, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02609/0.1245, allocations: 22.53 MB / 0.7021 GB, free: 19.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.139, allocations: 5.688 MB / 0.7077 GB, free: 13.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004471/0.1436, allocations: 103.7 kB / 0.7078 GB, free: 13.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.1471, allocations: 1.046 MB / 0.7088 GB, free: 12.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.1597, allocations: 3.864 MB / 0.7125 GB, free: 8.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.1621, allocations: 447.3 kB / 0.713 GB, free: 7.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.1653, allocations: 1.852 MB / 0.7148 GB, free: 6.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.169, allocations: 1.969 MB / 0.7167 GB, free: 4.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.17, allocations: 498.1 kB / 0.7172 GB, free: 3.535 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.1715, allocations: 0.7711 MB / 0.7179 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.1718, allocations: 56 kB / 0.718 GB, free: 2.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.1731, allocations: 443.4 kB / 0.7184 GB, free: 2.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007298/0.1739, allocations: 0.5883 MB / 0.719 GB, free: 1.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.1743, allocations: 308.8 kB / 0.7193 GB, free: 1.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3195/0.4938, allocations: 1.854 MB / 0.7211 GB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4938, allocations: 0.9688 kB / 0.7211 GB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4938, allocations: 0 / 0.7211 GB, free: 15.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.732e-05/0.494, allocations: 0 / 0.7211 GB, free: 15.75 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005567/0.4995, allocations: 1.677 MB / 0.7227 GB, free: 14.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4996, allocations: 10.64 kB / 0.7227 GB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.5019, allocations: 259.4 kB / 0.723 GB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/0.5054, allocations: 1.063 MB / 0.724 GB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5056, allocations: 91.89 kB / 0.7241 GB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/0.506, allocations: 118.3 kB / 0.7242 GB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00974/0.5157, allocations: 2.915 MB / 0.7271 GB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.028e-05/0.5159, allocations: 21.67 kB / 0.7271 GB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.5161, allocations: 54.08 kB / 0.7271 GB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001035/0.5171, allocations: 410.2 kB / 0.7275 GB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009317/0.5265, allocations: 2.112 MB / 0.7296 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.5471, allocations: 10.41 MB / 0.7398 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.5539, allocations: 1.102 MB / 0.7408 GB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000988/0.5549, allocations: 381.9 kB / 0.7412 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005766/0.5607, allocations: 2.619 MB / 0.7438 GB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5608, allocations: 39.52 kB / 0.7438 GB, free: 7.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 5.37e-06/0.5608, allocations: 0 / 0.7438 GB, free: 7.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.01945/0.5803, allocations: 3.517 MB / 0.7472 GB, free: 6.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5804, allocations: 82.27 kB / 0.7473 GB, free: 6.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.5829, allocations: 1.168 MB / 0.7485 GB, free: 6.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.5831, allocations: 34.11 kB / 0.7485 GB, free: 5.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.5839, allocations: 0.9123 MB / 0.7494 GB, free: 5.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.5843, allocations: 199.5 kB / 0.7496 GB, free: 5.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.5844, allocations: 28.19 kB / 0.7496 GB, free: 5.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5845, allocations: 372.2 kB / 0.7499 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.5857, allocations: 392.8 kB / 0.7503 GB, free: 5.055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.5874, allocations: 1.215 MB / 0.7515 GB, free: 3.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.5893, allocations: 0.6455 MB / 0.7521 GB, free: 3.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/0.5894, allocations: 9.156 kB / 0.7521 GB, free: 3.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005112/0.5945, allocations: 1.649 MB / 0.7538 GB, free: 3.578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.5946, allocations: 17.31 kB / 0.7538 GB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/0.5947, allocations: 29.41 kB / 0.7538 GB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.5951, allocations: 95.62 kB / 0.7539 GB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.5975, allocations: 347.4 kB / 0.7542 GB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.5997, allocations: 1.707 MB / 0.7559 GB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.6018, allocations: 69.58 kB / 0.756 GB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/0.6022, allocations: 82.91 kB / 0.756 GB, free: 2.098 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00204/0.6043, allocations: 0.6254 MB / 0.7566 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.6047, allocations: 114.1 kB / 0.7568 GB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.6067, allocations: 0.6547 MB / 0.7574 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.6068, allocations: 1.406 kB / 0.7574 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6068, allocations: 0 / 0.7574 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/0.6074, allocations: 219.6 kB / 0.7576 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.6077, allocations: 8.844 kB / 0.7576 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.6083, allocations: 26.55 kB / 0.7576 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6084, allocations: 33.48 kB / 0.7577 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002215/0.6106, allocations: 0.6761 MB / 0.7583 GB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001994/0.6127, allocations: 1.022 MB / 0.7593 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005524/0.6133, allocations: 228.9 kB / 0.7596 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001467/0.6148, allocations: 0.7411 MB / 0.7603 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of Backend: time 6.51e-07/0.6148, allocations: 0 / 0.7603 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.6181, allocations: 1.03 MB / 0.7613 GB, free: 272 kB / 346.7 MB Notification: Performance of SimCode: time 0.008115/0.6263, allocations: 3.688 MB / 0.7649 GB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.04141/0.6677, allocations: 11.83 MB / 0.7764 GB, free: 1.652 MB / 362.7 MB