Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008864/0.0008864, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001121/0.001121, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4133/0.4133, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.1. 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.0006449/0.0006451, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.172, allocations: 57.51 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4054/0.5775, allocations: 71.38 MB / 0.4935 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05025/0.6278, allocations: 16.49 MB / 0.5096 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02764/0.6555, allocations: 376.5 kB / 0.5099 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01743/0.673, allocations: 3.581 MB / 0.5134 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05308/0.7261, allocations: 10.37 MB / 0.5235 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.7363, allocations: 1.129 MB / 0.5246 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08262/0.819, allocations: 51.43 MB / 0.5749 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.8357, allocations: 7.012 MB / 0.5817 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007557/0.8434, allocations: 1.737 MB / 0.5834 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006375/0.8498, allocations: 2.049 MB / 0.5854 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002067/0.8519, allocations: 180 kB / 0.5856 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.8559, allocations: 0.8233 MB / 0.5864 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004799/0.8608, allocations: 2.315 MB / 0.5886 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.8642, allocations: 1.088 MB / 0.5897 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.8768, allocations: 7.38 MB / 0.5969 GB, free: 4.953 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8768, allocations: 0 / 0.5969 GB, free: 4.953 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.8768, allocations: 4 kB / 0.5969 GB, free: 4.949 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004619/0.8773, allocations: 0 / 0.5969 GB, free: 4.949 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.02401/0.9013, allocations: 6.768 MB / 0.6035 GB, free: 14.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/0.9014, allocations: 12.03 kB / 0.6035 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07687/0.9783, allocations: 12.14 MB / 0.6154 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.996, allocations: 6.325 MB / 0.6216 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.9965, allocations: 328.1 kB / 0.6219 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.9984, allocations: 419.5 kB / 0.6223 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.384/1.382, allocations: 11.02 MB / 0.633 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/1.383, allocations: 54.75 kB / 0.6331 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/1.383, allocations: 182.2 kB / 0.6333 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003042/1.386, allocations: 1.72 MB / 0.6349 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/1.408, allocations: 9.326 MB / 0.6441 GB, free: 146 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06621/1.474, allocations: 44.77 MB / 0.6878 GB, free: 118.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02452/1.499, allocations: 7.958 MB / 0.6955 GB, free: 116.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/1.52, allocations: 12.87 MB / 0.7081 GB, free: 108.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/1.52, allocations: 64.42 kB / 0.7082 GB, free: 108.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 5.53e-06/1.52, allocations: 0 / 0.7082 GB, free: 108.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2216/1.742, allocations: 77.14 MB / 0.7835 GB, free: 31.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01451/1.756, allocations: 11.4 MB / 0.7946 GB, free: 19.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/1.763, allocations: 4.848 MB / 0.7994 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001715/1.765, allocations: 89.7 kB / 0.7995 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.767, allocations: 2.975 MB / 0.8024 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002467/1.769, allocations: 1.407 MB / 0.8037 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/1.77, allocations: 108 kB / 0.8038 GB, free: 10.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000279/1.77, allocations: 0.5414 MB / 0.8044 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.775, allocations: 4.63 MB / 0.8089 GB, free: 5.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.347/2.122, allocations: 6.637 MB / 0.8154 GB, free: 134.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/2.134, allocations: 5.593 MB / 0.8208 GB, free: 134.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-05/2.134, allocations: 18.59 kB / 0.8209 GB, free: 134.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03995/2.174, allocations: 18.99 MB / 0.8394 GB, free: 129.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/2.174, allocations: 35.55 kB / 0.8394 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-05/2.174, allocations: 67.5 kB / 0.8395 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02909/2.203, allocations: 8.791 MB / 0.8481 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/2.208, allocations: 1.015 MB / 0.8491 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07348/2.282, allocations: 52.23 MB / 0.9001 GB, free: 95.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007771/2.29, allocations: 0.4891 MB / 0.9006 GB, free: 94.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/2.292, allocations: 279.9 kB / 0.9008 GB, free: 94.4 MB / 494.1 MB 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 (515): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006405/2.299, allocations: 2.275 MB / 0.903 GB, free: 92.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/2.3, allocations: 484.6 kB / 0.9035 GB, free: 91.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03091/2.331, allocations: 17.94 MB / 0.921 GB, free: 73.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02843/2.36, allocations: 16.44 MB / 0.9371 GB, free: 57.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.157e-05/2.36, allocations: 35.23 kB / 0.9371 GB, free: 57.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.6e-05/2.36, allocations: 19.92 kB / 0.9371 GB, free: 57.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05985/2.42, allocations: 35.35 MB / 0.9717 GB, free: 21.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.778e-05/2.42, allocations: 4 kB / 0.9717 GB, free: 21.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/2.423, allocations: 459.3 kB / 0.9721 GB, free: 21.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02256/2.445, allocations: 8.797 MB / 0.9807 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/2.446, allocations: 71.98 kB / 0.9808 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3639/2.81, allocations: 50.8 MB / 1.03 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0163/2.827, allocations: 10.16 MB / 1.04 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04574/2.872, allocations: 24.5 MB / 1.064 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005008/2.877, allocations: 1.46 MB / 1.066 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/2.878, allocations: 77.2 kB / 1.066 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/2.882, allocations: 392 kB / 1.066 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001485/2.883, allocations: 318.8 kB / 1.066 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003469/2.884, allocations: 108 kB / 1.066 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004669/2.888, allocations: 3.243 MB / 1.07 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/2.888, allocations: 2.875 kB / 1.07 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008481/2.897, allocations: 2.021 MB / 1.072 GB, free: 117.6 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009303/2.898, allocations: 214.1 kB / 1.072 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01922/2.917, allocations: 12.61 MB / 1.084 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/2.917, allocations: 0 / 1.084 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/2.928, allocations: 7.193 MB / 1.091 GB, free: 98.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/2.933, allocations: 0.7372 MB / 1.092 GB, free: 97.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/2.959, allocations: 18.04 MB / 1.11 GB, free: 79.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/2.963, allocations: 4.285 MB / 1.114 GB, free: 75.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004701/2.968, allocations: 1.626 MB / 1.115 GB, free: 73.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/2.969, allocations: 311.3 kB / 1.116 GB, free: 73.68 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/2.969, allocations: 0 / 1.116 GB, free: 73.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.415/3.384, allocations: 113.9 MB / 1.227 GB, free: 126.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) Environment - environmentSimulation: