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.01084/0.01084, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001771/0.001771, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3888/0.3888, allocations: 39.95 MB / 309.8 MB, free: 9.352 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.001967/0.001967, allocations: 75.83 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01503/0.3495, allocations: 12.63 MB / 0.4935 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.3633, allocations: 3.717 MB / 0.4971 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004116/0.3675, allocations: 64.78 kB / 0.4972 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008611/0.3763, allocations: 3.313 MB / 0.5004 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.3808, allocations: 0.9364 MB / 0.5013 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.3846, allocations: 0.8206 MB / 0.5021 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005636/0.3903, allocations: 2.407 MB / 0.5045 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007194/0.3975, allocations: 4.139 MB / 0.5085 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.4009, allocations: 1.406 MB / 0.5099 GB, free: 228 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.4053, allocations: 1.805 MB / 0.5116 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.4069, allocations: 368.2 kB / 0.512 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.4105, allocations: 1.015 MB / 0.513 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003386/0.4139, allocations: 1.689 MB / 0.5146 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005137/0.4191, allocations: 1.973 MB / 0.5165 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4295, allocations: 6.405 MB / 0.5228 GB, free: 5.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4296, allocations: 0 / 0.5228 GB, free: 5.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4296, allocations: 0 / 0.5228 GB, free: 5.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002588/0.4299, allocations: 0 / 0.5228 GB, free: 5.523 MB / 398.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.01214/0.442, allocations: 4.282 MB / 0.527 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.4421, allocations: 15.89 kB / 0.527 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.4441, allocations: 0.4953 MB / 0.5275 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.4482, allocations: 1.829 MB / 0.5293 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.4484, allocations: 238.1 kB / 0.5295 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005619/0.449, allocations: 311.9 kB / 0.5298 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4676, allocations: 9.224 MB / 0.5388 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.4677, allocations: 15.88 kB / 0.5388 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.4681, allocations: 139.9 kB / 0.539 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.4707, allocations: 1.6 MB / 0.5405 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.488, allocations: 7.475 MB / 0.5478 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04818/0.5362, allocations: 28.16 MB / 0.5753 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008328/0.5446, allocations: 2.469 MB / 0.5777 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.5468, allocations: 1.279 MB / 0.579 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.5597, allocations: 7.981 MB / 0.5868 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.5598, allocations: 39.22 kB / 0.5868 GB, free: 2.125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.637e-06/0.5598, allocations: 0 / 0.5868 GB, free: 2.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=101): time 0.0226/0.5824, allocations: 7.683 MB / 0.5943 GB, free: 10.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.5827, allocations: 145.5 kB / 0.5944 GB, free: 10.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/0.5872, allocations: 2.702 MB / 0.5971 GB, free: 7.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.5875, allocations: 45.7 kB / 0.5971 GB, free: 7.449 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.5893, allocations: 2.388 MB / 0.5995 GB, free: 5.027 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006001/0.5899, allocations: 410.9 kB / 0.5999 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.5911, allocations: 0.8132 MB / 0.6006 GB, free: 3.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5912, allocations: 309.1 kB / 0.6009 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.5933, allocations: 1.265 MB / 0.6022 GB, free: 2.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004079/0.5974, allocations: 3.623 MB / 0.6057 GB, free: 13.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007108/0.6045, allocations: 5.216 MB / 0.6108 GB, free: 7.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-05/0.6046, allocations: 24 kB / 0.6108 GB, free: 6.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.008684/0.6133, allocations: 4.8 MB / 0.6155 GB, free: 2.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.6134, allocations: 40 kB / 0.6156 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.094e-05/0.6135, allocations: 84.88 kB / 0.6156 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.6136, allocations: 112 kB / 0.6157 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.6167, allocations: 0.9865 MB / 0.6167 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/0.6169, allocations: 163.3 kB / 0.6169 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.6198, allocations: 211.8 kB / 0.6171 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/0.6202, allocations: 240 kB / 0.6173 GB, free: 372 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * 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 (511): * Single equations (assignments): 511 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002846/0.623, allocations: 1.601 MB / 0.6189 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.6235, allocations: 229 kB / 0.6191 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.6258, allocations: 1.518 MB / 0.6206 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.6258, allocations: 12 kB / 0.6206 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.6258, allocations: 3.938 kB / 0.6206 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.6259, allocations: 11.97 kB / 0.6206 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.6377, allocations: 6.133 MB / 0.6266 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.6377, allocations: 16 kB / 0.6266 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6387, allocations: 259.5 kB / 0.6268 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/0.6388, allocations: 20 kB / 0.6269 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.6389, allocations: 43.98 kB / 0.6269 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.997e-05/0.6389, allocations: 31.86 kB / 0.6269 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.901e-05/0.6389, allocations: 23.94 kB / 0.627 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.6424, allocations: 2.143 MB / 0.629 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/0.6432, allocations: 322 kB / 0.6294 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.6435, allocations: 43.98 kB / 0.6294 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.6446, allocations: 59.95 kB / 0.6294 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.6448, allocations: 128.1 kB / 0.6296 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.361e-05/0.6449, allocations: 55.98 kB / 0.6296 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002689/0.6476, allocations: 1.724 MB / 0.6313 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6476, allocations: 0 / 0.6313 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004023/0.6516, allocations: 0.707 MB / 0.632 GB, free: 0.7422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000476/0.6521, allocations: 218.6 kB / 0.6322 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2722/0.9243, allocations: 2.891 MB / 0.635 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/0.9244, allocations: 2.125 kB / 0.635 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.926, allocations: 0.7253 MB / 0.6357 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.9285, allocations: 325.4 kB / 0.6361 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.9443, allocations: 6.928 MB / 0.6428 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003835/0.9482, allocations: 2.743 MB / 0.6455 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003843/0.9521, allocations: 1.067 MB / 0.6465 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/0.9528, allocations: 180.6 kB / 0.6467 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.9528, allocations: 3.906 kB / 0.6467 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.04984/1.003, allocations: 21 MB / 0.6672 GB, free: 115.1 MB / 0.4981 GB 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)