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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 196.4 kB / 18.1 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.5 MB / 245.4 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007942/0.0007938, allocations: 95.55 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4205/0.4205, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.418, allocations: 62.96 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.5681, allocations: 107.3 MB / 0.6232 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5684, allocations: 91.92 kB / 0.6233 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6221/1.191, allocations: 113.4 MB / 0.7341 GB, free: 95.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.191, allocations: 4 kB / 0.7341 GB, free: 95.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006952/1.191, allocations: 115.3 kB / 0.7342 GB, free: 95.37 MB / 490.7 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.02521/1.217, allocations: 6.569 MB / 0.7406 GB, free: 92.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.217, allocations: 10.41 kB / 0.7407 GB, free: 92.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02806/1.245, allocations: 6.837 MB / 0.7473 GB, free: 90.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/1.264, allocations: 7.56 MB / 0.7547 GB, free: 86.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/1.265, allocations: 365.8 kB / 0.7551 GB, free: 86.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/1.268, allocations: 471.4 kB / 0.7555 GB, free: 85.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/1.301, allocations: 10.56 MB / 0.7658 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008303/1.302, allocations: 67.33 kB / 0.7659 GB, free: 78.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00327/1.305, allocations: 205.2 kB / 0.7661 GB, free: 78.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/1.307, allocations: 0.992 MB / 0.7671 GB, free: 77.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/1.329, allocations: 8.841 MB / 0.7757 GB, free: 68.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06482/1.394, allocations: 43.85 MB / 0.8185 GB, free: 23.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/1.413, allocations: 7.645 MB / 0.826 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/1.418, allocations: 4.976 MB / 0.8308 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.42, allocations: 1.114 MB / 0.8319 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.42, allocations: 64.81 kB / 0.832 GB, free: 9.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 5.24e-06/1.42, allocations: 4 kB / 0.832 GB, free: 9.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.5336/1.953, allocations: 75.18 MB / 0.9054 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01797/1.971, allocations: 10.93 MB / 0.9161 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007775/1.979, allocations: 4.187 MB / 0.9202 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.98, allocations: 91.52 kB / 0.9203 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002973/1.983, allocations: 2.994 MB / 0.9232 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002786/1.986, allocations: 1.432 MB / 0.9246 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/1.987, allocations: 115.4 kB / 0.9247 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003123/1.987, allocations: 0.5302 MB / 0.9252 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00569/1.993, allocations: 4.486 MB / 0.9296 GB, free: 120 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007593/2, allocations: 6.55 MB / 0.936 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/2.015, allocations: 11.79 MB / 0.9475 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.119e-05/2.015, allocations: 18.47 kB / 0.9475 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03754/2.053, allocations: 18.6 MB / 0.9657 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/2.053, allocations: 39.56 kB / 0.9657 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.03e-05/2.053, allocations: 67.47 kB / 0.9658 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02175/2.075, allocations: 8.605 MB / 0.9742 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/2.079, allocations: 1.043 MB / 0.9752 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05787/2.137, allocations: 48.6 MB / 1.023 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006713/2.144, allocations: 491.3 kB / 1.023 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/2.145, allocations: 283.9 kB / 1.023 GB, free: 57.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * 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 (531): * Single equations (assignments): 526 * 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,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.005394/2.15, allocations: 2.277 MB / 1.026 GB, free: 55.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.152, allocations: 481.9 kB / 1.026 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02975/2.182, allocations: 17.61 MB / 1.043 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0277/2.209, allocations: 16.12 MB / 1.059 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.828e-05/2.209, allocations: 35.72 kB / 1.059 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/2.209, allocations: 19.92 kB / 1.059 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4702/2.68, allocations: 34.74 MB / 1.093 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.072e-05/2.68, allocations: 5.812 kB / 1.093 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004302/2.684, allocations: 449.4 kB / 1.093 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0425/2.727, allocations: 8.055 MB / 1.101 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001663/2.728, allocations: 80.73 kB / 1.101 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1118/2.84, allocations: 47.67 MB / 1.148 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02205/2.862, allocations: 9.697 MB / 1.157 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0588/2.921, allocations: 23.25 MB / 1.18 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/2.923, allocations: 0.5174 MB / 1.181 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002384/2.926, allocations: 75.14 kB / 1.181 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004739/2.93, allocations: 358.7 kB / 1.181 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001779/2.932, allocations: 337.2 kB / 1.181 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003394/2.933, allocations: 103.4 kB / 1.181 GB, free: 106 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004594/2.937, allocations: 2.743 MB / 1.184 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/2.937, allocations: 0 / 1.184 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008546/2.946, allocations: 1.972 MB / 1.186 GB, free: 101.8 MB / 0.5417 GB 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 () * Number of clocked 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 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009383/2.947, allocations: 209 kB / 1.186 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02169/2.968, allocations: 12.36 MB / 1.198 GB, free: 90.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/2.968, allocations: 3.938 kB / 1.198 GB, free: 90.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02004/2.989, allocations: 7.11 MB / 1.205 GB, free: 84.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/3.002, allocations: 0.7972 MB / 1.206 GB, free: 84.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/3.035, allocations: 17.98 MB / 1.224 GB, free: 67.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00633/3.041, allocations: 4.172 MB / 1.228 GB, free: 62.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005866/3.047, allocations: 1.683 MB / 1.229 GB, free: 61.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/3.049, allocations: 295.4 kB / 1.23 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/3.049, allocations: 0 / 1.23 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.4493/3.498, allocations: 109.2 MB / 1.336 GB, free: 126.3 MB / 0.5417 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)