Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003965/0.003965, 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.025/4.025, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.005376/0.005375, allocations: 227.3 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.562/0.562, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.036/0.1382, allocations: 30.04 MB / 0.7094 GB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.1561, allocations: 7.141 MB / 0.7164 GB, free: 4.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005703/0.1619, allocations: 139.6 kB / 0.7165 GB, free: 4.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004722/0.1667, allocations: 1.415 MB / 0.7179 GB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.378/0.5447, allocations: 5.03 MB / 0.7228 GB, free: 13.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.5478, allocations: 0.5032 MB / 0.7233 GB, free: 13.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006896/0.5547, allocations: 3.745 MB / 0.727 GB, free: 13.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006428/0.5612, allocations: 2.941 MB / 0.7299 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.5647, allocations: 1.012 MB / 0.7308 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004178/0.5689, allocations: 1.571 MB / 0.7324 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.5702, allocations: 112.4 kB / 0.7325 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.5741, allocations: 0.849 MB / 0.7333 GB, free: 12.8 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003149/0.5773, allocations: 1.365 MB / 0.7346 GB, free: 12.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.5792, allocations: 0.6901 MB / 0.7353 GB, free: 12.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007608/0.5869, allocations: 4.404 MB / 0.7396 GB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5869, allocations: 0 / 0.7396 GB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.587, allocations: 3.344 kB / 0.7396 GB, free: 10.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002082/0.5872, allocations: 0 / 0.7396 GB, free: 10.66 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01105/0.5982, allocations: 3.395 MB / 0.7429 GB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5983, allocations: 10.89 kB / 0.743 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.6116, allocations: 2.091 MB / 0.745 GB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005925/0.6176, allocations: 1.916 MB / 0.7469 GB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.6179, allocations: 188.4 kB / 0.747 GB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.6194, allocations: 247.6 kB / 0.7473 GB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.642, allocations: 8.401 MB / 0.7555 GB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.6422, allocations: 43.47 kB / 0.7555 GB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006289/0.6429, allocations: 124.8 kB / 0.7556 GB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003743/0.6466, allocations: 1.621 MB / 0.7572 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/0.6689, allocations: 7.047 MB / 0.7641 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.065/0.7339, allocations: 33.8 MB / 0.7971 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.7469, allocations: 3.148 MB / 0.8002 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003613/0.7506, allocations: 1.441 MB / 0.8016 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.7618, allocations: 4.016 MB / 0.8055 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/0.7619, allocations: 47.12 kB / 0.8056 GB, free: 3.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 7.053e-06/0.7619, allocations: 0 / 0.8056 GB, free: 3.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.05399/0.8159, allocations: 11.3 MB / 0.8166 GB, free: 7.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.8161, allocations: 166.8 kB / 0.8168 GB, free: 7.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/0.8268, allocations: 3.681 MB / 0.8204 GB, free: 3.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000406/0.8273, allocations: 41.7 kB / 0.8204 GB, free: 3.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003483/0.8308, allocations: 2.732 MB / 0.8231 GB, free: 1.039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.8319, allocations: 0.4924 MB / 0.8235 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006414/0.8325, allocations: 108 kB / 0.8236 GB, free: 456 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004979/0.833, allocations: 0.5252 MB / 0.8242 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/0.8381, allocations: 1.673 MB / 0.8258 GB, free: 14.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008534/0.8467, allocations: 5.077 MB / 0.8308 GB, free: 7.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007582/0.8544, allocations: 2.877 MB / 0.8336 GB, free: 4.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.8545, allocations: 36 kB / 0.8336 GB, free: 4.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01996/0.8745, allocations: 6.637 MB / 0.8401 GB, free: 13.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.8747, allocations: 56 kB / 0.8401 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/0.8749, allocations: 120 kB / 0.8402 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.8761, allocations: 340.7 kB / 0.8406 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008056/0.8842, allocations: 1.234 MB / 0.8418 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.8884, allocations: 2.329 MB / 0.844 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005788/0.8942, allocations: 291.5 kB / 0.8443 GB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/0.8956, allocations: 328 kB / 0.8446 GB, free: 9.098 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (658): * Single equations (assignments): 654 * 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: 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.005554/0.9011, allocations: 1.771 MB / 0.8464 GB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009505/0.9021, allocations: 300.1 kB / 0.8467 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008569/0.9107, allocations: 2.338 MB / 0.8489 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-05/0.9108, allocations: 7.984 kB / 0.8489 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.9108, allocations: 128 / 0.8489 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.9128, allocations: 0.5321 MB / 0.8495 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/0.9139, allocations: 27.94 kB / 0.8495 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/0.9164, allocations: 71.91 kB / 0.8496 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/0.9168, allocations: 75.28 kB / 0.8496 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009367/0.9262, allocations: 2.794 MB / 0.8524 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00842/0.9347, allocations: 3.61 MB / 0.8559 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002263/0.937, allocations: 0.8686 MB / 0.8567 GB, free: 12.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006413/0.9435, allocations: 2.299 MB / 0.859 GB, free: 10.37 MB / 458.7 MB Notification: Performance of Backend: time 2.605e-06/0.9436, allocations: 0 / 0.859 GB, free: 10.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/0.9556, allocations: 3.403 MB / 0.8623 GB, free: 6.984 MB / 458.7 MB Notification: Performance of SimCode: time 0.02358/0.9793, allocations: 8.93 MB / 0.871 GB, free: 14.01 MB / 474.7 MB Notification: Performance of Templates: time 0.4304/1.41, allocations: 34.69 MB / 0.9049 GB, free: 163.6 MB / 490.7 MB