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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001085/0.001086, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.265/1.265, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00161/0.00161, allocations: 107.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1857/0.1857, allocations: 37.98 MB / 295.1 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.828e-05, allocations: 3.344 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.6061, allocations: 91.06 MB / 489.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.6064, allocations: 73.7 kB / 489.9 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2847/0.8911, allocations: 107.2 MB / 0.583 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.8912, allocations: 0 / 0.583 GB, free: 6.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007491/0.8919, allocations: 112 kB / 0.5831 GB, free: 6.219 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.02528/0.9172, allocations: 6.107 MB / 0.5891 GB, free: 40 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.9173, allocations: 8.031 kB / 0.5891 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04073/0.9581, allocations: 10.14 MB / 0.599 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02734/0.9855, allocations: 9.816 MB / 0.6086 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.986, allocations: 222.7 kB / 0.6088 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/0.989, allocations: 279.8 kB / 0.6091 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01718/1.006, allocations: 6.291 MB / 0.6152 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3618/1.368, allocations: 8.859 MB / 0.6239 GB, free: 75.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/1.369, allocations: 63.19 kB / 0.6239 GB, free: 75.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005125/1.369, allocations: 19.3 kB / 0.624 GB, free: 75.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/1.371, allocations: 0.989 MB / 0.6249 GB, free: 75.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06796/1.439, allocations: 42.9 MB / 0.6668 GB, free: 57.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008532/1.447, allocations: 5.703 MB / 0.6724 GB, free: 57.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/1.452, allocations: 4.848 MB / 0.6771 GB, free: 55.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.454, allocations: 1.128 MB / 0.6782 GB, free: 54.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/1.454, allocations: 63.16 kB / 0.6783 GB, free: 54.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.372e-06/1.454, allocations: 0.8438 kB / 0.6783 GB, free: 54.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.1708/1.625, allocations: 59.8 MB / 0.7367 GB, free: 30.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.625, allocations: 197.5 kB / 0.7369 GB, free: 30.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.635, allocations: 3.228 MB / 0.74 GB, free: 27.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001952/1.637, allocations: 25.7 kB / 0.74 GB, free: 27.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.641, allocations: 3.01 MB / 0.743 GB, free: 25.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003442/1.644, allocations: 1.376 MB / 0.7443 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/1.646, allocations: 0 / 0.7443 GB, free: 23.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006814/1.647, allocations: 0.5308 MB / 0.7448 GB, free: 23.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008344/1.655, allocations: 4.249 MB / 0.749 GB, free: 19.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/1.665, allocations: 6.251 MB / 0.7551 GB, free: 12.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007678/1.673, allocations: 5.223 MB / 0.7602 GB, free: 8.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.372e-05/1.673, allocations: 16 kB / 0.7602 GB, free: 8.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.04034/1.714, allocations: 17.64 MB / 0.7774 GB, free: 10.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/1.714, allocations: 32 kB / 0.7775 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/1.714, allocations: 68 kB / 0.7775 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02539/1.74, allocations: 8.358 MB / 0.7857 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/1.744, allocations: 1.037 MB / 0.7867 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3935/2.138, allocations: 45.32 MB / 0.831 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/2.144, allocations: 382.2 kB / 0.8313 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009286/2.145, allocations: 281.1 kB / 0.8316 GB, free: 79.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 523 * Array equations: 2 * 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,51.4%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001146/2.147, allocations: 319.4 kB / 0.8319 GB, free: 79.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/2.148, allocations: 463.4 kB / 0.8323 GB, free: 79.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03212/2.18, allocations: 16.95 MB / 0.8489 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03008/2.21, allocations: 15.58 MB / 0.8641 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.068e-05/2.21, allocations: 28.47 kB / 0.8642 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/2.21, allocations: 25.64 kB / 0.8642 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06278/2.273, allocations: 33.38 MB / 0.8968 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.231e-05/2.273, allocations: 4 kB / 0.8968 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/2.275, allocations: 451.2 kB / 0.8972 GB, free: 50.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02148/2.297, allocations: 7.945 MB / 0.905 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00142/2.298, allocations: 16.34 kB / 0.905 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4115/2.71, allocations: 44.37 MB / 0.9483 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01586/2.726, allocations: 9.131 MB / 0.9572 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04252/2.768, allocations: 23.13 MB / 0.9798 GB, free: 78.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004413/2.773, allocations: 1.374 MB / 0.9812 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/2.775, allocations: 13.12 kB / 0.9812 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004117/2.779, allocations: 287.5 kB / 0.9814 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.78, allocations: 341.4 kB / 0.9818 GB, free: 78.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003392/2.78, allocations: 101.6 kB / 0.9819 GB, free: 78.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004227/2.785, allocations: 2.338 MB / 0.9841 GB, free: 78.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.563e-06/2.785, allocations: 0 / 0.9841 GB, free: 78.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008686/2.793, allocations: 1.754 MB / 0.9859 GB, free: 78.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * 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,(5,84.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.000853/2.794, allocations: 152.9 kB / 0.986 GB, free: 78.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01736/2.812, allocations: 11.61 MB / 0.9973 GB, free: 75.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/2.812, allocations: 0 / 0.9973 GB, free: 75.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01345/2.825, allocations: 6.727 MB / 1.004 GB, free: 73.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/2.831, allocations: 0.622 MB / 1.005 GB, free: 72.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/2.867, allocations: 13.32 MB / 1.018 GB, free: 67.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007986/2.875, allocations: 4.299 MB / 1.022 GB, free: 66.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00481/2.88, allocations: 1.63 MB / 1.023 GB, free: 66.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/2.881, allocations: 283.3 kB / 1.024 GB, free: 66.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.904e-06/2.881, allocations: 0 / 1.024 GB, free: 66.47 MB / 442.7 MB Notification: Performance of Templates: time 0.4403/3.321, allocations: 101.5 MB / 1.123 GB, free: 88.2 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (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)