Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 93.89 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 187.4 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4718/0.6574, allocations: 71.25 MB / 0.53 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04779/0.7053, allocations: 16.51 MB / 0.5461 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02555/0.7309, allocations: 375.7 kB / 0.5465 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01467/0.7456, allocations: 3.575 MB / 0.55 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04085/0.7865, allocations: 10.37 MB / 0.5601 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006778/0.7933, allocations: 1.126 MB / 0.5612 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.1339/0.9272, allocations: 94.97 MB / 0.6539 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.9408, allocations: 7.001 MB / 0.6608 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.946, allocations: 1.729 MB / 0.6625 GB, free: 164 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.9504, allocations: 2.029 MB / 0.6644 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.9519, allocations: 188 kB / 0.6646 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.9552, allocations: 0.8272 MB / 0.6654 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003585/0.9588, allocations: 2.287 MB / 0.6677 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.9616, allocations: 1.076 MB / 0.6687 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009869/0.9715, allocations: 7.333 MB / 0.6759 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9715, allocations: 4 kB / 0.6759 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9715, allocations: 0 / 0.6759 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003928/0.9719, allocations: 3.938 kB / 0.6759 GB, free: 2.375 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.0196/0.9915, allocations: 6.718 MB / 0.6824 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9916, allocations: 12.03 kB / 0.6825 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07276/1.064, allocations: 12.14 MB / 0.6943 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.08, allocations: 5.688 MB / 0.6999 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/1.08, allocations: 321.3 kB / 0.7002 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/1.082, allocations: 415.6 kB / 0.7006 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3627/1.445, allocations: 11.01 MB / 0.7113 GB, free: 196.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/1.445, allocations: 58.77 kB / 0.7114 GB, free: 196.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007978/1.446, allocations: 176.6 kB / 0.7115 GB, free: 196.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004003/1.45, allocations: 1.733 MB / 0.7132 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/1.478, allocations: 9.316 MB / 0.7223 GB, free: 193.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06683/1.545, allocations: 44.71 MB / 0.766 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.566, allocations: 7.955 MB / 0.7738 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/1.584, allocations: 12.84 MB / 0.7863 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/1.584, allocations: 68.67 kB / 0.7864 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 4.589e-06/1.584, allocations: 0 / 0.7864 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2177/1.802, allocations: 76.91 MB / 0.8615 GB, free: 57.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01469/1.817, allocations: 11.38 MB / 0.8726 GB, free: 46.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006643/1.823, allocations: 4.783 MB / 0.8772 GB, free: 41.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001604/1.825, allocations: 91.27 kB / 0.8773 GB, free: 41.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.827, allocations: 2.97 MB / 0.8802 GB, free: 38.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002667/1.83, allocations: 1.406 MB / 0.8816 GB, free: 37.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/1.83, allocations: 107.8 kB / 0.8817 GB, free: 37.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002954/1.83, allocations: 0.5337 MB / 0.8822 GB, free: 36.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005414/1.836, allocations: 4.637 MB / 0.8868 GB, free: 31.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007087/1.843, allocations: 6.637 MB / 0.8932 GB, free: 24.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008535/1.851, allocations: 5.593 MB / 0.8987 GB, free: 18.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/1.851, allocations: 16 kB / 0.8987 GB, free: 18.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.4181/2.27, allocations: 18.98 MB / 0.9173 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/2.27, allocations: 32.03 kB / 0.9173 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002663/2.27, allocations: 65.16 kB / 0.9173 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03393/2.304, allocations: 8.795 MB / 0.9259 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/2.31, allocations: 1.016 MB / 0.9269 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07644/2.386, allocations: 52.23 MB / 0.9779 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006818/2.393, allocations: 0.4886 MB / 0.9784 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/2.394, allocations: 285.1 kB / 0.9787 GB, free: 144.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (515): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.0049/2.399, allocations: 2.275 MB / 0.9809 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/2.401, allocations: 477.3 kB / 0.9814 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0317/2.432, allocations: 17.95 MB / 0.9989 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03011/2.462, allocations: 16.45 MB / 1.015 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.925e-05/2.463, allocations: 24 kB / 1.015 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.611e-05/2.463, allocations: 25.08 kB / 1.015 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06027/2.523, allocations: 35.33 MB / 1.049 GB, free: 72.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/2.523, allocations: 6.75 kB / 1.05 GB, free: 72.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/2.526, allocations: 459.2 kB / 1.05 GB, free: 72.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0233/2.549, allocations: 8.792 MB / 1.059 GB, free: 63.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001521/2.551, allocations: 74.95 kB / 1.059 GB, free: 63.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05878/2.609, allocations: 50.8 MB / 1.108 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3079/2.917, allocations: 10.17 MB / 1.118 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04478/2.962, allocations: 24.5 MB / 1.142 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/2.964, allocations: 0.5384 MB / 1.143 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/2.966, allocations: 71.53 kB / 1.143 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003912/2.97, allocations: 387.6 kB / 1.143 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/2.971, allocations: 326 kB / 1.143 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/2.972, allocations: 97.84 kB / 1.143 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005236/2.977, allocations: 3.203 MB / 1.147 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/2.977, allocations: 3.438 kB / 1.147 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009865/2.987, allocations: 2.008 MB / 1.149 GB, free: 162 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/2.988, allocations: 214.6 kB / 1.149 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02001/3.008, allocations: 12.61 MB / 1.161 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/3.008, allocations: 4 kB / 1.161 GB, free: 153 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01382/3.022, allocations: 7.198 MB / 1.168 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005748/3.028, allocations: 0.7332 MB / 1.169 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/3.056, allocations: 17.96 MB / 1.186 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004288/3.06, allocations: 4.276 MB / 1.19 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004577/3.064, allocations: 1.617 MB / 1.192 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/3.066, allocations: 303.3 kB / 1.192 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/3.066, allocations: 0 / 1.192 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1632/3.229, allocations: 113.6 MB / 1.303 GB, free: 10.04 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)