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.001547/0.001547, allocations: 102.8 kB / 16.4 MB, free: 6.508 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.001961/0.001961, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.646/1.646, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2571/0.2571, allocations: 43.52 MB / 314.1 MB, free: 460 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.001377/0.001377, allocations: 63.91 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1714, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01916/0.1907, allocations: 16.99 MB / 0.5045 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.2094, allocations: 5.441 MB / 0.5098 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006035/0.2155, allocations: 135.5 kB / 0.5099 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.2266, allocations: 4.653 MB / 0.5145 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.237, allocations: 2.478 MB / 0.5169 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.2415, allocations: 1.314 MB / 0.5182 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01523/0.2568, allocations: 7.747 MB / 0.5257 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3877/0.6445, allocations: 5.535 MB / 0.5311 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.6508, allocations: 2.594 MB / 0.5337 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007035/0.6579, allocations: 3.205 MB / 0.5368 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00207/0.66, allocations: 0.494 MB / 0.5373 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.664, allocations: 1.277 MB / 0.5385 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004939/0.669, allocations: 2.859 MB / 0.5413 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007042/0.676, allocations: 3.059 MB / 0.5443 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.6966, allocations: 9.24 MB / 0.5533 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.6967, allocations: 2.562 kB / 0.5533 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6967, allocations: 2.719 kB / 0.5533 GB, free: 5.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005137/0.6972, allocations: 1.125 kB / 0.5533 GB, free: 5.699 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.03833/0.7355, allocations: 7.351 MB / 0.5605 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.7356, allocations: 12.95 kB / 0.5605 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.7477, allocations: 1.989 MB / 0.5625 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01679/0.7645, allocations: 5.891 MB / 0.5682 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005982/0.7652, allocations: 323.6 kB / 0.5685 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/0.7687, allocations: 420.3 kB / 0.5689 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/0.7959, allocations: 11 MB / 0.5797 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/0.7962, allocations: 61.09 kB / 0.5797 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006404/0.7969, allocations: 174 kB / 0.5799 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/0.8004, allocations: 1.733 MB / 0.5816 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/0.8261, allocations: 9.542 MB / 0.5909 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08025/0.9064, allocations: 45.2 MB / 0.6351 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02225/0.9287, allocations: 7.871 MB / 0.6427 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00731/0.936, allocations: 5.375 MB / 0.648 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02981/0.9659, allocations: 13.3 MB / 0.661 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.28e-05/0.966, allocations: 72.78 kB / 0.6611 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 6.763e-06/0.966, allocations: 0 / 0.6611 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2869/1.253, allocations: 78.16 MB / 0.7374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01831/1.271, allocations: 11.1 MB / 0.7482 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/1.283, allocations: 4.351 MB / 0.7525 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001858/1.285, allocations: 89.7 kB / 0.7526 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003503/1.288, allocations: 2.964 MB / 0.7555 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003604/1.292, allocations: 1.479 MB / 0.7569 GB, free: 348 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4344/1.726, allocations: 1.289 MB / 0.7582 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/1.727, allocations: 301.8 kB / 0.7584 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01392/1.74, allocations: 5.087 MB / 0.7634 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01664/1.757, allocations: 7.157 MB / 0.7704 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03272/1.79, allocations: 12.84 MB / 0.7829 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000225/1.79, allocations: 19.69 kB / 0.783 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.05719/1.847, allocations: 21.01 MB / 0.8035 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/1.848, allocations: 40.06 kB / 0.8035 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/1.848, allocations: 64 kB / 0.8036 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02733/1.875, allocations: 9.725 MB / 0.8131 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006048/1.881, allocations: 1.123 MB / 0.8142 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07803/1.959, allocations: 57.07 MB / 0.8699 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00886/1.968, allocations: 0.5275 MB / 0.8704 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/1.971, allocations: 299.9 kB / 0.8707 GB, free: 107.1 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.009214/1.98, allocations: 2.282 MB / 0.8729 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003018/1.983, allocations: 499.3 kB / 0.8734 GB, free: 104.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.044/2.027, allocations: 19.44 MB / 0.8924 GB, free: 85.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03941/2.066, allocations: 17.92 MB / 0.9099 GB, free: 67.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001141/2.066, allocations: 28 kB / 0.9099 GB, free: 67.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/2.067, allocations: 19.92 kB / 0.9099 GB, free: 67.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07837/2.145, allocations: 36.57 MB / 0.9457 GB, free: 30.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.459e-05/2.145, allocations: 6.297 kB / 0.9457 GB, free: 30.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/2.148, allocations: 463.2 kB / 0.9461 GB, free: 30.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02611/2.174, allocations: 9.592 MB / 0.9555 GB, free: 20.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001686/2.176, allocations: 75.98 kB / 0.9555 GB, free: 20.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3902/2.566, allocations: 55.6 MB / 1.01 GB, free: 204.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01228/2.578, allocations: 9.818 MB / 1.019 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0457/2.624, allocations: 25.95 MB / 1.045 GB, free: 183.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004586/2.629, allocations: 1.515 MB / 1.046 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/2.631, allocations: 75.61 kB / 1.046 GB, free: 182.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005311/2.636, allocations: 412.6 kB / 1.047 GB, free: 182.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/2.638, allocations: 328.2 kB / 1.047 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004081/2.638, allocations: 103.8 kB / 1.047 GB, free: 182.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004609/2.643, allocations: 2.839 MB / 1.05 GB, free: 179.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/2.643, allocations: 0 / 1.05 GB, free: 179.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009639/2.653, allocations: 2.109 MB / 1.052 GB, free: 177.6 MB / 0.6075 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.0009154/2.654, allocations: 193.1 kB / 1.052 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01952/2.673, allocations: 13.48 MB / 1.065 GB, free: 164.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/2.673, allocations: 0 / 1.065 GB, free: 164.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01259/2.686, allocations: 7.421 MB / 1.073 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006795/2.693, allocations: 0.7961 MB / 1.073 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/2.723, allocations: 16.71 MB / 1.09 GB, free: 139.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006201/2.729, allocations: 4.166 MB / 1.094 GB, free: 135 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004293/2.734, allocations: 1.598 MB / 1.095 GB, free: 133.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/2.735, allocations: 299.3 kB / 1.096 GB, free: 133.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.193e-06/2.735, allocations: 4 kB / 1.096 GB, free: 133.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.4651/3.2, allocations: 125.1 MB / 1.218 GB, free: 204.2 MB / 0.6075 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)