Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 99.86 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.001357/0.001357, 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.479/1.479, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.3182/0.3182, allocations: 39.99 MB / 310.4 MB, free: 10.03 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.0006123/0.0006124, allocations: 15.98 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 57.95 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.246/0.3701, allocations: 40.74 MB / 477.5 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.3891, allocations: 9.391 MB / 486.9 MB, free: 23.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008642/0.3978, allocations: 190.8 kB / 487.1 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006214/0.404, allocations: 1.979 MB / 489.1 MB, free: 22.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01543/0.4195, allocations: 5.522 MB / 494.6 MB, free: 20.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.4224, allocations: 0.6263 MB / 495.2 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.4254, allocations: 1.367 MB / 496.6 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007012/0.4324, allocations: 5.178 MB / 0.49 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.4349, allocations: 0.7857 MB / 0.4908 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.4369, allocations: 0.9965 MB / 0.4917 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004392/0.4374, allocations: 132 kB / 0.4919 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.439, allocations: 0.6575 MB / 0.4925 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.4403, allocations: 1.272 MB / 0.4937 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007447/0.4411, allocations: 0.7051 MB / 0.4944 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006585/0.4477, allocations: 5.024 MB / 0.4993 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4477, allocations: 0 / 0.4993 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4477, allocations: 0 / 0.4993 GB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002394/0.448, allocations: 0 / 0.4993 GB, free: 14.52 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01113/0.4591, allocations: 3.76 MB / 0.503 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4592, allocations: 9.281 kB / 0.503 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.4635, allocations: 0.5928 MB / 0.5036 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/0.4692, allocations: 1.834 MB / 0.5054 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.4694, allocations: 239.1 kB / 0.5056 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007712/0.4702, allocations: 318.8 kB / 0.5059 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/0.4912, allocations: 9.387 MB / 0.5151 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.924e-05/0.4913, allocations: 16.81 kB / 0.5151 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/0.4917, allocations: 145.1 kB / 0.5152 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.4946, allocations: 1.586 MB / 0.5168 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.5122, allocations: 7.644 MB / 0.5242 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/0.5536, allocations: 28.06 MB / 0.5516 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00745/0.5611, allocations: 2.357 MB / 0.554 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.5726, allocations: 7.689 MB / 0.5615 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.5727, allocations: 43.22 kB / 0.5615 GB, free: 6.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.367e-06/0.5727, allocations: 0 / 0.5615 GB, free: 6.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02214/0.5949, allocations: 7.179 MB / 0.5685 GB, free: 14.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.595, allocations: 141.5 kB / 0.5686 GB, free: 14.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/0.6013, allocations: 2.64 MB / 0.5712 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.6015, allocations: 41.7 kB / 0.5713 GB, free: 12.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002076/0.6036, allocations: 2.426 MB / 0.5736 GB, free: 9.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000512/0.6042, allocations: 399.1 kB / 0.574 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.6045, allocations: 76 kB / 0.5741 GB, free: 9.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003246/0.6048, allocations: 478.4 kB / 0.5745 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.6068, allocations: 1.07 MB / 0.5756 GB, free: 7.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00444/0.6113, allocations: 3.467 MB / 0.579 GB, free: 2.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.6149, allocations: 1.845 MB / 0.5808 GB, free: 1.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-05/0.615, allocations: 28 kB / 0.5808 GB, free: 1.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007925/0.6229, allocations: 4.43 MB / 0.5851 GB, free: 12.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.6231, allocations: 40 kB / 0.5852 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/0.6232, allocations: 91.78 kB / 0.5853 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.6234, allocations: 124 kB / 0.5854 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.6265, allocations: 0.9475 MB / 0.5863 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001637/0.6266, allocations: 167.4 kB / 0.5865 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.6294, allocations: 200 kB / 0.5866 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/0.6298, allocations: 232 kB / 0.5869 GB, free: 10.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (499): * Single equations (assignments): 499 * 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.003421/0.6333, allocations: 1.593 MB / 0.5884 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/0.6338, allocations: 233.1 kB / 0.5886 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.6364, allocations: 1.385 MB / 0.59 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.6364, allocations: 12 kB / 0.59 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6364, allocations: 0 / 0.59 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6365, allocations: 7.984 kB / 0.59 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.65, allocations: 6.024 MB / 0.5959 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/0.6502, allocations: 28.17 kB / 0.5959 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/0.6511, allocations: 219.6 kB / 0.5961 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.09e-05/0.6512, allocations: 24 kB / 0.5962 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/0.6513, allocations: 43.94 kB / 0.5962 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/0.6513, allocations: 31.91 kB / 0.5962 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/0.6513, allocations: 27.88 kB / 0.5963 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.6546, allocations: 3.244 MB / 0.5994 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.6556, allocations: 337.7 kB / 0.5997 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000636/0.6562, allocations: 47.94 kB / 0.5998 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.6576, allocations: 39.98 kB / 0.5998 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.6577, allocations: 128.1 kB / 0.6 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.6578, allocations: 44 kB / 0.6 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003437/0.6613, allocations: 1.685 MB / 0.6016 GB, free: 10.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6613, allocations: 0 / 0.6016 GB, free: 10.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004297/0.6656, allocations: 0.668 MB / 0.6023 GB, free: 10.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.0005212/0.6661, allocations: 190.8 kB / 0.6025 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004579/0.6707, allocations: 2.504 MB / 0.6049 GB, free: 7.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.6707, allocations: 8.062 kB / 0.6049 GB, free: 7.543 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.6716, allocations: 0.5679 MB / 0.6055 GB, free: 6.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.6733, allocations: 291.3 kB / 0.6058 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.6889, allocations: 8.134 MB / 0.6137 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004571/0.6935, allocations: 2.813 MB / 0.6165 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003288/0.6968, allocations: 1.037 MB / 0.6175 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/0.6975, allocations: 171.4 kB / 0.6176 GB, free: 10.28 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6975, allocations: 0 / 0.6176 GB, free: 10.28 MB / 494.1 MB Notification: Performance of Templates: time 0.2417/0.9392, allocations: 20.4 MB / 0.6376 GB, free: 142.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: