Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001472/0.001472, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.001372/0.001372, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.776/1.776, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2525/0.2525, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 73.92 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.0224/0.1852, allocations: 16.98 MB / 0.5045 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.2014, allocations: 5.441 MB / 0.5098 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005039/0.2065, allocations: 135.5 kB / 0.5099 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.2168, allocations: 4.657 MB / 0.5145 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.2272, allocations: 2.556 MB / 0.517 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.2312, allocations: 1.318 MB / 0.5183 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01373/0.2449, allocations: 7.739 MB / 0.5258 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3084/0.5533, allocations: 5.532 MB / 0.5312 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006214/0.5596, allocations: 2.609 MB / 0.5338 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/0.5655, allocations: 3.217 MB / 0.5369 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.5676, allocations: 0.4938 MB / 0.5374 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.5715, allocations: 1.284 MB / 0.5386 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00508/0.5766, allocations: 2.897 MB / 0.5415 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008244/0.5849, allocations: 3.062 MB / 0.5445 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.6029, allocations: 9.204 MB / 0.5535 GB, free: 5.992 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.6029, allocations: 0.5625 kB / 0.5535 GB, free: 5.992 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6029, allocations: 0 / 0.5535 GB, free: 5.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005347/0.6035, allocations: 2.125 kB / 0.5535 GB, free: 5.992 MB / 414.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.02938/0.6329, allocations: 7.173 MB / 0.5605 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6329, allocations: 17.23 kB / 0.5605 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.6458, allocations: 1.954 MB / 0.5624 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.662, allocations: 5.864 MB / 0.5681 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.6624, allocations: 325.5 kB / 0.5684 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002371/0.6648, allocations: 420.1 kB / 0.5688 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.69, allocations: 11.01 MB / 0.5796 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003358/0.6904, allocations: 65.55 kB / 0.5796 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.6914, allocations: 174.6 kB / 0.5798 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003308/0.6948, allocations: 1.722 MB / 0.5815 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/0.7203, allocations: 9.544 MB / 0.5908 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09174/0.8121, allocations: 45.14 MB / 0.6349 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/0.8361, allocations: 7.858 MB / 0.6426 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007957/0.8441, allocations: 5.38 MB / 0.6478 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02586/0.87, allocations: 13.3 MB / 0.6608 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.879e-05/0.8701, allocations: 64.8 kB / 0.6609 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 6.763e-06/0.8701, allocations: 0 / 0.6609 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2629/1.133, allocations: 78.05 MB / 0.7371 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0188/1.152, allocations: 11.09 MB / 0.7479 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.163, allocations: 4.354 MB / 0.7522 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001911/1.165, allocations: 85.7 kB / 0.7522 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002992/1.168, allocations: 2.88 MB / 0.7551 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00351/1.171, allocations: 1.414 MB / 0.7564 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3581/1.529, allocations: 1.275 MB / 0.7577 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/1.529, allocations: 301.9 kB / 0.758 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/1.541, allocations: 5.086 MB / 0.7629 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/1.554, allocations: 7.161 MB / 0.7699 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0258/1.58, allocations: 12.83 MB / 0.7825 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002937/1.58, allocations: 19.47 kB / 0.7825 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.05074/1.631, allocations: 20.99 MB / 0.803 GB, free: 190 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/1.631, allocations: 36.25 kB / 0.803 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002007/1.631, allocations: 67.94 kB / 0.8031 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02614/1.658, allocations: 9.72 MB / 0.8126 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/1.663, allocations: 1.135 MB / 0.8137 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07725/1.74, allocations: 57.03 MB / 0.8694 GB, free: 124.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008529/1.748, allocations: 0.5326 MB / 0.8699 GB, free: 124 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/1.751, allocations: 299.9 kB / 0.8702 GB, free: 123.7 MB / 0.5919 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.008354/1.759, allocations: 2.274 MB / 0.8724 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/1.762, allocations: 473.7 kB / 0.8729 GB, free: 121.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04185/1.804, allocations: 19.44 MB / 0.8918 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03849/1.842, allocations: 17.92 MB / 0.9093 GB, free: 83.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001631/1.842, allocations: 31.98 kB / 0.9094 GB, free: 83.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001779/1.842, allocations: 16.81 kB / 0.9094 GB, free: 83.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08219/1.925, allocations: 36.56 MB / 0.9451 GB, free: 46.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/1.925, allocations: 4 kB / 0.9451 GB, free: 46.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/1.928, allocations: 459.2 kB / 0.9455 GB, free: 46.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02503/1.953, allocations: 9.596 MB / 0.9549 GB, free: 36.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001711/1.955, allocations: 72.78 kB / 0.955 GB, free: 36.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4229/2.378, allocations: 55.56 MB / 1.009 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01202/2.39, allocations: 9.811 MB / 1.019 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04248/2.432, allocations: 25.93 MB / 1.044 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004797/2.437, allocations: 1.496 MB / 1.046 GB, free: 167 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/2.439, allocations: 76.75 kB / 1.046 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/2.443, allocations: 416.7 kB / 1.046 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001519/2.444, allocations: 326.4 kB / 1.046 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/2.445, allocations: 94.95 kB / 1.046 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004818/2.449, allocations: 2.84 MB / 1.049 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/2.449, allocations: 0 / 1.049 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009249/2.459, allocations: 2.119 MB / 1.051 GB, free: 161.8 MB / 0.5919 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%), (4,37,100.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.0009079/2.46, allocations: 198.4 kB / 1.052 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02015/2.48, allocations: 13.46 MB / 1.065 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/2.48, allocations: 3.844 kB / 1.065 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/2.493, allocations: 7.399 MB / 1.072 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/2.503, allocations: 0.7963 MB / 1.073 GB, free: 140 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/2.537, allocations: 16.51 MB / 1.089 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007127/2.545, allocations: 4.168 MB / 1.093 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005235/2.55, allocations: 1.6 MB / 1.094 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/2.552, allocations: 303.3 kB / 1.095 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.503e-06/2.552, allocations: 0 / 1.095 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.4863/3.038, allocations: 125.1 MB / 1.217 GB, free: 180.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)