Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9427/0.9427, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 32.8 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.012e-05, allocations: 2.969 kB / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01082/0.01084, allocations: 15.83 MB / 339.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008972/0.01981, allocations: 5.61 MB / 344.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.02205, allocations: 159.1 kB / 344.8 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005027/0.02708, allocations: 4.992 MB / 349.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.03116, allocations: 2.632 MB / 352.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.03298, allocations: 1.505 MB / 354 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00764/0.04062, allocations: 9.98 MB / 363.9 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.04595, allocations: 5.564 MB / 369.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.05177, allocations: 5.841 MB / 375.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.05529, allocations: 3.597 MB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007839/0.05607, allocations: 0.5156 MB / 379.5 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.05765, allocations: 1.287 MB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.05945, allocations: 3.113 MB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.06111, allocations: 1.952 MB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.06572, allocations: 6.125 MB / 391.9 MB, free: 4.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.06572, allocations: 0 / 391.9 MB, free: 4.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06572, allocations: 4 kB / 391.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001192/0.06584, allocations: 0 / 391.9 MB, free: 4.734 MB / 362.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.008378/0.07422, allocations: 6.552 MB / 398.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.07426, allocations: 15.83 kB / 398.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.07768, allocations: 1.097 MB / 399.6 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005495/0.08317, allocations: 3.738 MB / 403.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.0834, allocations: 351.6 kB / 403.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/0.08395, allocations: 416 kB / 404.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008023/0.09197, allocations: 5.515 MB / 409.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.09209, allocations: 59.53 kB / 409.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.09244, allocations: 179.9 kB / 409.8 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001462/0.0939, allocations: 1.507 MB / 411.3 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006278/0.1002, allocations: 2.811 MB / 414.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1864/0.2866, allocations: 31.12 MB / 445.3 MB, free: 93.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007604/0.2942, allocations: 3.407 MB / 448.7 MB, free: 93.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.2955, allocations: 0.8207 MB / 449.5 MB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.3056, allocations: 5.812 MB / 455.3 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.3056, allocations: 60.19 kB / 455.4 MB, free: 93.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 5.23e-06/0.3056, allocations: 0 / 455.4 MB, free: 93.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.09015/0.3958, allocations: 37.32 MB / 492.7 MB, free: 62.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00743/0.4032, allocations: 4.468 MB / 497.2 MB, free: 58.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.4073, allocations: 3.409 MB / 0.4888 GB, free: 55.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004517/0.4077, allocations: 73.7 kB / 0.4889 GB, free: 55.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.4088, allocations: 2.63 MB / 0.4915 GB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009346/0.4097, allocations: 1.147 MB / 0.4926 GB, free: 51.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.4112, allocations: 1.054 MB / 0.4936 GB, free: 50.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.484e-05/0.4112, allocations: 305.1 kB / 0.4939 GB, free: 50.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.4136, allocations: 1.261 MB / 0.4951 GB, free: 49.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/0.4167, allocations: 3.591 MB / 0.4987 GB, free: 44.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006236/0.4229, allocations: 5.594 MB / 0.5041 GB, free: 38.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.379e-05/0.423, allocations: 20 kB / 0.5041 GB, free: 38.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01507/0.438, allocations: 7.372 MB / 0.5113 GB, free: 30.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.4381, allocations: 40 kB / 0.5114 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.031e-05/0.4381, allocations: 76 kB / 0.5114 GB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/0.4492, allocations: 4.148 MB / 0.5155 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4512, allocations: 1.045 MB / 0.5165 GB, free: 25.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/0.4687, allocations: 13.39 MB / 0.5296 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.4719, allocations: 207.9 kB / 0.5298 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.4722, allocations: 236 kB / 0.53 GB, free: 11.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 348 * 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 (598): * Single equations (assignments): 589 * 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 {(5,86,92.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.4735, allocations: 0.522 MB / 0.5305 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.474, allocations: 339.5 kB / 0.5308 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.4848, allocations: 5.968 MB / 0.5367 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009851/0.4946, allocations: 4.747 MB / 0.5413 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.4946, allocations: 20 kB / 0.5413 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4947, allocations: 19.94 kB / 0.5414 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/0.5199, allocations: 14.04 MB / 0.5551 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.5199, allocations: 15.66 kB / 0.5551 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.5206, allocations: 296.5 kB / 0.5554 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01251/0.5331, allocations: 4.637 MB / 0.5599 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000383/0.5335, allocations: 67.97 kB / 0.56 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.5523, allocations: 13.5 MB / 0.5731 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004868/0.5571, allocations: 3.505 MB / 0.5766 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.5702, allocations: 6.461 MB / 0.5829 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.5714, allocations: 449 kB / 0.5833 GB, free: 3.762 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.5719, allocations: 63.98 kB / 0.5834 GB, free: 3.699 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.5732, allocations: 60 kB / 0.5834 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007997/0.574, allocations: 274.5 kB / 0.5837 GB, free: 3.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.5742, allocations: 63.98 kB / 0.5837 GB, free: 3.305 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.5757, allocations: 1.454 MB / 0.5852 GB, free: 1.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5757, allocations: 4 kB / 0.5852 GB, free: 1.836 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004947/0.5806, allocations: 2.207 MB / 0.5873 GB, free: 15.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (172): * Single equations (assignments): 169 * 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 {(5,83,92.0%), (4,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005393/0.5812, allocations: 168 kB / 0.5875 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006769/0.5879, allocations: 4.444 MB / 0.5918 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001096/0.5881, allocations: 71.94 kB / 0.5919 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003504/0.5916, allocations: 2.293 MB / 0.5941 GB, free: 8.531 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/0.5953, allocations: 0.9473 MB / 0.5951 GB, free: 7.605 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.6085, allocations: 11.03 MB / 0.6058 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.6099, allocations: 1.663 MB / 0.6075 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00147/0.6114, allocations: 0.5314 MB / 0.608 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.6128, allocations: 0.6983 MB / 0.6087 GB, free: 9.434 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/0.6128, allocations: 0 / 0.6087 GB, free: 9.434 MB / 490.7 MB Notification: Performance of Templates: time 0.2522/0.865, allocations: 116.6 MB / 0.7225 GB, free: 87.22 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.28822069382295]