Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001228, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4377, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02137/0.4591, allocations: 16.82 MB / 0.5474 GB, free: 384 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.4718, allocations: 5.48 MB / 0.5528 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004346/0.4762, allocations: 135.5 kB / 0.5529 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008431/0.4847, allocations: 4.638 MB / 0.5574 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.4926, allocations: 2.513 MB / 0.5599 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.4965, allocations: 1.299 MB / 0.5612 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.5104, allocations: 8.621 MB / 0.5696 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007138/0.5176, allocations: 5.534 MB / 0.575 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/0.5225, allocations: 2.579 MB / 0.5775 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/0.5276, allocations: 3.209 MB / 0.5806 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.5288, allocations: 0.4922 MB / 0.5811 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.5316, allocations: 1.253 MB / 0.5823 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.5346, allocations: 2.872 MB / 0.5851 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004424/0.5391, allocations: 3.038 MB / 0.5881 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.5501, allocations: 9.143 MB / 0.597 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.5501, allocations: 0 / 0.597 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5501, allocations: 4 kB / 0.597 GB, free: 13.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002945/0.5504, allocations: 0 / 0.597 GB, free: 13.86 MB / 462.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.02032/0.5708, allocations: 7.18 MB / 0.604 GB, free: 6.598 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.5708, allocations: 9.469 kB / 0.6041 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.5828, allocations: 1.948 MB / 0.606 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/0.5984, allocations: 5.559 MB / 0.6114 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.5989, allocations: 321.7 kB / 0.6117 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.6009, allocations: 415.6 kB / 0.6121 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/0.6288, allocations: 11.01 MB / 0.6228 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003751/0.6292, allocations: 63.53 kB / 0.6229 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/0.6307, allocations: 175.9 kB / 0.6231 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003387/0.6341, allocations: 1.729 MB / 0.6248 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/0.6581, allocations: 9.536 MB / 0.6341 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07728/0.7355, allocations: 45.11 MB / 0.6781 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02633/0.7619, allocations: 7.882 MB / 0.6858 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007971/0.7699, allocations: 5.376 MB / 0.6911 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02452/0.7945, allocations: 13.27 MB / 0.704 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.298e-05/0.7946, allocations: 68.8 kB / 0.7041 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 6.122e-06/0.7946, allocations: 0 / 0.7041 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.5956/1.39, allocations: 77.97 MB / 0.7802 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01418/1.404, allocations: 11.1 MB / 0.7911 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/1.41, allocations: 4.296 MB / 0.7953 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001371/1.412, allocations: 93.7 kB / 0.7954 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.413, allocations: 2.868 MB / 0.7982 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/1.415, allocations: 1.414 MB / 0.7995 GB, free: 99.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/1.418, allocations: 1.277 MB / 0.8008 GB, free: 98.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/1.418, allocations: 301.1 kB / 0.8011 GB, free: 97.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005656/1.423, allocations: 5.084 MB / 0.806 GB, free: 92.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007104/1.43, allocations: 7.156 MB / 0.813 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.445, allocations: 12.84 MB / 0.8256 GB, free: 70.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.958e-05/1.445, allocations: 16 kB / 0.8256 GB, free: 70.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03846/1.484, allocations: 20.99 MB / 0.8461 GB, free: 49.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/1.484, allocations: 36.03 kB / 0.8461 GB, free: 49.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/1.484, allocations: 67.98 kB / 0.8462 GB, free: 49.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02509/1.509, allocations: 9.728 MB / 0.8557 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004694/1.514, allocations: 1.131 MB / 0.8568 GB, free: 38.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07322/1.587, allocations: 57.05 MB / 0.9125 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.595, allocations: 0.5383 MB / 0.913 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/1.596, allocations: 299.5 kB / 0.9133 GB, free: 12.63 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.006285/1.603, allocations: 2.276 MB / 0.9155 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/1.604, allocations: 466 kB / 0.916 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04147/1.646, allocations: 19.43 MB / 0.9349 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4404/2.086, allocations: 17.92 MB / 0.9524 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-05/2.086, allocations: 27.59 kB / 0.9525 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/2.087, allocations: 29.27 kB / 0.9525 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06439/2.151, allocations: 36.54 MB / 0.9882 GB, free: 195.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/2.151, allocations: 3.969 kB / 0.9882 GB, free: 195.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/2.153, allocations: 458.2 kB / 0.9886 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02459/2.178, allocations: 9.591 MB / 0.998 GB, free: 188.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/2.179, allocations: 79.73 kB / 0.9981 GB, free: 188.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06227/2.242, allocations: 55.57 MB / 1.052 GB, free: 132.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01178/2.253, allocations: 9.805 MB / 1.062 GB, free: 122.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04155/2.295, allocations: 25.93 MB / 1.087 GB, free: 97.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/2.297, allocations: 0.5182 MB / 1.088 GB, free: 96.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/2.299, allocations: 72 kB / 1.088 GB, free: 96.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/2.303, allocations: 415.3 kB / 1.088 GB, free: 96.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001837/2.305, allocations: 326.4 kB / 1.089 GB, free: 96.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003918/2.305, allocations: 99.98 kB / 1.089 GB, free: 95.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004/2.309, allocations: 2.799 MB / 1.091 GB, free: 93.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/2.309, allocations: 0 / 1.091 GB, free: 93.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008323/2.317, allocations: 2.109 MB / 1.093 GB, free: 91.01 MB / 0.6231 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.000903/2.318, allocations: 193.6 kB / 1.094 GB, free: 90.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02061/2.339, allocations: 13.46 MB / 1.107 GB, free: 77.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/2.339, allocations: 0 / 1.107 GB, free: 77.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01276/2.352, allocations: 7.397 MB / 1.114 GB, free: 69.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00852/2.36, allocations: 0.7773 MB / 1.115 GB, free: 69.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03583/2.396, allocations: 16.42 MB / 1.131 GB, free: 52.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00781/2.404, allocations: 4.147 MB / 1.135 GB, free: 48.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005247/2.409, allocations: 1.597 MB / 1.136 GB, free: 46.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/2.411, allocations: 299.3 kB / 1.137 GB, free: 46.56 MB / 0.6231 GB Notification: Performance of SimCode: time 1.753e-06/2.411, allocations: 0 / 1.137 GB, free: 46.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.5348/2.946, allocations: 124.9 MB / 1.259 GB, free: 150.5 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)