Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002683/0.002688, allocations: 368.8 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.901/3.901, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003494/0.003494, allocations: 230.2 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.6197/0.6197, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008021/0.0008018, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1312, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.4448/0.576, allocations: 61.02 MB / 0.7397 GB, free: 11.62 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03861/0.6147, allocations: 12.92 MB / 0.7523 GB, free: 7.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01629/0.631, allocations: 288.4 kB / 0.7526 GB, free: 7.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01409/0.6452, allocations: 2.98 MB / 0.7555 GB, free: 6.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04409/0.6893, allocations: 10.24 MB / 0.7655 GB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007236/0.6966, allocations: 0.8128 MB / 0.7663 GB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06469/0.7614, allocations: 28.5 MB / 0.7941 GB, free: 4.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.7761, allocations: 6.618 MB / 0.8006 GB, free: 14.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.7802, allocations: 1.685 MB / 0.8022 GB, free: 12.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00585/0.7861, allocations: 2.64 MB / 0.8048 GB, free: 9.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.7871, allocations: 192 kB / 0.805 GB, free: 9.582 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.7906, allocations: 1.022 MB / 0.806 GB, free: 8.559 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.7941, allocations: 2.256 MB / 0.8082 GB, free: 6.297 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.7959, allocations: 1.084 MB / 0.8093 GB, free: 5.203 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.8078, allocations: 7.427 MB / 0.8165 GB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.8079, allocations: 4 kB / 0.8165 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8079, allocations: 0 / 0.8165 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002373/0.8082, allocations: 0 / 0.8165 GB, free: 13.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.01885/0.827, allocations: 5.453 MB / 0.8218 GB, free: 8.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.8271, allocations: 8.031 kB / 0.8218 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/0.8585, allocations: 3.128 MB / 0.8249 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/0.8717, allocations: 3.91 MB / 0.8287 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004616/0.8722, allocations: 312.1 kB / 0.829 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.8744, allocations: 447.6 kB / 0.8294 GB, free: 368 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03556/0.91, allocations: 12.44 MB / 0.8416 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.9103, allocations: 59.44 kB / 0.8417 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009975/0.9113, allocations: 199.8 kB / 0.8418 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005595/0.9169, allocations: 2.078 MB / 0.8439 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/0.9524, allocations: 10.68 MB / 0.8543 GB, free: 6.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09502/1.047, allocations: 47.46 MB / 0.9007 GB, free: 5.262 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/1.068, allocations: 4.602 MB / 0.9051 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3212/1.389, allocations: 2.64 MB / 0.9077 GB, free: 173.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02892/1.418, allocations: 10.43 MB / 0.9179 GB, free: 168.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.418, allocations: 64.2 kB / 0.918 GB, free: 168.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 7.414e-06/1.418, allocations: 0 / 0.918 GB, free: 168.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.09763/1.516, allocations: 21.01 MB / 0.9385 GB, free: 160.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/1.516, allocations: 204.6 kB / 0.9387 GB, free: 160.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.526, allocations: 4.772 MB / 0.9434 GB, free: 157.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000551/1.527, allocations: 53.7 kB / 0.9434 GB, free: 157.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/1.53, allocations: 3.713 MB / 0.947 GB, free: 153.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.531, allocations: 0.8303 MB / 0.9478 GB, free: 152.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00077/1.532, allocations: 136 kB / 0.948 GB, free: 152.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003951/1.532, allocations: 0.5926 MB / 0.9485 GB, free: 151.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006153/1.538, allocations: 2.552 MB / 0.951 GB, free: 149.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008593/1.547, allocations: 6.512 MB / 0.9574 GB, free: 141.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008525/1.556, allocations: 3.996 MB / 0.9613 GB, free: 137.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/1.556, allocations: 40 kB / 0.9613 GB, free: 137.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02812/1.584, allocations: 10.18 MB / 0.9713 GB, free: 126.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/1.584, allocations: 68 kB / 0.9713 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/1.584, allocations: 136 kB / 0.9715 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00782/1.592, allocations: 1.642 MB / 0.9731 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009465/1.602, allocations: 1.556 MB / 0.9746 GB, free: 123.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/1.62, allocations: 9.551 MB / 0.9839 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007338/1.627, allocations: 388.6 kB / 0.9843 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.629, allocations: 403.9 kB / 0.9847 GB, free: 112.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (831): * Single equations (assignments): 826 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00617/1.635, allocations: 2.573 MB / 0.9872 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.636, allocations: 422.5 kB / 0.9876 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/1.651, allocations: 4.621 MB / 0.9921 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.313e-05/1.651, allocations: 15.95 kB / 0.9921 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.651, allocations: 0 / 0.9921 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.653, allocations: 0.7922 MB / 0.9929 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/1.655, allocations: 32 kB / 0.9929 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003692/1.659, allocations: 137.2 kB / 0.9931 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007087/1.659, allocations: 161.6 kB / 0.9932 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01607/1.675, allocations: 5.02 MB / 0.9981 GB, free: 99.16 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01343/1.689, allocations: 6.313 MB / 1.004 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003602/1.693, allocations: 1.668 MB / 1.006 GB, free: 91.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006204/1.699, allocations: 3.002 MB / 1.009 GB, free: 88.16 MB / 490.7 MB Notification: Performance of Backend: time 1.403e-06/1.699, allocations: 0 / 1.009 GB, free: 88.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01565/1.714, allocations: 5.07 MB / 1.014 GB, free: 83.12 MB / 490.7 MB Notification: Performance of SimCode: time 0.02846/1.743, allocations: 13.63 MB / 1.027 GB, free: 69.45 MB / 490.7 MB Notification: Performance of Templates: time 0.1446/1.888, allocations: 53.72 MB / 1.08 GB, free: 15.93 MB / 490.7 MB