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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009497/0.0009497, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009812/0.0009812, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9784/0.9784, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2686/0.2686, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.457e-05, allocations: 5.406 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01531/0.01533, allocations: 15.83 MB / 341.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.02599, allocations: 5.609 MB / 347.4 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.02905, allocations: 159.1 kB / 347.5 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.03441, allocations: 4.988 MB / 352.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005824/0.04024, allocations: 2.64 MB / 355.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.04251, allocations: 1.497 MB / 356.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.05252, allocations: 9.975 MB / 366.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006374/0.0589, allocations: 5.564 MB / 372.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00894/0.06784, allocations: 5.853 MB / 378 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.07338, allocations: 3.593 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.0745, allocations: 0.5156 MB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.07665, allocations: 1.287 MB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002515/0.07917, allocations: 3.117 MB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.08154, allocations: 1.948 MB / 388.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006808/0.08835, allocations: 6.129 MB / 394.6 MB, free: 2.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.08836, allocations: 7.938 kB / 394.6 MB, free: 2.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.08836, allocations: 0 / 394.6 MB, free: 2.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002727/0.08864, allocations: 0 / 394.6 MB, free: 2.188 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.01024/0.09887, allocations: 6.549 MB / 401.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.09891, allocations: 12.03 kB / 401.2 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.1017, allocations: 1.086 MB / 402.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/0.1074, allocations: 3.758 MB / 406 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.1076, allocations: 347.6 kB / 406.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/0.1082, allocations: 412.1 kB / 406.8 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00887/0.1171, allocations: 5.511 MB / 412.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.1173, allocations: 59.48 kB / 412.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/0.1176, allocations: 175.9 kB / 412.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/0.1188, allocations: 1.503 MB / 414 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007191/0.126, allocations: 2.819 MB / 416.8 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/0.3288, allocations: 31.11 MB / 448 MB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008383/0.3372, allocations: 3.409 MB / 451.4 MB, free: 91.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3385, allocations: 0.8229 MB / 452.2 MB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008353/0.3468, allocations: 5.805 MB / 458 MB, free: 91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.3469, allocations: 65.81 kB / 458.1 MB, free: 90.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 4.668e-06/0.3469, allocations: 1.688 kB / 458.1 MB, free: 90.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.09025/0.4371, allocations: 37.32 MB / 495.4 MB, free: 60.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005862/0.443, allocations: 4.47 MB / 499.8 MB, free: 55.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.4464, allocations: 3.399 MB / 0.4915 GB, free: 53.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009381/0.4473, allocations: 77.7 kB / 0.4915 GB, free: 52.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009635/0.4483, allocations: 2.629 MB / 0.4941 GB, free: 50.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.4496, allocations: 1.147 MB / 0.4952 GB, free: 49.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.4508, allocations: 1.05 MB / 0.4962 GB, free: 48.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.676e-05/0.4508, allocations: 304.8 kB / 0.4965 GB, free: 47.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.4528, allocations: 1.265 MB / 0.4978 GB, free: 46.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.4552, allocations: 3.588 MB / 0.5013 GB, free: 42.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/0.4603, allocations: 5.591 MB / 0.5067 GB, free: 35.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.161e-05/0.4603, allocations: 24 kB / 0.5068 GB, free: 35.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02272/0.483, allocations: 7.368 MB / 0.5139 GB, free: 28.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.4831, allocations: 36 kB / 0.514 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/0.4831, allocations: 76.88 kB / 0.5141 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.4948, allocations: 4.148 MB / 0.5181 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.4968, allocations: 1.045 MB / 0.5191 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/0.5143, allocations: 13.41 MB / 0.5322 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/0.5177, allocations: 211.8 kB / 0.5324 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.518, allocations: 236 kB / 0.5326 GB, free: 8.773 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.001615/0.5196, allocations: 0.522 MB / 0.5332 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/0.5203, allocations: 339.3 kB / 0.5335 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.5315, allocations: 5.972 MB / 0.5393 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01067/0.5422, allocations: 4.743 MB / 0.5439 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.5422, allocations: 27.94 kB / 0.544 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.5422, allocations: 15.94 kB / 0.544 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02437/0.5666, allocations: 14.04 MB / 0.5577 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5666, allocations: 8 kB / 0.5577 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.5673, allocations: 299.5 kB / 0.558 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01218/0.5795, allocations: 4.638 MB / 0.5625 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.5798, allocations: 63.98 kB / 0.5626 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.5986, allocations: 13.5 MB / 0.5758 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005004/0.6036, allocations: 3.494 MB / 0.5792 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.617, allocations: 6.453 MB / 0.5855 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.6181, allocations: 449 kB / 0.5859 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/0.6186, allocations: 68.05 kB / 0.586 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.6199, allocations: 71.98 kB / 0.586 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007882/0.6206, allocations: 274.5 kB / 0.5863 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/0.6208, allocations: 60 kB / 0.5864 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001432/0.6223, allocations: 1.457 MB / 0.5878 GB, free: 15.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6223, allocations: 0 / 0.5878 GB, free: 15.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004604/0.6269, allocations: 2.207 MB / 0.5899 GB, free: 13 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.0004346/0.6273, allocations: 180 kB / 0.5901 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006057/0.6334, allocations: 4.432 MB / 0.5944 GB, free: 8.324 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.679e-05/0.6334, allocations: 71.94 kB / 0.5945 GB, free: 8.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.6364, allocations: 2.297 MB / 0.5967 GB, free: 5.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.639, allocations: 0.9363 MB / 0.5977 GB, free: 4.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.6509, allocations: 11.03 MB / 0.6084 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.6524, allocations: 1.659 MB / 0.6101 GB, free: 8.078 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001308/0.6537, allocations: 0.5314 MB / 0.6106 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.655, allocations: 0.7022 MB / 0.6113 GB, free: 6.832 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/0.655, allocations: 0 / 0.6113 GB, free: 6.832 MB / 490.7 MB Notification: Performance of Templates: time 0.2613/0.9163, allocations: 116.6 MB / 0.7251 GB, free: 82.64 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.308232421055436]