Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007802/0.0007804, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008529/0.0008528, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.325/0.325, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0005548/0.0005549, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 57.53 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2219/0.3303, allocations: 27.12 MB / 461.1 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3427, allocations: 6.445 MB / 467.5 MB, free: 32.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.3463, allocations: 121.7 kB / 467.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.3491, allocations: 1.288 MB / 468.9 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009315/0.3584, allocations: 4.005 MB / 472.9 MB, free: 31.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.3597, allocations: 419 kB / 473.4 MB, free: 31.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.3635, allocations: 3.949 MB / 477.3 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.3661, allocations: 2.268 MB / 479.6 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.3676, allocations: 1.054 MB / 480.6 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.3696, allocations: 1.699 MB / 482.3 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.3699, allocations: 134.4 kB / 482.5 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3712, allocations: 0.7526 MB / 483.2 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009701/0.3722, allocations: 1.494 MB / 484.7 MB, free: 29.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.3727, allocations: 0.7636 MB / 485.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.3773, allocations: 4.803 MB / 490.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3774, allocations: 0 / 490.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3774, allocations: 0 / 490.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001355/0.3775, allocations: 7.094 kB / 490.3 MB, free: 29.04 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.006545/0.3841, allocations: 3.519 MB / 493.8 MB, free: 27.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.3841, allocations: 9.125 kB / 493.8 MB, free: 27.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.3948, allocations: 3.169 MB / 497 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.3988, allocations: 1.927 MB / 498.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.399, allocations: 190.6 kB / 499.1 MB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.3997, allocations: 254.2 kB / 499.3 MB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.4156, allocations: 10.69 MB / 0.4981 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-05/0.4157, allocations: 26.66 kB / 0.4981 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.4161, allocations: 131.3 kB / 0.4982 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/0.4201, allocations: 2.644 MB / 0.5008 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.4372, allocations: 9.984 MB / 0.5106 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/0.4857, allocations: 35.28 MB / 0.545 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009421/0.4952, allocations: 5.165 MB / 0.5501 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.4983, allocations: 2.298 MB / 0.5523 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.5, allocations: 1.882 MB / 0.5541 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5, allocations: 52.55 kB / 0.5542 GB, free: 14.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.24e-06/0.5, allocations: 4 kB / 0.5542 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03062/0.5307, allocations: 13.97 MB / 0.5678 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5308, allocations: 73.41 kB / 0.5679 GB, free: 472 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.5344, allocations: 2.653 MB / 0.5705 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.5346, allocations: 60.52 kB / 0.5705 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.5364, allocations: 2.708 MB / 0.5732 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/0.5373, allocations: 0.8511 MB / 0.574 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.5375, allocations: 100 kB / 0.5741 GB, free: 10.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000332/0.5379, allocations: 0.5333 MB / 0.5746 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.5409, allocations: 2.193 MB / 0.5768 GB, free: 7.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/0.5458, allocations: 5.119 MB / 0.5818 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.5506, allocations: 3.346 MB / 0.585 GB, free: 13.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/0.5506, allocations: 31.94 kB / 0.5851 GB, free: 13.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01169/0.5623, allocations: 7.909 MB / 0.5928 GB, free: 5.477 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.5624, allocations: 49 kB / 0.5928 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.916e-05/0.5626, allocations: 104 kB / 0.5929 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.5645, allocations: 0.8123 MB / 0.5937 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.5682, allocations: 1.201 MB / 0.5949 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.5732, allocations: 4.202 MB / 0.599 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.5765, allocations: 299.8 kB / 0.5993 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/0.5771, allocations: 306.7 kB / 0.5996 GB, free: 14.39 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003912/0.581, allocations: 2.072 MB / 0.6016 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/0.5815, allocations: 264.5 kB / 0.6019 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008115/0.5896, allocations: 4.709 MB / 0.6065 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/0.5897, allocations: 44 kB / 0.6065 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5898, allocations: 4 kB / 0.6065 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.5898, allocations: 11.95 kB / 0.6065 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.6065, allocations: 10.59 MB / 0.6169 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.6066, allocations: 8 kB / 0.6169 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.6081, allocations: 363.4 kB / 0.6172 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.6099, allocations: 0.6526 MB / 0.6179 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.6101, allocations: 44 kB / 0.6179 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.6154, allocations: 3.651 MB / 0.6215 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6154, allocations: 7.953 kB / 0.6215 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.6262, allocations: 7.119 MB / 0.6284 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2116/0.8379, allocations: 0.6414 MB / 0.6291 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/0.8389, allocations: 40.25 kB / 0.6291 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.8402, allocations: 145 kB / 0.6292 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.8405, allocations: 135.4 kB / 0.6294 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.8407, allocations: 65.16 kB / 0.6294 GB, free: 145.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002345/0.843, allocations: 1.616 MB / 0.631 GB, free: 145.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8431, allocations: 1.75 kB / 0.631 GB, free: 145.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003852/0.8469, allocations: 0.9477 MB / 0.6319 GB, free: 145.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.8473, allocations: 173.9 kB / 0.6321 GB, free: 145.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007243/0.8545, allocations: 5.356 MB / 0.6373 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.8546, allocations: 3.25 kB / 0.6373 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.8568, allocations: 2.014 MB / 0.6393 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8585, allocations: 341.7 kB / 0.6396 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.8741, allocations: 11.34 MB / 0.6507 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/0.8775, allocations: 3.23 MB / 0.6538 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004574/0.8821, allocations: 1.971 MB / 0.6558 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.8828, allocations: 204.6 kB / 0.656 GB, free: 137.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8828, allocations: 1.375 kB / 0.656 GB, free: 137.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05197/0.9348, allocations: 28.78 MB / 0.6841 GB, free: 129.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) Environment - environmentSimulation: