Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009664/0.009664, allocations: 170 kB / 16.26 MB, free: 6.613 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.845/1.845, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4124/0.4124, allocations: 40.01 MB / 310.7 MB, free: 9.539 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.0005793/0.0005794, allocations: 16.47 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 57.96 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3105/0.4352, allocations: 51.26 MB / 488.7 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02689/0.4621, allocations: 10.38 MB / 499.1 MB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0116/0.4738, allocations: 211.2 kB / 499.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.4754, allocations: 360.6 kB / 499.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.4785, allocations: 0.9494 MB / 0.4888 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.4806, allocations: 0.8021 MB / 0.4896 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004606/0.4852, allocations: 4.206 MB / 0.4937 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.4963, allocations: 7.329 MB / 0.5009 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.4991, allocations: 0.9749 MB / 0.5018 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/0.5031, allocations: 1.641 MB / 0.5034 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.5044, allocations: 151.7 kB / 0.5036 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.5083, allocations: 0.8733 MB / 0.5044 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004185/0.5125, allocations: 1.554 MB / 0.5059 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006109/0.5186, allocations: 1.828 MB / 0.5077 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.5315, allocations: 7.152 MB / 0.5147 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.5316, allocations: 1.344 kB / 0.5147 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5316, allocations: 3.938 kB / 0.5147 GB, free: 3.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003895/0.532, allocations: 0 / 0.5147 GB, free: 3.461 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01571/0.5477, allocations: 3.884 MB / 0.5185 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5478, allocations: 8.938 kB / 0.5185 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/0.5516, allocations: 0.5582 MB / 0.5191 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00595/0.5576, allocations: 2.182 MB / 0.5212 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.5579, allocations: 275.1 kB / 0.5215 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.5596, allocations: 352.7 kB / 0.5218 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03003/0.5896, allocations: 10.53 MB / 0.5321 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.5898, allocations: 11.88 kB / 0.5321 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001548/0.5914, allocations: 159.9 kB / 0.5322 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/0.5946, allocations: 1.647 MB / 0.5339 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/0.6183, allocations: 9.193 MB / 0.5428 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05663/0.675, allocations: 31.1 MB / 0.5732 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.6856, allocations: 3.089 MB / 0.5762 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/0.6885, allocations: 1.767 MB / 0.5779 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.7035, allocations: 9.718 MB / 0.5874 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.7036, allocations: 51.48 kB / 0.5875 GB, free: 12.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 4.599e-06/0.7036, allocations: 0 / 0.5875 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.03068/0.7343, allocations: 9.324 MB / 0.5966 GB, free: 2.965 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.7345, allocations: 127.9 kB / 0.5967 GB, free: 2.816 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006545/0.741, allocations: 2.866 MB / 0.5995 GB, free: 15.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004181/0.7415, allocations: 45.7 kB / 0.5996 GB, free: 15.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002668/0.7442, allocations: 2.474 MB / 0.602 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008391/0.745, allocations: 446.4 kB / 0.6024 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.7462, allocations: 386.6 kB / 0.6028 GB, free: 12.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.7464, allocations: 309 kB / 0.6031 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/0.7498, allocations: 1.566 MB / 0.6046 GB, free: 10.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/0.7569, allocations: 3.874 MB / 0.6084 GB, free: 5.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008962/0.7659, allocations: 5.705 MB / 0.6139 GB, free: 14.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.797e-05/0.7661, allocations: 24 kB / 0.614 GB, free: 14.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01036/0.7764, allocations: 5.413 MB / 0.6193 GB, free: 9.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.7766, allocations: 40 kB / 0.6193 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.7767, allocations: 80 kB / 0.6194 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.7768, allocations: 112.8 kB / 0.6195 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.7803, allocations: 1.002 MB / 0.6205 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001334/0.7804, allocations: 155.4 kB / 0.6206 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.7839, allocations: 231.5 kB / 0.6208 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/0.7844, allocations: 248 kB / 0.6211 GB, free: 7.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 370 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (531): * Single equations (assignments): 529 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004053/0.7884, allocations: 1.758 MB / 0.6228 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.789, allocations: 236.9 kB / 0.623 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.7928, allocations: 2.217 MB / 0.6252 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.7928, allocations: 12 kB / 0.6252 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.7929, allocations: 0 / 0.6252 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.7929, allocations: 7.984 kB / 0.6252 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2489/1.042, allocations: 7.644 MB / 0.6326 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.042, allocations: 12.41 kB / 0.6327 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/1.043, allocations: 264.2 kB / 0.6329 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/1.043, allocations: 23.31 kB / 0.6329 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/1.043, allocations: 44.03 kB / 0.633 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/1.043, allocations: 27.09 kB / 0.633 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/1.043, allocations: 23.91 kB / 0.633 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/1.046, allocations: 2.376 MB / 0.6353 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/1.047, allocations: 343.7 kB / 0.6357 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/1.047, allocations: 49.38 kB / 0.6357 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/1.048, allocations: 61.16 kB / 0.6358 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.048, allocations: 135.8 kB / 0.6359 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/1.048, allocations: 50.28 kB / 0.636 GB, free: 144.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002518/1.051, allocations: 1.828 MB / 0.6377 GB, free: 143.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.102e-06/1.051, allocations: 0 / 0.6377 GB, free: 143.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003586/1.054, allocations: 0.7684 MB / 0.6385 GB, free: 143.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * 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 (137): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005358/1.055, allocations: 216.4 kB / 0.6387 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005568/1.06, allocations: 3.351 MB / 0.642 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.06, allocations: 0 / 0.642 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.061, allocations: 0.8784 MB / 0.6428 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006512/1.068, allocations: 325.9 kB / 0.6431 GB, free: 141.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.082, allocations: 9.657 MB / 0.6526 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.085, allocations: 2.946 MB / 0.6554 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002975/1.088, allocations: 1.026 MB / 0.6564 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/1.089, allocations: 186.8 kB / 0.6566 GB, free: 134.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.114e-06/1.089, allocations: 0 / 0.6566 GB, free: 134.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05696/1.146, allocations: 25.28 MB / 0.6813 GB, free: 129.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) Environment - environmentSimulation: