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.007907/0.007907, allocations: 101.1 kB / 15.73 MB, free: 6.012 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.001507/0.001508, allocations: 187 kB / 16.67 MB, free: 5.949 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.559/1.559, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3327/0.3327, allocations: 39.94 MB / 309.8 MB, free: 9.469 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.002068/0.002068, allocations: 68.52 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4405, allocations: 56.88 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02078/0.4613, allocations: 16.98 MB / 0.4977 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.4778, allocations: 5.444 MB / 0.503 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005249/0.4831, allocations: 132.2 kB / 0.5032 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008479/0.4916, allocations: 4.662 MB / 0.5077 GB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009424/0.5011, allocations: 2.472 MB / 0.5101 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.5055, allocations: 1.31 MB / 0.5114 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01707/0.5226, allocations: 7.739 MB / 0.519 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.5329, allocations: 5.547 MB / 0.5244 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.5394, allocations: 2.61 MB / 0.5269 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005935/0.5454, allocations: 3.221 MB / 0.5301 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.5475, allocations: 0.4922 MB / 0.5305 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004531/0.5521, allocations: 1.28 MB / 0.5318 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004702/0.5568, allocations: 2.903 MB / 0.5346 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006714/0.5636, allocations: 3.062 MB / 0.5376 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.5775, allocations: 9.197 MB / 0.5466 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5776, allocations: 0 / 0.5466 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5776, allocations: 0 / 0.5466 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004257/0.578, allocations: 0 / 0.5466 GB, free: 13.11 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.02432/0.6024, allocations: 7.18 MB / 0.5536 GB, free: 5.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.6024, allocations: 15.89 kB / 0.5536 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.6158, allocations: 1.952 MB / 0.5555 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.6315, allocations: 5.868 MB / 0.5613 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.632, allocations: 329.7 kB / 0.5616 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.634, allocations: 411.6 kB / 0.562 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02858/0.6626, allocations: 11.01 MB / 0.5727 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004197/0.6631, allocations: 63.45 kB / 0.5728 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/0.6648, allocations: 175.9 kB / 0.573 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00381/0.6686, allocations: 1.725 MB / 0.5746 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/0.6946, allocations: 9.54 MB / 0.584 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07139/0.766, allocations: 45.13 MB / 0.628 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.404/1.17, allocations: 7.869 MB / 0.6357 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0111/1.181, allocations: 5.376 MB / 0.641 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02825/1.209, allocations: 13.28 MB / 0.6539 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/1.21, allocations: 65.2 kB / 0.654 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 6.592e-06/1.21, allocations: 0 / 0.654 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2575/1.467, allocations: 78.05 MB / 0.7302 GB, free: 56.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01554/1.483, allocations: 11.1 MB / 0.7411 GB, free: 45.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008779/1.492, allocations: 4.335 MB / 0.7453 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001638/1.493, allocations: 97.45 kB / 0.7454 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/1.495, allocations: 2.875 MB / 0.7482 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002436/1.498, allocations: 1.413 MB / 0.7496 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/1.5, allocations: 1.281 MB / 0.7508 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/1.5, allocations: 301.1 kB / 0.7511 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005824/1.506, allocations: 5.093 MB / 0.7561 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/1.513, allocations: 7.154 MB / 0.7631 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.527, allocations: 12.84 MB / 0.7756 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.002e-05/1.527, allocations: 20 kB / 0.7756 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04997/1.577, allocations: 21 MB / 0.7961 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000189/1.577, allocations: 32.78 kB / 0.7962 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/1.578, allocations: 64 kB / 0.7962 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02923/1.607, allocations: 9.72 MB / 0.8057 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/1.612, allocations: 1.135 MB / 0.8068 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5843/2.197, allocations: 57.05 MB / 0.8625 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/2.207, allocations: 0.5321 MB / 0.8631 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003112/2.211, allocations: 298.7 kB / 0.8633 GB, free: 178.4 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.008842/2.219, allocations: 2.271 MB / 0.8656 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001976/2.221, allocations: 472.3 kB / 0.866 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05374/2.275, allocations: 19.44 MB / 0.885 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04754/2.323, allocations: 17.93 MB / 0.9025 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001798/2.323, allocations: 28.41 kB / 0.9025 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001738/2.323, allocations: 18.94 kB / 0.9026 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08657/2.41, allocations: 36.57 MB / 0.9383 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-05/2.41, allocations: 7.969 kB / 0.9383 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/2.413, allocations: 455.3 kB / 0.9387 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02758/2.441, allocations: 9.593 MB / 0.9481 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002021/2.443, allocations: 71.98 kB / 0.9481 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07663/2.519, allocations: 55.56 MB / 1.002 GB, free: 71.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01509/2.534, allocations: 9.815 MB / 1.012 GB, free: 61.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04998/2.585, allocations: 25.92 MB / 1.037 GB, free: 35.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006121/2.591, allocations: 1.487 MB / 1.039 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002643/2.593, allocations: 76 kB / 1.039 GB, free: 34.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006516/2.6, allocations: 423.3 kB / 1.039 GB, free: 33.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003158/2.603, allocations: 324.1 kB / 1.04 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001292/2.604, allocations: 96 kB / 1.04 GB, free: 33.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006762/2.611, allocations: 2.837 MB / 1.042 GB, free: 30.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/2.611, allocations: 4 kB / 1.042 GB, free: 30.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01383/2.625, allocations: 2.113 MB / 1.044 GB, free: 28.55 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.001823/2.627, allocations: 199.3 kB / 1.045 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02377/2.651, allocations: 13.46 MB / 1.058 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/2.651, allocations: 0 / 1.058 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01594/2.667, allocations: 7.407 MB / 1.065 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009912/2.677, allocations: 0.7769 MB / 1.066 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4406/3.117, allocations: 16.5 MB / 1.082 GB, free: 179 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008662/3.126, allocations: 4.171 MB / 1.086 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006197/3.132, allocations: 1.598 MB / 1.088 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/3.134, allocations: 301.5 kB / 1.088 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.803e-06/3.134, allocations: 0 / 1.088 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.2136/3.348, allocations: 127.8 MB / 1.213 GB, free: 76.67 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)