Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008576, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007961/0.0007963, allocations: 172.7 kB / 15.95 MB, free: 208 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.327/1.327, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.2956/0.2956, allocations: 38.04 MB / 308.4 MB, free: 10.46 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.000534/0.000534, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2256/0.3278, allocations: 38.08 MB / 472 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.3461, allocations: 8.438 MB / 480.5 MB, free: 28.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006108/0.3522, allocations: 169.8 kB / 480.6 MB, free: 28.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004669/0.3569, allocations: 1.88 MB / 482.5 MB, free: 27.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01337/0.3703, allocations: 5.579 MB / 488.1 MB, free: 25.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.3729, allocations: 472 kB / 488.6 MB, free: 25.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.3785, allocations: 4.447 MB / 493 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00383/0.3823, allocations: 3.2 MB / 496.2 MB, free: 22.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.3849, allocations: 1.202 MB / 497.4 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.3884, allocations: 1.904 MB / 499.3 MB, free: 21.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.3896, allocations: 153.3 kB / 499.5 MB, free: 21.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.3928, allocations: 0.7769 MB / 0.4885 GB, free: 21.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004691/0.3975, allocations: 1.691 MB / 0.4902 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.4002, allocations: 0.8763 MB / 0.491 GB, free: 20.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008619/0.4088, allocations: 5.613 MB / 0.4965 GB, free: 18.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4088, allocations: 4 kB / 0.4965 GB, free: 18.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4088, allocations: 1.781 kB / 0.4965 GB, free: 18.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003017/0.4092, allocations: 0 / 0.4965 GB, free: 18.86 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.009813/0.419, allocations: 4.063 MB / 0.5005 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.419, allocations: 9.594 kB / 0.5005 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.4293, allocations: 3.231 MB / 0.5036 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.4346, allocations: 2.2 MB / 0.5058 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.4349, allocations: 239.8 kB / 0.506 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.4365, allocations: 313.3 kB / 0.5063 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.4597, allocations: 12.08 MB / 0.5181 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/0.4601, allocations: 43.64 kB / 0.5182 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.4616, allocations: 143.8 kB / 0.5183 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004334/0.466, allocations: 2.835 MB / 0.5211 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.4875, allocations: 11.34 MB / 0.5321 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06452/0.5521, allocations: 41.17 MB / 0.5723 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.5633, allocations: 6.076 MB / 0.5783 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/0.5674, allocations: 3.001 MB / 0.5812 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.5692, allocations: 1.888 MB / 0.583 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.5692, allocations: 52.56 kB / 0.5831 GB, free: 1.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 6.432e-06/0.5693, allocations: 0 / 0.5831 GB, free: 1.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.04749/0.6168, allocations: 20.09 MB / 0.6027 GB, free: 13.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6168, allocations: 73.41 kB / 0.6028 GB, free: 13.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.6215, allocations: 3.036 MB / 0.6057 GB, free: 10.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003679/0.6219, allocations: 65.7 kB / 0.6058 GB, free: 10.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.6239, allocations: 3.008 MB / 0.6087 GB, free: 6.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.6251, allocations: 1.021 MB / 0.6097 GB, free: 5.934 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.6257, allocations: 120 kB / 0.6099 GB, free: 5.816 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005332/0.6262, allocations: 0.5623 MB / 0.6104 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/0.6308, allocations: 2.838 MB / 0.6132 GB, free: 2.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006452/0.6373, allocations: 6.047 MB / 0.6191 GB, free: 10.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006546/0.6439, allocations: 4.115 MB / 0.6231 GB, free: 6.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.646e-05/0.644, allocations: 32 kB / 0.6231 GB, free: 6.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.2312/0.8752, allocations: 10.03 MB / 0.6329 GB, free: 140.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/0.8753, allocations: 53.97 kB / 0.633 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.8755, allocations: 112 kB / 0.6331 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/0.8784, allocations: 1.366 MB / 0.6344 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/0.8834, allocations: 1.39 MB / 0.6358 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008364/0.8918, allocations: 7.471 MB / 0.6431 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/0.8964, allocations: 372.2 kB / 0.6434 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/0.8971, allocations: 344 kB / 0.6438 GB, free: 138.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (728): * Single equations (assignments): 721 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004943/0.902, allocations: 2.304 MB / 0.646 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007083/0.9028, allocations: 313.4 kB / 0.6463 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009717/0.9125, allocations: 6.602 MB / 0.6528 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/0.9126, allocations: 57.62 kB / 0.6528 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.9126, allocations: 6.188 kB / 0.6528 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.9126, allocations: 12.38 kB / 0.6528 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/0.9354, allocations: 13.99 MB / 0.6665 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.9355, allocations: 12.16 kB / 0.6665 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.9375, allocations: 452.1 kB / 0.6669 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/0.9409, allocations: 1.208 MB / 0.6681 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/0.9412, allocations: 49.98 kB / 0.6682 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/0.9495, allocations: 6.522 MB / 0.6745 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.9496, allocations: 9.422 kB / 0.6745 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.9624, allocations: 9.831 MB / 0.6841 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/0.9642, allocations: 0.8259 MB / 0.6849 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/0.9647, allocations: 42.56 kB / 0.685 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.966, allocations: 197.2 kB / 0.6852 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/0.9664, allocations: 163.9 kB / 0.6853 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.9666, allocations: 80.94 kB / 0.6854 GB, free: 122.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.9697, allocations: 1.857 MB / 0.6872 GB, free: 122.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9697, allocations: 0 / 0.6872 GB, free: 122.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005836/0.9755, allocations: 1.132 MB / 0.6883 GB, free: 122.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005371/0.9761, allocations: 196.8 kB / 0.6885 GB, free: 122 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009412/0.9855, allocations: 6.879 MB / 0.6952 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.9856, allocations: 5.875 kB / 0.6952 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.9892, allocations: 2.843 MB / 0.698 GB, free: 113.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.9914, allocations: 400.4 kB / 0.6984 GB, free: 113.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.011, allocations: 13.45 MB / 0.7115 GB, free: 100.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/1.014, allocations: 3.589 MB / 0.715 GB, free: 96.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004684/1.019, allocations: 2.201 MB / 0.7172 GB, free: 94.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009118/1.02, allocations: 243.4 kB / 0.7174 GB, free: 94.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/1.02, allocations: 0 / 0.7174 GB, free: 94.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05766/1.077, allocations: 38.76 MB / 0.7553 GB, free: 55.62 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) Environment - environmentSimulation: