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.00252/0.00252, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.003082/0.003082, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.608/1.608, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3495/0.3495, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 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 5.54e-06/5.54e-06, allocations: 4 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.842e-05, allocations: 2.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02262/0.02266, allocations: 16.17 MB / 393.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.03721, allocations: 5.393 MB / 398.8 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.0408, allocations: 163.1 kB / 398.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.05149, allocations: 4.992 MB / 403.9 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008294/0.05979, allocations: 2.593 MB / 406.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.06365, allocations: 1.497 MB / 408 MB, free: 3.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.07964, allocations: 10.06 MB / 418.1 MB, free: 9.906 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009487/0.08912, allocations: 5.463 MB / 423.5 MB, free: 4.379 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009577/0.0987, allocations: 3.961 MB / 427.5 MB, free: 420 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007558/0.1063, allocations: 3.808 MB / 431.3 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.1077, allocations: 0.5117 MB / 431.8 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.1106, allocations: 1.291 MB / 433.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003767/0.1144, allocations: 3.113 MB / 436.2 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.1181, allocations: 1.948 MB / 438.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.186/0.3041, allocations: 6.118 MB / 444.3 MB, free: 69.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3041, allocations: 0 / 444.3 MB, free: 69.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3041, allocations: 0 / 444.3 MB, free: 69.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003414/0.3045, allocations: 0 / 444.3 MB, free: 69.77 MB / 410.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.01781/0.3223, allocations: 7.765 MB / 452.1 MB, free: 67.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3223, allocations: 9.562 kB / 452.1 MB, free: 67.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.3352, allocations: 2.462 MB / 454.5 MB, free: 66.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.3453, allocations: 4.845 MB / 459.4 MB, free: 65.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.3456, allocations: 350 kB / 459.7 MB, free: 65.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009979/0.3466, allocations: 411.1 kB / 460.1 MB, free: 65.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.3622, allocations: 6.895 MB / 467 MB, free: 63.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/0.3623, allocations: 58.69 kB / 467.1 MB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/0.3628, allocations: 173.8 kB / 467.2 MB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002946/0.3658, allocations: 1.728 MB / 469 MB, free: 63.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.3811, allocations: 4.185 MB / 473.2 MB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05353/0.4346, allocations: 41.91 MB / 0.503 GB, free: 31.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/0.4526, allocations: 4.939 MB / 0.5078 GB, free: 31.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.4562, allocations: 1.575 MB / 0.5094 GB, free: 30.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/0.4708, allocations: 7.299 MB / 0.5165 GB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/0.4709, allocations: 63.5 kB / 0.5165 GB, free: 27.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.062e-06/0.4709, allocations: 3.938 kB / 0.5165 GB, free: 27.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.2259/0.6968, allocations: 53.47 MB / 0.5688 GB, free: 7.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01353/0.7103, allocations: 6.058 MB / 0.5747 GB, free: 1.598 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006299/0.7166, allocations: 3.597 MB / 0.5782 GB, free: 13.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001243/0.7178, allocations: 95.66 kB / 0.5783 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003234/0.7211, allocations: 3.103 MB / 0.5813 GB, free: 10.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003162/0.7242, allocations: 1.531 MB / 0.5828 GB, free: 9.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003087/0.7273, allocations: 1.294 MB / 0.5841 GB, free: 7.996 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.7276, allocations: 480.7 kB / 0.5845 GB, free: 7.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00428/0.7319, allocations: 1.624 MB / 0.5861 GB, free: 5.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00737/0.7392, allocations: 4.737 MB / 0.5907 GB, free: 15.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/0.7527, allocations: 7.045 MB / 0.5976 GB, free: 7.875 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.109e-05/0.7527, allocations: 16 kB / 0.5976 GB, free: 7.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.258/1.011, allocations: 11.64 MB / 0.609 GB, free: 141.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/1.011, allocations: 36.05 kB / 0.609 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.634e-05/1.011, allocations: 63.31 kB / 0.6091 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0281/1.039, allocations: 7.266 MB / 0.6162 GB, free: 141.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/1.044, allocations: 1.128 MB / 0.6173 GB, free: 141.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04632/1.09, allocations: 21.64 MB / 0.6384 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008385/1.098, allocations: 0.6396 MB / 0.6391 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.1, allocations: 305.5 kB / 0.6393 GB, free: 134.3 MB / 474.7 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 (591): * Single equations (assignments): 582 * 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 {(11,104,52.1%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.002909/1.103, allocations: 0.5625 MB / 0.6399 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/1.105, allocations: 0.5779 MB / 0.6405 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03134/1.136, allocations: 10.43 MB / 0.6506 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02875/1.165, allocations: 8.982 MB / 0.6594 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/1.165, allocations: 31.03 kB / 0.6594 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.774e-05/1.165, allocations: 23.86 kB / 0.6595 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05171/1.217, allocations: 22.33 MB / 0.6813 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/1.217, allocations: 4 kB / 0.6813 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.219, allocations: 459.7 kB / 0.6817 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02772/1.247, allocations: 7.166 MB / 0.6887 GB, free: 99.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/1.248, allocations: 72 kB / 0.6888 GB, free: 99.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0399/1.288, allocations: 20.53 MB / 0.7088 GB, free: 78.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008983/1.297, allocations: 5.219 MB / 0.7139 GB, free: 73.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03296/1.33, allocations: 11.65 MB / 0.7253 GB, free: 61.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/1.333, allocations: 0.5008 MB / 0.7258 GB, free: 61.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/1.334, allocations: 75.98 kB / 0.7259 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004765/1.339, allocations: 0.5189 MB / 0.7264 GB, free: 60.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/1.341, allocations: 347.8 kB / 0.7267 GB, free: 60.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/1.341, allocations: 99.98 kB / 0.7268 GB, free: 60.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002637/1.344, allocations: 1.807 MB / 0.7286 GB, free: 58.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.344, allocations: 4 kB / 0.7286 GB, free: 58.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007867/1.352, allocations: 2.554 MB / 0.7311 GB, free: 55.9 MB / 474.7 MB 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 (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 {(9,99,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007721/1.353, allocations: 206.8 kB / 0.7313 GB, free: 55.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/1.366, allocations: 7.012 MB / 0.7381 GB, free: 48.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.366, allocations: 0 / 0.7381 GB, free: 48.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009133/1.376, allocations: 4.396 MB / 0.7424 GB, free: 44.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/1.38, allocations: 0.7461 MB / 0.7431 GB, free: 43.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.399, allocations: 12.61 MB / 0.7554 GB, free: 30.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.401, allocations: 1.767 MB / 0.7572 GB, free: 28.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003269/1.404, allocations: 1.2 MB / 0.7583 GB, free: 27.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.406, allocations: 292.4 kB / 0.7586 GB, free: 27.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/1.406, allocations: 8 kB / 0.7586 GB, free: 27.39 MB / 474.7 MB Notification: Performance of Templates: time 0.3301/1.736, allocations: 129.1 MB / 0.8847 GB, free: 63.22 MB / 474.7 MB " [Timeout remaining time 658] 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: 9.56955976295285]