Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006368/0.006368, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001154/0.001154, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.489/1.489, allocations: 205.1 MB / 222.6 MB, free: 4.348 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3186/0.3186, allocations: 38 MB / 307.9 MB, free: 10.36 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.1. 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.00162/0.00162, allocations: 79.84 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4356, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02166/0.4573, allocations: 18.6 MB / 0.4962 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.474, allocations: 5.355 MB / 0.5014 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007059/0.4811, allocations: 111.2 kB / 0.5015 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007824/0.489, allocations: 3.074 MB / 0.5045 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.5004, allocations: 2.627 MB / 0.5071 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.5041, allocations: 1.02 MB / 0.5081 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02334/0.5275, allocations: 7.411 MB / 0.5153 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.5377, allocations: 4.24 MB / 0.5194 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/0.5462, allocations: 2.304 MB / 0.5217 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.5563, allocations: 3.275 MB / 0.5249 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002989/0.5594, allocations: 463.9 kB / 0.5253 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006372/0.5658, allocations: 1.307 MB / 0.5266 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00782/0.5736, allocations: 2.872 MB / 0.5294 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.5848, allocations: 3.25 MB / 0.5326 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02366/0.6085, allocations: 10.15 MB / 0.5425 GB, free: 1.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.6086, allocations: 0 / 0.5425 GB, free: 1.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.6086, allocations: 4 kB / 0.5425 GB, free: 1.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005084/0.6092, allocations: 0 / 0.5425 GB, free: 1.262 MB / 414.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.02868/0.6379, allocations: 7.306 MB / 0.5496 GB, free: 9.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.6379, allocations: 11.89 kB / 0.5497 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.6553, allocations: 3.837 MB / 0.5534 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.6692, allocations: 4.331 MB / 0.5576 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00052/0.6698, allocations: 324.6 kB / 0.5579 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.6728, allocations: 447.7 kB / 0.5584 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/0.7087, allocations: 15.79 MB / 0.5738 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.709, allocations: 59.41 kB / 0.5738 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007037/0.7097, allocations: 203.8 kB / 0.574 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007529/0.7172, allocations: 3.474 MB / 0.5774 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03636/0.7536, allocations: 14.91 MB / 0.592 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5643/1.318, allocations: 55.8 MB / 0.6465 GB, free: 93.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/1.341, allocations: 8.195 MB / 0.6545 GB, free: 92.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008286/1.35, allocations: 4.836 MB / 0.6592 GB, free: 90.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/1.352, allocations: 2.205 MB / 0.6614 GB, free: 88.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/1.352, allocations: 68.08 kB / 0.6614 GB, free: 88.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 8.005e-06/1.352, allocations: 3.906 kB / 0.6614 GB, free: 88.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1173/1.47, allocations: 40.26 MB / 0.7008 GB, free: 72.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/1.47, allocations: 122.5 kB / 0.7009 GB, free: 72.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006402/1.476, allocations: 4.372 MB / 0.7051 GB, free: 67.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/1.477, allocations: 91.23 kB / 0.7052 GB, free: 67.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002327/1.48, allocations: 3.855 MB / 0.709 GB, free: 63.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.481, allocations: 1.491 MB / 0.7105 GB, free: 62.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/1.483, allocations: 1.589 MB / 0.712 GB, free: 60.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/1.484, allocations: 301.1 kB / 0.7123 GB, free: 60.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/1.488, allocations: 4.085 MB / 0.7163 GB, free: 56.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00722/1.495, allocations: 7.919 MB / 0.724 GB, free: 46.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.509, allocations: 12.96 MB / 0.7367 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/1.509, allocations: 36 kB / 0.7367 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02713/1.536, allocations: 14.8 MB / 0.7512 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/1.536, allocations: 67.98 kB / 0.7512 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/1.536, allocations: 128 kB / 0.7513 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007788/1.544, allocations: 2.931 MB / 0.7542 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007562/1.552, allocations: 1.825 MB / 0.756 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/1.572, allocations: 15.95 MB / 0.7716 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008491/1.581, allocations: 0.5035 MB / 0.7721 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002222/1.583, allocations: 435.9 kB / 0.7725 GB, free: 10.95 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.01011/1.593, allocations: 2.911 MB / 0.7753 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002327/1.596, allocations: 470 kB / 0.7758 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02407/1.62, allocations: 10.93 MB / 0.7864 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001265/1.62, allocations: 59.98 kB / 0.7865 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-05/1.62, allocations: 12 kB / 0.7865 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/1.62, allocations: 15.94 kB / 0.7865 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05082/1.671, allocations: 21.67 MB / 0.8077 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.349e-05/1.671, allocations: 20 kB / 0.8077 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/1.675, allocations: 0.6825 MB / 0.8084 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008603/1.684, allocations: 2.728 MB / 0.811 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/1.685, allocations: 83.98 kB / 0.8111 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/1.706, allocations: 14.54 MB / 0.8253 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.706, allocations: 15.94 kB / 0.8253 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0285/1.734, allocations: 15.58 MB / 0.8405 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00493/1.739, allocations: 1.182 MB / 0.8417 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002357/1.742, allocations: 76.27 kB / 0.8418 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004773/1.747, allocations: 315.7 kB / 0.8421 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001603/1.748, allocations: 258 kB / 0.8423 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009228/1.749, allocations: 127.1 kB / 0.8424 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006284/1.755, allocations: 2.738 MB / 0.8451 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.31e-07/1.755, allocations: 0 / 0.8451 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01233/1.768, allocations: 1.694 MB / 0.8468 GB, free: 14.04 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.001796/1.77, allocations: 247 kB / 0.847 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02353/1.793, allocations: 10.13 MB / 0.8569 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/1.793, allocations: 7.938 kB / 0.8569 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.3386/2.132, allocations: 4.362 MB / 0.8612 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/2.138, allocations: 0.704 MB / 0.8618 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03424/2.172, allocations: 15.88 MB / 0.8774 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/2.183, allocations: 4.62 MB / 0.8819 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009317/2.192, allocations: 2.733 MB / 0.8845 GB, free: 199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/2.195, allocations: 355 kB / 0.8849 GB, free: 199 MB / 0.5919 GB Notification: Performance of SimCode: time 2.164e-06/2.195, allocations: 0 / 0.8849 GB, free: 199 MB / 0.5919 GB Notification: Performance of Templates: time 0.1272/2.322, allocations: 69.05 MB / 0.9523 GB, free: 148.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)