Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001779/0.001779, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002038/0.002038, allocations: 187.3 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.375/0.375, allocations: 37.98 MB / 307.4 MB, free: 10.16 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002155, allocations: 75.06 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1719, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.382/0.5539, allocations: 83.4 MB / 0.5025 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05512/0.6091, allocations: 16.37 MB / 0.5185 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03249/0.6418, allocations: 381.2 kB / 0.5189 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.6536, allocations: 4.507 MB / 0.5233 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.6638, allocations: 2.302 MB / 0.5255 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.6688, allocations: 1.232 MB / 0.5267 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01953/0.6884, allocations: 8.141 MB / 0.5347 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.7009, allocations: 5.804 MB / 0.5404 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008445/0.7094, allocations: 2.691 MB / 0.543 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008013/0.7175, allocations: 3.584 MB / 0.5465 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002991/0.7205, allocations: 0.4922 MB / 0.547 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006262/0.7268, allocations: 1.284 MB / 0.5482 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006141/0.733, allocations: 2.892 MB / 0.551 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009973/0.743, allocations: 3.081 MB / 0.554 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.7604, allocations: 9.081 MB / 0.5629 GB, free: 6.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.7605, allocations: 0 / 0.5629 GB, free: 6.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.7605, allocations: 0 / 0.5629 GB, free: 6.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005209/0.761, allocations: 0 / 0.5629 GB, free: 6.145 MB / 430.1 MB 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.02486/0.7859, allocations: 7.172 MB / 0.5699 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.786, allocations: 15.89 kB / 0.5699 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/0.8007, allocations: 1.955 MB / 0.5718 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.8176, allocations: 5.72 MB / 0.5774 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000569/0.8183, allocations: 321.9 kB / 0.5777 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/0.8213, allocations: 419.5 kB / 0.5781 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/0.848, allocations: 11 MB / 0.5889 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.8483, allocations: 63.45 kB / 0.5889 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004722/0.8487, allocations: 179.9 kB / 0.5891 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003369/0.8521, allocations: 1.737 MB / 0.5908 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/0.8772, allocations: 9.536 MB / 0.6001 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3711/1.248, allocations: 45.36 MB / 0.6444 GB, free: 127.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02083/1.269, allocations: 7.874 MB / 0.6521 GB, free: 127.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006023/1.275, allocations: 5.379 MB / 0.6574 GB, free: 124.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02711/1.303, allocations: 13.29 MB / 0.6703 GB, free: 119 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/1.303, allocations: 63.8 kB / 0.6704 GB, free: 118.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 7.894e-06/1.303, allocations: 3.469 kB / 0.6704 GB, free: 118.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2346/1.537, allocations: 78.1 MB / 0.7467 GB, free: 64.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01321/1.55, allocations: 11.11 MB / 0.7575 GB, free: 52.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005918/1.556, allocations: 4.343 MB / 0.7618 GB, free: 48.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001556/1.558, allocations: 85.7 kB / 0.7618 GB, free: 48.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/1.56, allocations: 2.881 MB / 0.7647 GB, free: 45.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002116/1.562, allocations: 1.423 MB / 0.766 GB, free: 44.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002153/1.564, allocations: 1.278 MB / 0.7673 GB, free: 42.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/1.564, allocations: 305.1 kB / 0.7676 GB, free: 42.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005617/1.57, allocations: 5.088 MB / 0.7726 GB, free: 37.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007039/1.577, allocations: 7.152 MB / 0.7795 GB, free: 29.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/1.593, allocations: 12.83 MB / 0.7921 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.642e-05/1.593, allocations: 20 kB / 0.7921 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04869/1.642, allocations: 20.99 MB / 0.8126 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.642, allocations: 32 kB / 0.8126 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/1.642, allocations: 64 kB / 0.8127 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02912/1.671, allocations: 9.765 MB / 0.8222 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2848/1.956, allocations: 1.124 MB / 0.8233 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07934/2.036, allocations: 57.05 MB / 0.879 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00761/2.043, allocations: 0.5322 MB / 0.8795 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/2.045, allocations: 297.3 kB / 0.8798 GB, free: 126.8 MB / 0.4981 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 (591): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,104,52.1%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.005472/2.05, allocations: 2.284 MB / 0.8821 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/2.052, allocations: 474.2 kB / 0.8825 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03541/2.087, allocations: 19.44 MB / 0.9015 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0339/2.121, allocations: 17.92 MB / 0.919 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001334/2.121, allocations: 28 kB / 0.919 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/2.121, allocations: 19.92 kB / 0.919 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06531/2.187, allocations: 36.77 MB / 0.955 GB, free: 64.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/2.187, allocations: 4 kB / 0.955 GB, free: 64.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/2.189, allocations: 458.5 kB / 0.9554 GB, free: 64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02432/2.213, allocations: 9.633 MB / 0.9648 GB, free: 54.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001545/2.215, allocations: 72 kB / 0.9649 GB, free: 54.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3499/2.565, allocations: 55.44 MB / 1.019 GB, free: 140 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01356/2.578, allocations: 9.778 MB / 1.029 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05367/2.632, allocations: 25.91 MB / 1.054 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006205/2.638, allocations: 1.498 MB / 1.055 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002146/2.641, allocations: 72.78 kB / 1.055 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005445/2.646, allocations: 417.3 kB / 1.056 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002801/2.649, allocations: 325.1 kB / 1.056 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006949/2.65, allocations: 98.89 kB / 1.056 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008192/2.658, allocations: 2.841 MB / 1.059 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.658, allocations: 1.203 kB / 1.059 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01239/2.67, allocations: 2.115 MB / 1.061 GB, free: 127.4 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,99,61.7%), (5,36,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/2.672, allocations: 196.6 kB / 1.061 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.03421/2.706, allocations: 19.82 MB / 1.081 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/2.706, allocations: 0 / 1.081 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01481/2.721, allocations: 7.426 MB / 1.088 GB, free: 113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01029/2.731, allocations: 0.7863 MB / 1.089 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03681/2.768, allocations: 19.18 MB / 1.107 GB, free: 95.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006853/2.775, allocations: 4.174 MB / 1.111 GB, free: 91.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004499/2.779, allocations: 1.603 MB / 1.113 GB, free: 90.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/2.781, allocations: 293.4 kB / 1.113 GB, free: 90.55 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/2.781, allocations: 0 / 1.113 GB, free: 90.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.4064/3.187, allocations: 127.6 MB / 1.238 GB, free: 126.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)