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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001098/0.001098, allocations: 182.2 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.601/1.601, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001796/0.001796, allocations: 116 kB / 252.6 MB, free: 4.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3/0.3, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.214e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5696, allocations: 100.9 MB / 0.543 GB, free: 6.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5699, allocations: 77.39 kB / 0.5431 GB, free: 6.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1878/0.7577, allocations: 75.74 MB / 0.617 GB, free: 2.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.721e-06/0.7578, allocations: 0 / 0.617 GB, free: 2.809 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002094/0.7581, allocations: 68 kB / 0.6171 GB, free: 2.742 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01362/0.7717, allocations: 3.8 MB / 0.6208 GB, free: 14.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7717, allocations: 8.031 kB / 0.6208 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/0.7761, allocations: 0.6738 MB / 0.6215 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006364/0.7825, allocations: 2.201 MB / 0.6236 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.7828, allocations: 291.7 kB / 0.6239 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.7844, allocations: 383.9 kB / 0.6243 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.806, allocations: 8.839 MB / 0.6329 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.8062, allocations: 19.81 kB / 0.6329 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009673/0.8072, allocations: 167.9 kB / 0.6331 GB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.8089, allocations: 0.8427 MB / 0.6339 GB, free: 1.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01836/0.8272, allocations: 7.156 MB / 0.6409 GB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3628/1.19, allocations: 29.01 MB / 0.6692 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/1.198, allocations: 2.267 MB / 0.6714 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/1.2, allocations: 1.049 MB / 0.6725 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/1.213, allocations: 7.59 MB / 0.6799 GB, free: 101.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.213, allocations: 47.62 kB / 0.6799 GB, free: 101.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 3.055e-06/1.213, allocations: 0 / 0.6799 GB, free: 101.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.02008/1.233, allocations: 6.486 MB / 0.6863 GB, free: 99.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.233, allocations: 143.1 kB / 0.6864 GB, free: 99.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/1.236, allocations: 2.316 MB / 0.6887 GB, free: 99.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.236, allocations: 42.89 kB / 0.6887 GB, free: 99.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.237, allocations: 2.41 MB / 0.691 GB, free: 98.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/1.238, allocations: 390.6 kB / 0.6914 GB, free: 98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.238, allocations: 77.77 kB / 0.6915 GB, free: 98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/1.238, allocations: 472.9 kB / 0.6919 GB, free: 97.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.239, allocations: 1.04 MB / 0.693 GB, free: 97.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/1.242, allocations: 3.417 MB / 0.6963 GB, free: 94.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/1.244, allocations: 1.838 MB / 0.6981 GB, free: 94.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.659e-05/1.244, allocations: 23.5 kB / 0.6981 GB, free: 94.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.006281/1.25, allocations: 4.355 MB / 0.7024 GB, free: 94.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/1.25, allocations: 40.62 kB / 0.7024 GB, free: 94.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-05/1.25, allocations: 87.53 kB / 0.7025 GB, free: 94.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/1.251, allocations: 130.9 kB / 0.7026 GB, free: 94.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/1.253, allocations: 0.9455 MB / 0.7035 GB, free: 94.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001/1.253, allocations: 165.2 kB / 0.7037 GB, free: 94.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/1.256, allocations: 196.2 kB / 0.7039 GB, free: 94.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/1.256, allocations: 233.5 kB / 0.7041 GB, free: 94.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (497): * Single equations (assignments): 497 * 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.0004917/1.257, allocations: 426.7 kB / 0.7045 GB, free: 94.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/1.257, allocations: 233.1 kB / 0.7047 GB, free: 93.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/1.259, allocations: 1.356 MB / 0.7061 GB, free: 93.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.259, allocations: 15.28 kB / 0.7061 GB, free: 93.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.259, allocations: 0 / 0.7061 GB, free: 93.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.259, allocations: 3.75 kB / 0.7061 GB, free: 93.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008678/1.268, allocations: 6.163 MB / 0.7121 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/1.268, allocations: 15.59 kB / 0.7121 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/1.269, allocations: 245.2 kB / 0.7123 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/1.269, allocations: 27.88 kB / 0.7124 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/1.269, allocations: 48.86 kB / 0.7124 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.08e-05/1.269, allocations: 38.86 kB / 0.7125 GB, free: 92.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/1.269, allocations: 23.72 kB / 0.7125 GB, free: 92.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/1.271, allocations: 3.546 MB / 0.7159 GB, free: 89.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/1.272, allocations: 333.5 kB / 0.7163 GB, free: 89.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/1.272, allocations: 50.53 kB / 0.7163 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/1.273, allocations: 52.05 kB / 0.7164 GB, free: 89.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.273, allocations: 134.8 kB / 0.7165 GB, free: 89.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/1.273, allocations: 50.75 kB / 0.7165 GB, free: 89.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002237/1.275, allocations: 1.64 MB / 0.7181 GB, free: 88.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.275, allocations: 0.7656 kB / 0.7181 GB, free: 88.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003585/1.279, allocations: 0.6839 MB / 0.7188 GB, free: 88.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.0003426/1.279, allocations: 205.6 kB / 0.719 GB, free: 88.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/1.283, allocations: 2.49 MB / 0.7214 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.283, allocations: 3.688 kB / 0.7214 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/1.283, allocations: 0.597 MB / 0.722 GB, free: 87.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.285, allocations: 303.9 kB / 0.7223 GB, free: 87.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/1.294, allocations: 5.523 MB / 0.7277 GB, free: 84.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/1.297, allocations: 2.809 MB / 0.7304 GB, free: 83.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003222/1.3, allocations: 1.049 MB / 0.7315 GB, free: 83.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/1.301, allocations: 169 kB / 0.7316 GB, free: 83.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.203e-06/1.301, allocations: 0 / 0.7316 GB, free: 83.22 MB / 474.7 MB Notification: Performance of Templates: time 0.03905/1.34, allocations: 20.36 MB / 0.7515 GB, free: 76.34 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile (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)