Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0108/0.0108, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002296/0.002296, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.558/1.558, allocations: 205.1 MB / 222.6 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4367/0.4367, allocations: 39.94 MB / 309.8 MB, free: 9.406 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4093, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.0214/0.4308, allocations: 18.61 MB / 0.4993 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.4491, allocations: 5.362 MB / 0.5045 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006532/0.4557, allocations: 110.9 kB / 0.5046 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007033/0.4629, allocations: 3.063 MB / 0.5076 GB, free: 252 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.4738, allocations: 2.618 MB / 0.5102 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.4772, allocations: 1.023 MB / 0.5112 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01631/0.4935, allocations: 7.415 MB / 0.5184 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006979/0.5006, allocations: 4.243 MB / 0.5226 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/0.5065, allocations: 2.293 MB / 0.5248 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006085/0.5126, allocations: 3.279 MB / 0.528 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.514, allocations: 456 kB / 0.5284 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.5178, allocations: 1.311 MB / 0.5297 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003173/0.521, allocations: 2.872 MB / 0.5325 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005495/0.5265, allocations: 3.258 MB / 0.5357 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.5433, allocations: 10.19 MB / 0.5457 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.5434, allocations: 0 / 0.5457 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.521e-06/0.5434, allocations: 0 / 0.5457 GB, free: 14.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003963/0.5438, allocations: 3.938 kB / 0.5457 GB, free: 14.04 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.0234/0.5672, allocations: 7.502 MB / 0.553 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.5673, allocations: 15.83 kB / 0.553 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/0.5851, allocations: 3.881 MB / 0.5568 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.5966, allocations: 4.344 MB / 0.561 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.597, allocations: 320.6 kB / 0.5613 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/0.5995, allocations: 447.7 kB / 0.5618 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/0.6316, allocations: 15.79 MB / 0.5772 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.6319, allocations: 63.52 kB / 0.5773 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.6341, allocations: 203.8 kB / 0.5775 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006846/0.6409, allocations: 3.474 MB / 0.5808 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03318/0.6741, allocations: 14.91 MB / 0.5954 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4695/1.144, allocations: 55.89 MB / 0.65 GB, free: 93.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/1.164, allocations: 8.207 MB / 0.658 GB, free: 91.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007396/1.171, allocations: 4.831 MB / 0.6627 GB, free: 89.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/1.173, allocations: 2.205 MB / 0.6649 GB, free: 87.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/1.173, allocations: 72.64 kB / 0.6649 GB, free: 87.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 7.424e-06/1.173, allocations: 0 / 0.6649 GB, free: 87.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.0983/1.272, allocations: 40.37 MB / 0.7044 GB, free: 67.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/1.272, allocations: 118.3 kB / 0.7045 GB, free: 67.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00771/1.28, allocations: 4.381 MB / 0.7088 GB, free: 63.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.281, allocations: 89.53 kB / 0.7088 GB, free: 63.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.283, allocations: 4.01 MB / 0.7128 GB, free: 59.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.285, allocations: 1.567 MB / 0.7143 GB, free: 58.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003567/1.289, allocations: 1.591 MB / 0.7158 GB, free: 56.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/1.289, allocations: 301.1 kB / 0.7161 GB, free: 56.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.293, allocations: 4.087 MB / 0.7201 GB, free: 52.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006793/1.3, allocations: 7.914 MB / 0.7279 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/1.314, allocations: 12.96 MB / 0.7405 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.857e-05/1.314, allocations: 38.91 kB / 0.7406 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02772/1.342, allocations: 14.83 MB / 0.755 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/1.342, allocations: 60 kB / 0.7551 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.342, allocations: 132 kB / 0.7552 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007288/1.349, allocations: 2.932 MB / 0.7581 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006289/1.356, allocations: 1.817 MB / 0.7599 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/1.376, allocations: 15.97 MB / 0.7755 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007742/1.384, allocations: 0.4996 MB / 0.7759 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002188/1.386, allocations: 439.9 kB / 0.7764 GB, free: 6.828 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008031/1.394, allocations: 2.919 MB / 0.7792 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002131/1.396, allocations: 484.9 kB / 0.7797 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02402/1.42, allocations: 10.93 MB / 0.7903 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/1.421, allocations: 75.28 kB / 0.7904 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-05/1.421, allocations: 8 kB / 0.7904 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/1.421, allocations: 15.94 kB / 0.7904 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05421/1.475, allocations: 21.68 MB / 0.8116 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.557e-05/1.475, allocations: 15.98 kB / 0.8116 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004143/1.479, allocations: 0.6755 MB / 0.8123 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009103/1.488, allocations: 2.736 MB / 0.815 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00155/1.49, allocations: 83.92 kB / 0.815 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/1.512, allocations: 14.54 MB / 0.8292 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/1.512, allocations: 19.94 kB / 0.8293 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03328/1.545, allocations: 15.62 MB / 0.8445 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004676/1.55, allocations: 1.197 MB / 0.8457 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002408/1.553, allocations: 79.98 kB / 0.8458 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004557/1.557, allocations: 311.5 kB / 0.8461 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/1.559, allocations: 261.8 kB / 0.8463 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007912/1.559, allocations: 119.7 kB / 0.8464 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006914/1.566, allocations: 2.741 MB / 0.8491 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/1.566, allocations: 0 / 0.8491 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01203/1.578, allocations: 1.687 MB / 0.8507 GB, free: 9.816 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/1.58, allocations: 246.2 kB / 0.851 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3464/1.927, allocations: 10.11 MB / 0.8609 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.171e-05/1.927, allocations: 3.078 kB / 0.8609 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009768/1.936, allocations: 4.382 MB / 0.8651 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005529/1.942, allocations: 0.7137 MB / 0.8658 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03209/1.974, allocations: 16.1 MB / 0.8816 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0072/1.981, allocations: 4.624 MB / 0.8861 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00772/1.989, allocations: 2.736 MB / 0.8887 GB, free: 196 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/1.991, allocations: 354.9 kB / 0.8891 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.292e-06/1.991, allocations: 1.281 kB / 0.8891 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1127/2.104, allocations: 69.04 MB / 0.9565 GB, free: 140.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)