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.001092/0.001092, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 74.8 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 62.46 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01579/0.118, allocations: 16.8 MB / 498.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1289, allocations: 5.478 MB / 0.4919 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.1316, allocations: 139.6 kB / 0.4921 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00804/0.1397, allocations: 4.641 MB / 0.4966 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.1453, allocations: 2.428 MB / 0.499 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.1479, allocations: 1.303 MB / 0.5003 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2118/0.3597, allocations: 8.61 MB / 0.5087 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006835/0.3666, allocations: 5.519 MB / 0.514 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005059/0.3716, allocations: 2.57 MB / 0.5166 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005637/0.3773, allocations: 3.185 MB / 0.5197 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001484/0.3788, allocations: 0.4923 MB / 0.5201 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.3816, allocations: 1.259 MB / 0.5214 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.3847, allocations: 2.833 MB / 0.5241 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00368/0.3884, allocations: 3.043 MB / 0.5271 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3993, allocations: 9.141 MB / 0.536 GB, free: 6.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3993, allocations: 0 / 0.536 GB, free: 6.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3993, allocations: 0 / 0.536 GB, free: 6.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002588/0.3996, allocations: 0 / 0.536 GB, free: 6.777 MB / 382.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.01794/0.4175, allocations: 7.178 MB / 0.5431 GB, free: 2.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4176, allocations: 10.06 kB / 0.5431 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.4288, allocations: 1.951 MB / 0.545 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.4431, allocations: 5.547 MB / 0.5504 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4435, allocations: 322.2 kB / 0.5507 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.4449, allocations: 417.9 kB / 0.5511 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.4668, allocations: 11.01 MB / 0.5618 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/0.4671, allocations: 60.78 kB / 0.5619 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005602/0.4677, allocations: 178.6 kB / 0.5621 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/0.4708, allocations: 1.726 MB / 0.5638 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.4914, allocations: 9.545 MB / 0.5731 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06286/0.5543, allocations: 45.11 MB / 0.6171 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/0.5755, allocations: 7.886 MB / 0.6248 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006352/0.5819, allocations: 5.368 MB / 0.6301 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02057/0.6025, allocations: 13.29 MB / 0.6431 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.6026, allocations: 64.78 kB / 0.6431 GB, free: 11.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 4.379e-06/0.6026, allocations: 0 / 0.6431 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.4495/1.052, allocations: 77.94 MB / 0.7192 GB, free: 190.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01671/1.069, allocations: 11.09 MB / 0.7301 GB, free: 186.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/1.075, allocations: 4.294 MB / 0.7342 GB, free: 185.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/1.076, allocations: 91.58 kB / 0.7343 GB, free: 185.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.078, allocations: 2.867 MB / 0.7371 GB, free: 183.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/1.079, allocations: 1.418 MB / 0.7385 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/1.082, allocations: 1.279 MB / 0.7398 GB, free: 182.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/1.082, allocations: 302.5 kB / 0.7401 GB, free: 181.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006478/1.088, allocations: 5.085 MB / 0.745 GB, free: 180 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006882/1.095, allocations: 7.155 MB / 0.752 GB, free: 175.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/1.109, allocations: 12.84 MB / 0.7646 GB, free: 168.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/1.109, allocations: 18.44 kB / 0.7646 GB, free: 168.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03624/1.145, allocations: 20.99 MB / 0.7851 GB, free: 152.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/1.145, allocations: 32 kB / 0.7851 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.263e-05/1.146, allocations: 72.16 kB / 0.7852 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02421/1.17, allocations: 9.716 MB / 0.7947 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/1.174, allocations: 1.127 MB / 0.7958 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06225/1.236, allocations: 57.03 MB / 0.8515 GB, free: 84.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/1.243, allocations: 0.5382 MB / 0.852 GB, free: 83.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.244, allocations: 297.2 kB / 0.8523 GB, free: 83.29 MB / 0.545 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.004119/1.248, allocations: 2.274 MB / 0.8545 GB, free: 81.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.249, allocations: 470.1 kB / 0.8549 GB, free: 80.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03233/1.281, allocations: 19.43 MB / 0.8739 GB, free: 61.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02935/1.311, allocations: 17.93 MB / 0.8914 GB, free: 43.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.306e-05/1.311, allocations: 28 kB / 0.8915 GB, free: 43.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.332e-05/1.311, allocations: 19.92 kB / 0.8915 GB, free: 43.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2776/1.589, allocations: 36.55 MB / 0.9272 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/1.589, allocations: 2.719 kB / 0.9272 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.591, allocations: 460.8 kB / 0.9276 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02558/1.617, allocations: 9.597 MB / 0.937 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001454/1.618, allocations: 74.78 kB / 0.937 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06437/1.683, allocations: 55.43 MB / 0.9912 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01142/1.694, allocations: 9.779 MB / 1.001 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03921/1.733, allocations: 25.91 MB / 1.026 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/1.735, allocations: 0.5216 MB / 1.027 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/1.737, allocations: 75.98 kB / 1.027 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/1.741, allocations: 411.3 kB / 1.027 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001618/1.743, allocations: 332 kB / 1.027 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004046/1.743, allocations: 92 kB / 1.027 GB, free: 110 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003617/1.747, allocations: 2.8 MB / 1.03 GB, free: 107.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.693e-06/1.747, allocations: 0 / 1.03 GB, free: 107.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006978/1.754, allocations: 2.099 MB / 1.032 GB, free: 105.1 MB / 0.545 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.0008859/1.754, allocations: 194.6 kB / 1.032 GB, free: 104.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01824/1.773, allocations: 13.46 MB / 1.046 GB, free: 91.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.773, allocations: 256 / 1.046 GB, free: 91.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01839/1.791, allocations: 7.437 MB / 1.053 GB, free: 83.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007286/1.799, allocations: 0.7832 MB / 1.054 GB, free: 83.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/1.833, allocations: 16.43 MB / 1.07 GB, free: 66.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005802/1.838, allocations: 4.143 MB / 1.074 GB, free: 62.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003834/1.842, allocations: 1.589 MB / 1.075 GB, free: 60.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.844, allocations: 303.3 kB / 1.075 GB, free: 60.62 MB / 0.545 GB Notification: Performance of SimCode: time 1.163e-06/1.844, allocations: 0 / 1.075 GB, free: 60.62 MB / 0.545 GB Notification: Performance of Templates: time 0.4077/2.251, allocations: 122.7 MB / 1.195 GB, free: 134.2 MB / 0.545 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)