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.0009204/0.0009203, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007995/0.007995, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.483/1.483, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3262/0.3262, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.0005726/0.0005727, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1197, allocations: 57.51 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.2859/0.4056, allocations: 81.42 MB / 0.5039 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0424/0.4481, allocations: 16.4 MB / 0.5199 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01562/0.4637, allocations: 383.5 kB / 0.5203 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.4658, allocations: 494.5 kB / 0.5207 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.4733, allocations: 2.335 MB / 0.523 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.4772, allocations: 1.21 MB / 0.5242 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02033/0.4975, allocations: 10.78 MB / 0.5347 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.5089, allocations: 7.898 MB / 0.5424 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.5127, allocations: 1.969 MB / 0.5444 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0046/0.5173, allocations: 2.947 MB / 0.5472 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009753/0.5183, allocations: 184 kB / 0.5474 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.5214, allocations: 1.038 MB / 0.5484 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003487/0.5249, allocations: 2.493 MB / 0.5509 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00382/0.5288, allocations: 2.63 MB / 0.5534 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008491/0.5373, allocations: 8.583 MB / 0.5618 GB, free: 9.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5373, allocations: 15.88 kB / 0.5618 GB, free: 9.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5373, allocations: 0 / 0.5618 GB, free: 9.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002743/0.5376, allocations: 0 / 0.5618 GB, free: 9.57 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.01673/0.5543, allocations: 6.015 MB / 0.5677 GB, free: 3.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.5544, allocations: 8.031 kB / 0.5677 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.5673, allocations: 1.975 MB / 0.5696 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.5817, allocations: 5.728 MB / 0.5752 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003888/0.5821, allocations: 321.9 kB / 0.5755 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/0.5836, allocations: 411.5 kB / 0.5759 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.608, allocations: 11.06 MB / 0.5867 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002796/0.6083, allocations: 71.38 kB / 0.5868 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.6093, allocations: 191.8 kB / 0.587 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/0.6126, allocations: 1.722 MB / 0.5887 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/0.6357, allocations: 9.586 MB / 0.598 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3319/0.9676, allocations: 45.42 MB / 0.6424 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/0.9878, allocations: 7.919 MB / 0.6501 GB, free: 124.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006514/0.9944, allocations: 5.375 MB / 0.6554 GB, free: 123.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/1.014, allocations: 13.3 MB / 0.6683 GB, free: 117.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/1.014, allocations: 60.14 kB / 0.6684 GB, free: 117.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 4.659e-06/1.014, allocations: 0 / 0.6684 GB, free: 117.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2339/1.248, allocations: 79.21 MB / 0.7458 GB, free: 62.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0146/1.262, allocations: 10.97 MB / 0.7565 GB, free: 51.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008857/1.271, allocations: 4.347 MB / 0.7607 GB, free: 46.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001344/1.272, allocations: 96.28 kB / 0.7608 GB, free: 46.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/1.274, allocations: 2.879 MB / 0.7636 GB, free: 43.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/1.276, allocations: 1.412 MB / 0.765 GB, free: 42.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008065/1.277, allocations: 0.5621 MB / 0.7655 GB, free: 41.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.426e-05/1.277, allocations: 301.1 kB / 0.7658 GB, free: 41.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/1.282, allocations: 5.087 MB / 0.7708 GB, free: 36.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006487/1.289, allocations: 7.156 MB / 0.7778 GB, free: 28.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/1.302, allocations: 12.84 MB / 0.7903 GB, free: 14.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/1.302, allocations: 16 kB / 0.7903 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0384/1.341, allocations: 21.01 MB / 0.8109 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/1.341, allocations: 32 kB / 0.8109 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.73e-05/1.341, allocations: 64 kB / 0.8109 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2942/1.635, allocations: 9.761 MB / 0.8205 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/1.64, allocations: 1.126 MB / 0.8216 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07289/1.713, allocations: 53.17 MB / 0.8735 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006896/1.72, allocations: 0.5376 MB / 0.874 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.721, allocations: 296.8 kB / 0.8743 GB, free: 125.9 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.004125/1.725, allocations: 2.284 MB / 0.8765 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.726, allocations: 470.3 kB / 0.877 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03548/1.762, allocations: 19.46 MB / 0.896 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03452/1.796, allocations: 17.94 MB / 0.9135 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.687e-05/1.796, allocations: 38.08 kB / 0.9136 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.855e-05/1.796, allocations: 15.94 kB / 0.9136 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06126/1.858, allocations: 36.81 MB / 0.9495 GB, free: 65.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/1.858, allocations: 4 kB / 0.9495 GB, free: 65.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.86, allocations: 452.9 kB / 0.95 GB, free: 65.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02572/1.886, allocations: 9.766 MB / 0.9595 GB, free: 55.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/1.887, allocations: 72 kB / 0.9596 GB, free: 55.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3489/2.236, allocations: 51.5 MB / 1.01 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01339/2.25, allocations: 9.713 MB / 1.019 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04844/2.298, allocations: 25.92 MB / 1.045 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004808/2.303, allocations: 1.5 MB / 1.046 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002225/2.305, allocations: 76.09 kB / 1.046 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005342/2.31, allocations: 418.7 kB / 1.047 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002203/2.313, allocations: 321.6 kB / 1.047 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009337/2.314, allocations: 106.5 kB / 1.047 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007921/2.322, allocations: 2.835 MB / 1.05 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.21e-07/2.322, allocations: 0 / 1.05 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01346/2.335, allocations: 2.111 MB / 1.052 GB, free: 128.1 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.001685/2.337, allocations: 201.4 kB / 1.052 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02479/2.362, allocations: 13.42 MB / 1.065 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.362, allocations: 6.125 kB / 1.065 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/2.375, allocations: 7.431 MB / 1.072 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009758/2.385, allocations: 0.7253 MB / 1.073 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/2.414, allocations: 19.23 MB / 1.092 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004005/2.418, allocations: 4.177 MB / 1.096 GB, free: 101 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00408/2.422, allocations: 1.599 MB / 1.098 GB, free: 99.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/2.423, allocations: 295.4 kB / 1.098 GB, free: 99.61 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/2.423, allocations: 0 / 1.098 GB, free: 99.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.394/2.817, allocations: 118.8 MB / 1.214 GB, free: 134.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: