Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00151/0.001509, 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.001577/0.001577, allocations: 177.3 kB / 15.95 MB, free: 216 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.836/1.836, 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.1+maint.om/package.mo): time 0.3702/0.3702, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0005571/0.0005571, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2644/0.4027, allocations: 40.73 MB / 474.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03/0.4327, allocations: 9.388 MB / 484 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/0.4455, allocations: 194.8 kB / 484.2 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008332/0.4539, allocations: 1.986 MB / 486.2 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02209/0.476, allocations: 5.518 MB / 491.7 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.4807, allocations: 0.6204 MB / 492.4 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.4844, allocations: 1.37 MB / 493.7 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007595/0.492, allocations: 5.18 MB / 498.9 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.4938, allocations: 0.7931 MB / 499.7 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.4958, allocations: 0.9995 MB / 0.489 GB, free: 18.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000775/0.4966, allocations: 131.3 kB / 0.4891 GB, free: 18.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.4987, allocations: 0.6422 MB / 0.4897 GB, free: 18.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.5007, allocations: 1.272 MB / 0.491 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.5023, allocations: 0.7043 MB / 0.4917 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008268/0.5105, allocations: 5.033 MB / 0.4966 GB, free: 16.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5106, allocations: 0 / 0.4966 GB, free: 16.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5106, allocations: 4 kB / 0.4966 GB, free: 16.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002889/0.5109, allocations: 0 / 0.4966 GB, free: 16.67 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.01126/0.5222, allocations: 3.76 MB / 0.5002 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5222, allocations: 9 kB / 0.5003 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.526, allocations: 0.5838 MB / 0.5008 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00527/0.5313, allocations: 1.842 MB / 0.5026 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.5315, allocations: 239.2 kB / 0.5028 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009127/0.5324, allocations: 315.4 kB / 0.5031 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.5521, allocations: 9.385 MB / 0.5123 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/0.5522, allocations: 21.05 kB / 0.5123 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.5526, allocations: 137.4 kB / 0.5125 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002352/0.5549, allocations: 1.588 MB / 0.514 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.5703, allocations: 7.643 MB / 0.5215 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0451/0.6155, allocations: 28.07 MB / 0.5489 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007534/0.6231, allocations: 2.35 MB / 0.5512 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/0.6336, allocations: 7.681 MB / 0.5587 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.6337, allocations: 51.16 kB / 0.5587 GB, free: 10.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.995e-06/0.6337, allocations: 0 / 0.5587 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.01946/0.6531, allocations: 7.172 MB / 0.5657 GB, free: 3.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.6533, allocations: 149.5 kB / 0.5659 GB, free: 3.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.6566, allocations: 2.64 MB / 0.5685 GB, free: 380 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.6567, allocations: 45.7 kB / 0.5685 GB, free: 328 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.6582, allocations: 2.422 MB / 0.5709 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.6585, allocations: 395.2 kB / 0.5712 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6586, allocations: 83.94 kB / 0.5713 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.6589, allocations: 462.3 kB / 0.5718 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.6605, allocations: 1.073 MB / 0.5728 GB, free: 11.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.6635, allocations: 3.471 MB / 0.5762 GB, free: 7.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.6661, allocations: 1.841 MB / 0.578 GB, free: 5.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/0.6661, allocations: 24 kB / 0.578 GB, free: 5.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006482/0.6726, allocations: 4.434 MB / 0.5824 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.6727, allocations: 44.25 kB / 0.5824 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.36e-05/0.6728, allocations: 84 kB / 0.5825 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.6729, allocations: 132 kB / 0.5826 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/0.6757, allocations: 0.9475 MB / 0.5835 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001224/0.6758, allocations: 175.2 kB / 0.5837 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.6781, allocations: 195.8 kB / 0.5839 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.6784, allocations: 236 kB / 0.5841 GB, free: 15.09 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.002912/0.6813, allocations: 1.594 MB / 0.5857 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.6818, allocations: 233 kB / 0.5859 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.684, allocations: 1.381 MB / 0.5872 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.684, allocations: 15.95 kB / 0.5872 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.684, allocations: 0 / 0.5872 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6841, allocations: 7.984 kB / 0.5873 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009643/0.6937, allocations: 6.024 MB / 0.5931 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.6938, allocations: 16 kB / 0.5932 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.6945, allocations: 224.5 kB / 0.5934 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-05/0.6946, allocations: 24 kB / 0.5934 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.6946, allocations: 44 kB / 0.5934 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.391e-05/0.6947, allocations: 31.86 kB / 0.5935 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-05/0.6947, allocations: 23.94 kB / 0.5935 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.6975, allocations: 3.256 MB / 0.5967 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/0.6982, allocations: 325.9 kB / 0.597 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.6984, allocations: 43.98 kB / 0.597 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/0.6992, allocations: 51.92 kB / 0.5971 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.6994, allocations: 120.1 kB / 0.5972 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/0.6994, allocations: 52 kB / 0.5972 GB, free: 0.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002626/0.7021, allocations: 1.681 MB / 0.5989 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7021, allocations: 0 / 0.5989 GB, free: 15.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004029/0.7061, allocations: 0.668 MB / 0.5995 GB, free: 14.48 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.0005051/0.7066, allocations: 202.7 kB / 0.5997 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004677/0.7113, allocations: 2.496 MB / 0.6022 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.7114, allocations: 4 kB / 0.6022 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000847/0.7122, allocations: 0.5733 MB / 0.6027 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.7139, allocations: 294.5 kB / 0.603 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.7258, allocations: 8.128 MB / 0.6109 GB, free: 2.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/0.7289, allocations: 2.816 MB / 0.6137 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002857/0.7317, allocations: 1.037 MB / 0.6147 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.7322, allocations: 171.4 kB / 0.6149 GB, free: 14.52 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7322, allocations: 0 / 0.6149 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Templates: time 0.2443/0.9765, allocations: 20.41 MB / 0.6348 GB, free: 144.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: