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.001045/0.001045, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001255/0.001255, allocations: 177.3 kB / 15.94 MB, free: 228 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.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.3032/0.3032, allocations: 40 MB / 310.4 MB, free: 9.727 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.0005574/0.0005575, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 57.95 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2468/0.355, allocations: 40.7 MB / 477.5 MB, free: 29.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.3798, allocations: 9.242 MB / 486.7 MB, free: 23.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/0.3902, allocations: 192 kB / 486.9 MB, free: 23.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006714/0.3969, allocations: 1.989 MB / 488.9 MB, free: 22.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.4141, allocations: 5.522 MB / 494.4 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.4176, allocations: 496.3 kB / 494.9 MB, free: 19.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.4206, allocations: 1.327 MB / 496.2 MB, free: 19.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006129/0.4267, allocations: 5.167 MB / 0.4896 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.4282, allocations: 0.7578 MB / 0.4904 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.4296, allocations: 0.9623 MB / 0.4913 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.43, allocations: 128.1 kB / 0.4914 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.4315, allocations: 0.5369 MB / 0.492 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.4329, allocations: 1.269 MB / 0.4932 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008645/0.4338, allocations: 0.7012 MB / 0.4939 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008734/0.4426, allocations: 4.918 MB / 0.4987 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4426, allocations: 1.281 kB / 0.4987 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4426, allocations: 0 / 0.4987 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000319/0.4429, allocations: 0 / 0.4987 GB, free: 14.34 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.01229/0.4552, allocations: 3.574 MB / 0.5022 GB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4553, allocations: 9.375 kB / 0.5022 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.4595, allocations: 0.5848 MB / 0.5028 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005951/0.4655, allocations: 1.783 MB / 0.5045 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.4657, allocations: 237 kB / 0.5047 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006732/0.4664, allocations: 313.2 kB / 0.505 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.4863, allocations: 8.807 MB / 0.5136 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.009e-05/0.4865, allocations: 14.75 kB / 0.5136 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.4869, allocations: 139.6 kB / 0.5138 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003168/0.4901, allocations: 1.563 MB / 0.5153 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.5071, allocations: 6.835 MB / 0.522 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04536/0.5526, allocations: 26.42 MB / 0.5478 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006797/0.5594, allocations: 1.967 MB / 0.5497 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.5704, allocations: 6.381 MB / 0.5559 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.5705, allocations: 51.14 kB / 0.556 GB, free: 11.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 5.44e-06/0.5705, allocations: 4 kB / 0.556 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0201/0.5906, allocations: 6.233 MB / 0.5621 GB, free: 5.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.5908, allocations: 141.5 kB / 0.5622 GB, free: 5.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/0.5955, allocations: 2.494 MB / 0.5646 GB, free: 2.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.5958, allocations: 41.7 kB / 0.5647 GB, free: 2.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.5975, allocations: 2.407 MB / 0.567 GB, free: 272 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.5979, allocations: 383.2 kB / 0.5674 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.5981, allocations: 80.09 kB / 0.5675 GB, free: 15.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003339/0.5985, allocations: 466 kB / 0.5679 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.6001, allocations: 0.9404 MB / 0.5688 GB, free: 14.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/0.6033, allocations: 3.238 MB / 0.572 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.6057, allocations: 1.693 MB / 0.5736 GB, free: 8.328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.811e-05/0.6058, allocations: 24 kB / 0.5737 GB, free: 8.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.006853/0.6126, allocations: 4.083 MB / 0.5776 GB, free: 4.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.6127, allocations: 40 kB / 0.5777 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/0.6129, allocations: 80 kB / 0.5778 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.613, allocations: 124 kB / 0.5779 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.6159, allocations: 0.8929 MB / 0.5788 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001708/0.6161, allocations: 163.4 kB / 0.5789 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/0.6188, allocations: 168 kB / 0.5791 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/0.6193, allocations: 224 kB / 0.5793 GB, free: 2.535 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * 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 (482): * Single equations (assignments): 482 * 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.003348/0.6226, allocations: 1.581 MB / 0.5808 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/0.6232, allocations: 229 kB / 0.581 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.6257, allocations: 1.13 MB / 0.5821 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.6257, allocations: 8 kB / 0.5822 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.6257, allocations: 8 kB / 0.5822 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6257, allocations: 3.984 kB / 0.5822 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.6383, allocations: 5.953 MB / 0.588 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/0.6384, allocations: 20 kB / 0.588 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.6392, allocations: 215.6 kB / 0.5882 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-05/0.6392, allocations: 24 kB / 0.5882 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/0.6393, allocations: 47.98 kB / 0.5883 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.811e-05/0.6394, allocations: 27.92 kB / 0.5883 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-05/0.6394, allocations: 27.88 kB / 0.5883 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.643, allocations: 3.297 MB / 0.5915 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.6441, allocations: 314.1 kB / 0.5918 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005842/0.6447, allocations: 43.98 kB / 0.5919 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.6458, allocations: 43.98 kB / 0.5919 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.646, allocations: 135.4 kB / 0.5921 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.646, allocations: 55.94 kB / 0.5921 GB, free: 4.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002791/0.6488, allocations: 1.613 MB / 0.5937 GB, free: 2.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6488, allocations: 0 / 0.5937 GB, free: 2.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003793/0.6526, allocations: 0.6484 MB / 0.5943 GB, free: 2.191 MB / 462.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 (119): * Single equations (assignments): 119 * 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.0004016/0.6531, allocations: 198.7 kB / 0.5945 GB, free: 1.984 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004105/0.6572, allocations: 2.256 MB / 0.5967 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.6572, allocations: 4 kB / 0.5967 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.658, allocations: 0.5272 MB / 0.5972 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.6599, allocations: 298.3 kB / 0.5975 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.6742, allocations: 8.119 MB / 0.6054 GB, free: 6.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.6772, allocations: 2.812 MB / 0.6082 GB, free: 3.723 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002696/0.6799, allocations: 0.9937 MB / 0.6092 GB, free: 2.723 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.6803, allocations: 171.4 kB / 0.6093 GB, free: 2.555 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6803, allocations: 0 / 0.6093 GB, free: 2.555 MB / 478.1 MB Notification: Performance of Templates: time 0.2508/0.9311, allocations: 18.6 MB / 0.6275 GB, free: 147 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: