Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.005861/0.005861, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001234/0.001234, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.623/1.623, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3912/0.3912, allocations: 39.94 MB / 309.8 MB, free: 9.43 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.2. 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.001663/0.001663, allocations: 67.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4198, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.0186/0.4385, allocations: 16.99 MB / 0.4977 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.4535, allocations: 5.435 MB / 0.503 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006021/0.4596, allocations: 130.6 kB / 0.5031 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.4706, allocations: 4.67 MB / 0.5077 GB, free: 304 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.4822, allocations: 2.475 MB / 0.5101 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005352/0.4875, allocations: 1.31 MB / 0.5114 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01777/0.5053, allocations: 7.739 MB / 0.519 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009436/0.5148, allocations: 5.547 MB / 0.5244 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/0.5208, allocations: 2.59 MB / 0.5269 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006139/0.527, allocations: 3.217 MB / 0.53 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.5288, allocations: 0.4922 MB / 0.5305 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.5324, allocations: 1.276 MB / 0.5318 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003258/0.5357, allocations: 2.856 MB / 0.5346 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004895/0.5406, allocations: 3.058 MB / 0.5375 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.5541, allocations: 9.237 MB / 0.5466 GB, free: 13.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.5542, allocations: 0 / 0.5466 GB, free: 13.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5542, allocations: 0 / 0.5466 GB, free: 13.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003187/0.5545, allocations: 0 / 0.5466 GB, free: 13.12 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.02123/0.5757, allocations: 7.356 MB / 0.5538 GB, free: 5.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5758, allocations: 15.89 kB / 0.5538 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.5872, allocations: 1.987 MB / 0.5557 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.6005, allocations: 5.887 MB / 0.5615 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.6009, allocations: 333.7 kB / 0.5618 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.6025, allocations: 419.7 kB / 0.5622 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.6255, allocations: 11.01 MB / 0.5729 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/0.6258, allocations: 63.59 kB / 0.573 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/0.6262, allocations: 175.9 kB / 0.5732 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003093/0.6293, allocations: 1.725 MB / 0.5748 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.6506, allocations: 9.54 MB / 0.5842 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/0.7243, allocations: 45.2 MB / 0.6283 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3807/1.105, allocations: 7.876 MB / 0.636 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009823/1.115, allocations: 5.374 MB / 0.6412 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02781/1.143, allocations: 13.29 MB / 0.6542 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/1.143, allocations: 66.81 kB / 0.6543 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 6.011e-06/1.143, allocations: 7.375 kB / 0.6543 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2344/1.377, allocations: 78.15 MB / 0.7306 GB, free: 57.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01593/1.393, allocations: 11.1 MB / 0.7414 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009145/1.402, allocations: 4.355 MB / 0.7457 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001498/1.404, allocations: 89.7 kB / 0.7458 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.406, allocations: 2.963 MB / 0.7487 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00285/1.409, allocations: 1.478 MB / 0.7501 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/1.411, allocations: 1.29 MB / 0.7514 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/1.411, allocations: 305.2 kB / 0.7517 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00717/1.418, allocations: 5.08 MB / 0.7566 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008243/1.427, allocations: 7.158 MB / 0.7636 GB, free: 22.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/1.443, allocations: 12.83 MB / 0.7761 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-05/1.443, allocations: 20 kB / 0.7762 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04685/1.49, allocations: 21.03 MB / 0.7967 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.49, allocations: 33.09 kB / 0.7967 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/1.49, allocations: 64 kB / 0.7968 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02955/1.519, allocations: 9.731 MB / 0.8063 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00537/1.525, allocations: 1.127 MB / 0.8074 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4916/2.016, allocations: 57.08 MB / 0.8631 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00892/2.025, allocations: 0.5256 MB / 0.8637 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/2.028, allocations: 300.9 kB / 0.8639 GB, free: 179.9 MB / 0.5762 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.006859/2.034, allocations: 2.28 MB / 0.8662 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/2.036, allocations: 496.7 kB / 0.8666 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04377/2.08, allocations: 19.44 MB / 0.8856 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03499/2.115, allocations: 17.93 MB / 0.9031 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-05/2.115, allocations: 29.22 kB / 0.9032 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001374/2.115, allocations: 19.72 kB / 0.9032 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06116/2.177, allocations: 36.57 MB / 0.9389 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/2.177, allocations: 4 kB / 0.9389 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/2.179, allocations: 451.3 kB / 0.9393 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02443/2.203, allocations: 9.6 MB / 0.9487 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001393/2.205, allocations: 71.98 kB / 0.9488 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06614/2.271, allocations: 55.6 MB / 1.003 GB, free: 73.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0126/2.284, allocations: 9.816 MB / 1.013 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04493/2.329, allocations: 25.95 MB / 1.038 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004624/2.333, allocations: 1.517 MB / 1.039 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002239/2.336, allocations: 77.95 kB / 1.04 GB, free: 36.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005195/2.341, allocations: 415.3 kB / 1.04 GB, free: 35.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002145/2.343, allocations: 328.1 kB / 1.04 GB, free: 35.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008942/2.344, allocations: 95.98 kB / 1.04 GB, free: 35.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005826/2.35, allocations: 2.837 MB / 1.043 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-07/2.35, allocations: 4 kB / 1.043 GB, free: 32.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01212/2.362, allocations: 2.113 MB / 1.045 GB, free: 30.54 MB / 0.5762 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.001541/2.363, allocations: 193.8 kB / 1.045 GB, free: 30.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0217/2.385, allocations: 13.47 MB / 1.059 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/2.385, allocations: 1.125 kB / 1.059 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/2.398, allocations: 7.423 MB / 1.066 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009663/2.408, allocations: 0.79 MB / 1.067 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.375/2.783, allocations: 16.69 MB / 1.083 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/2.794, allocations: 4.171 MB / 1.087 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007077/2.802, allocations: 1.595 MB / 1.088 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/2.804, allocations: 307.2 kB / 1.089 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.004e-06/2.804, allocations: 0 / 1.089 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1894/2.993, allocations: 125.1 MB / 1.211 GB, free: 80.38 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)