Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 114.5 kB / 17.04 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2174/0.2174, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 69.7 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1153, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01555/0.1309, allocations: 16.97 MB / 458.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1445, allocations: 5.445 MB / 464.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004758/0.1493, allocations: 131.6 kB / 464.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009365/0.1587, allocations: 4.669 MB / 469.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007919/0.1668, allocations: 2.467 MB / 471.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.1701, allocations: 1.314 MB / 473 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.1814, allocations: 7.743 MB / 480.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007856/0.1893, allocations: 5.537 MB / 486.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.1942, allocations: 2.59 MB / 488.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005262/0.1995, allocations: 3.221 MB / 492.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.2015, allocations: 0.4922 MB / 492.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.205, allocations: 1.272 MB / 493.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003962/0.209, allocations: 2.856 MB / 496.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006034/0.215, allocations: 3.062 MB / 499.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.2273, allocations: 9.205 MB / 0.497 GB, free: 2.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.2273, allocations: 0 / 0.497 GB, free: 2.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2273, allocations: 0 / 0.497 GB, free: 2.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003794/0.2277, allocations: 0 / 0.497 GB, free: 2.91 MB / 382.1 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.02104/0.2488, allocations: 7.172 MB / 0.504 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.2489, allocations: 11.89 kB / 0.504 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.2618, allocations: 1.955 MB / 0.5059 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.2767, allocations: 5.86 MB / 0.5117 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.2771, allocations: 321.7 kB / 0.512 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.2789, allocations: 415.6 kB / 0.5124 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02814/0.3071, allocations: 11.01 MB / 0.5231 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003917/0.3075, allocations: 63.39 kB / 0.5232 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/0.3092, allocations: 183.9 kB / 0.5234 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/0.3128, allocations: 1.721 MB / 0.525 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2916/0.6044, allocations: 9.542 MB / 0.5344 GB, free: 82.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08757/0.6921, allocations: 45.14 MB / 0.5784 GB, free: 50.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02628/0.7184, allocations: 7.877 MB / 0.5861 GB, free: 43.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006308/0.7247, allocations: 5.372 MB / 0.5914 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02227/0.747, allocations: 13.29 MB / 0.6044 GB, free: 24.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.7471, allocations: 68.73 kB / 0.6044 GB, free: 24.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=283): time 5.14e-06/0.7471, allocations: 0 / 0.6044 GB, free: 24.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=406): time 0.251/0.9982, allocations: 78.02 MB / 0.6806 GB, free: 10.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01793/1.016, allocations: 11.09 MB / 0.6914 GB, free: 14.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008707/1.025, allocations: 4.347 MB / 0.6957 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001487/1.026, allocations: 97.7 kB / 0.6958 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003016/1.029, allocations: 2.878 MB / 0.6986 GB, free: 7.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002539/1.032, allocations: 1.414 MB / 0.7 GB, free: 6.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004733/1.037, allocations: 1.278 MB / 0.7012 GB, free: 4.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/1.037, allocations: 305.1 kB / 0.7015 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008325/1.045, allocations: 5.088 MB / 0.7065 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009813/1.055, allocations: 7.152 MB / 0.7135 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2448/1.3, allocations: 12.83 MB / 0.726 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.809e-05/1.3, allocations: 18.22 kB / 0.726 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04565/1.346, allocations: 20.99 MB / 0.7465 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/1.346, allocations: 35.38 kB / 0.7465 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.078e-05/1.346, allocations: 63.06 kB / 0.7466 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02617/1.372, allocations: 9.724 MB / 0.7561 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004664/1.377, allocations: 1.127 MB / 0.7572 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07207/1.449, allocations: 57.05 MB / 0.8129 GB, free: 96.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/1.456, allocations: 0.5237 MB / 0.8134 GB, free: 95.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/1.458, allocations: 308.5 kB / 0.8137 GB, free: 95.32 MB / 0.4981 GB 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.004656/1.462, allocations: 2.277 MB / 0.8159 GB, free: 93.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001555/1.464, allocations: 468.9 kB / 0.8164 GB, free: 92.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0355/1.499, allocations: 19.44 MB / 0.8354 GB, free: 73.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03436/1.534, allocations: 17.92 MB / 0.8529 GB, free: 55.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-05/1.534, allocations: 28 kB / 0.8529 GB, free: 55.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.815e-05/1.534, allocations: 19.92 kB / 0.8529 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06734/1.601, allocations: 36.58 MB / 0.8886 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.065e-05/1.601, allocations: 4.469 kB / 0.8886 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/1.604, allocations: 455.3 kB / 0.8891 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02603/1.63, allocations: 9.596 MB / 0.8985 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001241/1.631, allocations: 68 kB / 0.8985 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3177/1.949, allocations: 55.43 MB / 0.9527 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01209/1.961, allocations: 9.774 MB / 0.9622 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0415/2.003, allocations: 25.91 MB / 0.9875 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005103/2.008, allocations: 1.495 MB / 0.989 GB, free: 124 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.01, allocations: 72 kB / 0.989 GB, free: 123.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/2.014, allocations: 417.7 kB / 0.9894 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002246/2.017, allocations: 324.1 kB / 0.9897 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006134/2.017, allocations: 97.92 kB / 0.9898 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005089/2.022, allocations: 2.837 MB / 0.9926 GB, free: 120.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.21e-07/2.022, allocations: 0 / 0.9926 GB, free: 120.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01005/2.033, allocations: 2.113 MB / 0.9947 GB, free: 118.2 MB / 0.5137 GB 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%), (5,36,88.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.001227/2.034, allocations: 205 kB / 0.9949 GB, free: 118 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0201/2.054, allocations: 13.45 MB / 1.008 GB, free: 104.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.054, allocations: 3.812 kB / 1.008 GB, free: 104.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01221/2.066, allocations: 7.429 MB / 1.015 GB, free: 97.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/2.072, allocations: 0.7867 MB / 1.016 GB, free: 96.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/2.097, allocations: 16.51 MB / 1.032 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/2.102, allocations: 4.168 MB / 1.036 GB, free: 75.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004242/2.106, allocations: 1.602 MB / 1.038 GB, free: 74.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/2.107, allocations: 295.3 kB / 1.038 GB, free: 73.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/2.107, allocations: 4 kB / 1.038 GB, free: 73.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.405/2.512, allocations: 123 MB / 1.158 GB, free: 130.4 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)