Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001208, allocations: 86.25 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.001517/0.001517, 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.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4238/0.4238, allocations: 40.01 MB / 310.4 MB, free: 9.938 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.0007931/0.0007933, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.19, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3506/0.5407, allocations: 43.04 MB / 479.8 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02363/0.5644, allocations: 8.849 MB / 488.7 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0119/0.5763, allocations: 195 kB / 488.9 MB, free: 22.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007603/0.584, allocations: 2.062 MB / 490.9 MB, free: 21.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01838/0.6024, allocations: 5.768 MB / 496.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.6064, allocations: 0.5204 MB / 497.2 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004926/0.6113, allocations: 3.013 MB / 0.4885 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.6227, allocations: 5.197 MB / 0.4936 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.6257, allocations: 0.9421 MB / 0.4945 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/0.6292, allocations: 1.424 MB / 0.4959 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.6303, allocations: 132.3 kB / 0.496 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.6329, allocations: 0.5708 MB / 0.4966 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002941/0.6358, allocations: 1.36 MB / 0.4979 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.6378, allocations: 0.7014 MB / 0.4986 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007559/0.6454, allocations: 4.913 MB / 0.5034 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.6454, allocations: 0 / 0.5034 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6454, allocations: 5.219 kB / 0.5034 GB, free: 11.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003028/0.6457, allocations: 0 / 0.5034 GB, free: 11.79 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01146/0.6572, allocations: 3.454 MB / 0.5068 GB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.6573, allocations: 8.844 kB / 0.5068 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.6607, allocations: 0.4965 MB / 0.5073 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.6657, allocations: 1.713 MB / 0.5089 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.6661, allocations: 240.8 kB / 0.5092 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001577/0.6677, allocations: 311.4 kB / 0.5095 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.6872, allocations: 8.685 MB / 0.518 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.6874, allocations: 19.31 kB / 0.518 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.6879, allocations: 147.2 kB / 0.5181 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/0.6902, allocations: 1.557 MB / 0.5196 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.7061, allocations: 6.684 MB / 0.5262 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.7481, allocations: 26.73 MB / 0.5523 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.7548, allocations: 2.068 MB / 0.5543 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.7565, allocations: 1.018 MB / 0.5553 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00938/0.7659, allocations: 6.685 MB / 0.5618 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.766, allocations: 51.2 kB / 0.5619 GB, free: 6.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.795e-06/0.7661, allocations: 3.938 kB / 0.5619 GB, free: 6.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01952/0.7856, allocations: 6.737 MB / 0.5684 GB, free: 15.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.7857, allocations: 137.5 kB / 0.5686 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.7896, allocations: 2.537 MB / 0.571 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.7898, allocations: 45.64 kB / 0.5711 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.7915, allocations: 2.368 MB / 0.5734 GB, free: 10.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.792, allocations: 407 kB / 0.5738 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.7921, allocations: 76 kB / 0.5739 GB, free: 9.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000272/0.7924, allocations: 470.3 kB / 0.5743 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.7943, allocations: 1.116 MB / 0.5754 GB, free: 8.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.7979, allocations: 3.382 MB / 0.5787 GB, free: 3.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.8007, allocations: 1.853 MB / 0.5805 GB, free: 1.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.8007, allocations: 24 kB / 0.5805 GB, free: 1.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007382/0.8081, allocations: 4.433 MB / 0.5849 GB, free: 13.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.8082, allocations: 40 kB / 0.5849 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.8083, allocations: 88.11 kB / 0.585 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.8085, allocations: 120 kB / 0.5851 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.8113, allocations: 0.9202 MB / 0.586 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/0.8114, allocations: 163.4 kB / 0.5862 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.814, allocations: 179.9 kB / 0.5863 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/0.8144, allocations: 235.9 kB / 0.5866 GB, free: 11.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (495): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003416/0.8178, allocations: 1.581 MB / 0.5881 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/0.8183, allocations: 229 kB / 0.5883 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8206, allocations: 1.267 MB / 0.5896 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.8206, allocations: 11.94 kB / 0.5896 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.8206, allocations: 4.281 kB / 0.5896 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.8206, allocations: 3.984 kB / 0.5896 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.8311, allocations: 6.085 MB / 0.5955 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.8311, allocations: 16 kB / 0.5955 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009111/0.8321, allocations: 248.4 kB / 0.5958 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/0.8321, allocations: 24 kB / 0.5958 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/0.8322, allocations: 51.98 kB / 0.5958 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.852e-05/0.8322, allocations: 35.86 kB / 0.5959 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-05/0.8322, allocations: 23.88 kB / 0.5959 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.8357, allocations: 2.077 MB / 0.5979 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.8371, allocations: 326 kB / 0.5982 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.8374, allocations: 51.98 kB / 0.5983 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.8384, allocations: 59.95 kB / 0.5983 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.8387, allocations: 123.8 kB / 0.5985 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.8388, allocations: 59.98 kB / 0.5985 GB, free: 14.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00333/0.8421, allocations: 1.648 MB / 0.6001 GB, free: 13.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8421, allocations: 0 / 0.6001 GB, free: 13.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004572/0.8467, allocations: 0.6758 MB / 0.6008 GB, free: 12.48 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (124): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003907/0.8471, allocations: 186.7 kB / 0.601 GB, free: 12.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004999/0.8521, allocations: 2.602 MB / 0.6035 GB, free: 9.691 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.8521, allocations: 8 kB / 0.6035 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.8533, allocations: 0.6711 MB / 0.6042 GB, free: 9.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.8556, allocations: 321.9 kB / 0.6045 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.8724, allocations: 8.37 MB / 0.6127 GB, free: 88 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004286/0.8768, allocations: 2.742 MB / 0.6153 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003352/0.8801, allocations: 1.025 MB / 0.6163 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.8807, allocations: 179.4 kB / 0.6165 GB, free: 12.11 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/0.8807, allocations: 0 / 0.6165 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Templates: time 0.278/1.159, allocations: 20.15 MB / 0.6362 GB, free: 143.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) Environment - environmentSimulation: