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.0009872/0.0009872, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001545/0.001545, allocations: 160.6 kB / 24.99 MB, free: 9.32 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.9794/0.9794, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2802/0.2802, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.212e-06/1.212e-06, allocations: 0 / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.804e-05, allocations: 2.312 kB / 376 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01289/0.01291, allocations: 16.17 MB / 392.2 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.02356, allocations: 5.393 MB / 397.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.02587, allocations: 159.1 kB / 397.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005122/0.03099, allocations: 4.992 MB / 402.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.03518, allocations: 2.597 MB / 405.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.03715, allocations: 1.497 MB / 406.8 MB, free: 6.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008619/0.04577, allocations: 10.05 MB / 416.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00451/0.05028, allocations: 5.463 MB / 422.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.05457, allocations: 3.953 MB / 426.3 MB, free: 2.453 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007275/0.06184, allocations: 3.808 MB / 430.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003915/0.06576, allocations: 0.5117 MB / 430.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005308/0.07107, allocations: 1.295 MB / 431.9 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.07365, allocations: 3.106 MB / 435 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005028/0.07868, allocations: 1.948 MB / 437 MB, free: 7.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.09088, allocations: 6.121 MB / 443.1 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.09089, allocations: 0 / 443.1 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09089, allocations: 0 / 443.1 MB, free: 1.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.118e-05/0.09095, allocations: 0 / 443.1 MB, free: 1.621 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.1838/0.2747, allocations: 7.767 MB / 450.9 MB, free: 104.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2747, allocations: 12.39 kB / 450.9 MB, free: 104.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007947/0.2827, allocations: 2.464 MB / 453.3 MB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007326/0.29, allocations: 4.843 MB / 458.2 MB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.2902, allocations: 347.2 kB / 458.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005465/0.2908, allocations: 412.7 kB / 458.9 MB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.3015, allocations: 6.913 MB / 465.8 MB, free: 97.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/0.3017, allocations: 54.86 kB / 465.9 MB, free: 97.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.302, allocations: 176.3 kB / 466.1 MB, free: 97.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/0.3042, allocations: 1.728 MB / 467.8 MB, free: 97.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.3145, allocations: 4.188 MB / 472 MB, free: 96.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03329/0.3478, allocations: 41.91 MB / 0.5018 GB, free: 63.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00984/0.3577, allocations: 4.948 MB / 0.5067 GB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.3594, allocations: 1.568 MB / 0.5082 GB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007558/0.3669, allocations: 7.297 MB / 0.5153 GB, free: 49.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.367, allocations: 67.62 kB / 0.5154 GB, free: 49.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 4.619e-06/0.367, allocations: 0 / 0.5154 GB, free: 49.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.1077/0.4746, allocations: 53.45 MB / 0.5676 GB, free: 12.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007569/0.4822, allocations: 6.077 MB / 0.5735 GB, free: 5.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.4863, allocations: 3.588 MB / 0.577 GB, free: 2.324 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005445/0.4868, allocations: 89.7 kB / 0.5771 GB, free: 2.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.4886, allocations: 3.107 MB / 0.5801 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.4898, allocations: 1.535 MB / 0.5816 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.4914, allocations: 1.297 MB / 0.5829 GB, free: 12.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.4915, allocations: 476.8 kB / 0.5834 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.494, allocations: 1.621 MB / 0.5849 GB, free: 10.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.4981, allocations: 4.736 MB / 0.5896 GB, free: 4.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007965/0.5061, allocations: 7.046 MB / 0.5965 GB, free: 11.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.5061, allocations: 20 kB / 0.5965 GB, free: 11.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02086/0.5269, allocations: 11.64 MB / 0.6078 GB, free: 132 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.527, allocations: 36 kB / 0.6079 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/0.527, allocations: 64 kB / 0.6079 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1863/0.7134, allocations: 7.259 MB / 0.615 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.7164, allocations: 1.126 MB / 0.6161 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02895/0.7453, allocations: 21.65 MB / 0.6373 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/0.7498, allocations: 0.6418 MB / 0.6379 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/0.7503, allocations: 296.3 kB / 0.6382 GB, free: 121.2 MB / 458.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.001754/0.7521, allocations: 0.5708 MB / 0.6387 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009253/0.753, allocations: 0.5703 MB / 0.6393 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/0.7729, allocations: 10.43 MB / 0.6495 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01541/0.7883, allocations: 8.978 MB / 0.6582 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-05/0.7884, allocations: 31.53 kB / 0.6583 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.7884, allocations: 19.31 kB / 0.6583 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/0.8186, allocations: 22.34 MB / 0.6801 GB, free: 97.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.8186, allocations: 4.469 kB / 0.6801 GB, free: 97.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.8198, allocations: 462.4 kB / 0.6805 GB, free: 96.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/0.8345, allocations: 7.164 MB / 0.6875 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/0.8348, allocations: 75.98 kB / 0.6876 GB, free: 89.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/0.8612, allocations: 20.54 MB / 0.7077 GB, free: 69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005509/0.8667, allocations: 5.209 MB / 0.7128 GB, free: 63.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/0.8859, allocations: 11.65 MB / 0.7241 GB, free: 51.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.8873, allocations: 0.5078 MB / 0.7246 GB, free: 51.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006018/0.8879, allocations: 68 kB / 0.7247 GB, free: 51.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.8901, allocations: 0.5303 MB / 0.7252 GB, free: 50.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/0.8912, allocations: 339.8 kB / 0.7255 GB, free: 50.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/0.8914, allocations: 100 kB / 0.7256 GB, free: 50.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001989/0.8934, allocations: 1.819 MB / 0.7274 GB, free: 48.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8934, allocations: 0 / 0.7274 GB, free: 48.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004935/0.8984, allocations: 2.547 MB / 0.7299 GB, free: 45.96 MB / 458.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.0005519/0.8989, allocations: 206.2 kB / 0.7301 GB, free: 45.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008887/0.9078, allocations: 7.005 MB / 0.7369 GB, free: 38.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9078, allocations: 0 / 0.7369 GB, free: 38.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005241/0.9131, allocations: 4.4 MB / 0.7412 GB, free: 34.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.9153, allocations: 0.748 MB / 0.742 GB, free: 33.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.9309, allocations: 12.61 MB / 0.7543 GB, free: 20.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.9326, allocations: 1.756 MB / 0.756 GB, free: 18.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002464/0.9351, allocations: 1.195 MB / 0.7572 GB, free: 17.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.9362, allocations: 304.4 kB / 0.7574 GB, free: 17.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.856e-06/0.9362, allocations: 0 / 0.7574 GB, free: 17.45 MB / 458.7 MB Notification: Performance of Templates: time 0.2764/1.213, allocations: 129.1 MB / 0.8835 GB, free: 53.06 MB / 458.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.943941385019571]