Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002039/0.00204, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.766/1.766, allocations: 205.1 MB / 222 MB, free: 4.766 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.3682/0.3682, allocations: 37.98 MB / 307.3 MB, free: 10.1 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.001982/0.001981, allocations: 63.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1399, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3099/0.4498, allocations: 52.65 MB / 483.7 MB, free: 24.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02538/0.4753, allocations: 10.43 MB / 494.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01362/0.4889, allocations: 212.2 kB / 494.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007423/0.4965, allocations: 3.96 MB / 498.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.4996, allocations: 0.9332 MB / 499.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.5027, allocations: 0.8031 MB / 0.4883 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008289/0.511, allocations: 4.199 MB / 0.4924 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007819/0.5189, allocations: 4.955 MB / 0.4972 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.5219, allocations: 1.365 MB / 0.4986 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004546/0.5264, allocations: 2.128 MB / 0.5006 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.5284, allocations: 318.2 kB / 0.5009 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.5323, allocations: 1.038 MB / 0.502 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004416/0.5368, allocations: 1.795 MB / 0.5037 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006828/0.5436, allocations: 2.098 MB / 0.5058 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.5556, allocations: 7.43 MB / 0.513 GB, free: 4.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5556, allocations: 0 / 0.513 GB, free: 4.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5556, allocations: 0 / 0.513 GB, free: 4.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003587/0.556, allocations: 0 / 0.513 GB, free: 4.32 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.01771/0.5737, allocations: 4.718 MB / 0.5176 GB, free: 1.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.5738, allocations: 10.25 kB / 0.5176 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003964/0.5778, allocations: 0.5589 MB / 0.5182 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006985/0.5848, allocations: 2.182 MB / 0.5203 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/0.5852, allocations: 271.1 kB / 0.5206 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.5873, allocations: 349.6 kB / 0.5209 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.6166, allocations: 10.49 MB / 0.5311 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.6168, allocations: 15.88 kB / 0.5312 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/0.619, allocations: 155.9 kB / 0.5313 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003464/0.6224, allocations: 1.647 MB / 0.5329 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.6461, allocations: 9.168 MB / 0.5419 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05512/0.7013, allocations: 31.09 MB / 0.5722 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.7116, allocations: 3.098 MB / 0.5752 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.7147, allocations: 1.77 MB / 0.577 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01578/0.7305, allocations: 9.722 MB / 0.5865 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.7306, allocations: 43.56 kB / 0.5865 GB, free: 12.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.7306, allocations: 4 kB / 0.5865 GB, free: 12.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.02899/0.7596, allocations: 9.344 MB / 0.5956 GB, free: 2.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.7597, allocations: 115.8 kB / 0.5957 GB, free: 2.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005992/0.7657, allocations: 2.874 MB / 0.5986 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.766, allocations: 45.7 kB / 0.5986 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002083/0.7681, allocations: 2.462 MB / 0.601 GB, free: 13.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00073/0.7689, allocations: 454.3 kB / 0.6014 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/0.7709, allocations: 0.8645 MB / 0.6023 GB, free: 12.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7711, allocations: 301.1 kB / 0.6026 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002789/0.7739, allocations: 1.562 MB / 0.6041 GB, free: 10.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/0.7782, allocations: 3.878 MB / 0.6079 GB, free: 5.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008952/0.7872, allocations: 5.709 MB / 0.6135 GB, free: 14.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.7874, allocations: 24 kB / 0.6135 GB, free: 14.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01081/0.7982, allocations: 5.417 MB / 0.6188 GB, free: 8.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.743e-05/0.7983, allocations: 40 kB / 0.6188 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.7984, allocations: 80 kB / 0.6189 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.7985, allocations: 108.8 kB / 0.619 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.8021, allocations: 1.002 MB / 0.62 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/0.8023, allocations: 159.4 kB / 0.6201 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/0.8056, allocations: 231.5 kB / 0.6203 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005269/0.8061, allocations: 236 kB / 0.6206 GB, free: 7.023 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.00401/0.8101, allocations: 1.766 MB / 0.6223 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006566/0.8108, allocations: 236.9 kB / 0.6225 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.815, allocations: 2.213 MB / 0.6247 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.815, allocations: 12 kB / 0.6247 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.815, allocations: 3.938 kB / 0.6247 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8151, allocations: 3.984 kB / 0.6247 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2681/1.083, allocations: 7.634 MB / 0.6321 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/1.083, allocations: 15.25 kB / 0.6322 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/1.085, allocations: 268.5 kB / 0.6324 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.755e-05/1.085, allocations: 19.84 kB / 0.6324 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.086, allocations: 42.2 kB / 0.6325 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-05/1.086, allocations: 31.66 kB / 0.6325 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/1.086, allocations: 20.84 kB / 0.6325 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00473/1.09, allocations: 2.37 MB / 0.6348 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.092, allocations: 332.1 kB / 0.6352 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/1.093, allocations: 47.88 kB / 0.6352 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.095, allocations: 70.17 kB / 0.6353 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/1.095, allocations: 131.4 kB / 0.6354 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.095, allocations: 49.75 kB / 0.6354 GB, free: 147.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004985/1.1, allocations: 1.828 MB / 0.6372 GB, free: 146.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.11e-07/1.1, allocations: 0 / 0.6372 GB, free: 146.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00778/1.108, allocations: 0.7632 MB / 0.638 GB, free: 146.6 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.0009948/1.109, allocations: 213.6 kB / 0.6382 GB, free: 146.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008297/1.117, allocations: 3.353 MB / 0.6415 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.229e-05/1.118, allocations: 2.969 kB / 0.6415 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.12, allocations: 0.8755 MB / 0.6423 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.004819/1.125, allocations: 326.6 kB / 0.6426 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.146, allocations: 9.624 MB / 0.652 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/1.152, allocations: 2.95 MB / 0.6549 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003491/1.155, allocations: 1.018 MB / 0.6559 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/1.156, allocations: 190 kB / 0.6561 GB, free: 137.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/1.156, allocations: 1.938 kB / 0.6561 GB, free: 137.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05712/1.213, allocations: 25.63 MB / 0.6811 GB, free: 132.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)