Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001089/0.001088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001799/0.001799, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.493/1.493, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3227/0.3227, allocations: 39.93 MB / 309.4 MB, free: 9.371 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.001379/0.001379, allocations: 67.91 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1198, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2277/0.3476, allocations: 42.1 MB / 476.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3648, allocations: 8.828 MB / 484.9 MB, free: 23.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007986/0.3728, allocations: 169.7 kB / 485.1 MB, free: 23.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.3769, allocations: 1.866 MB / 487 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.3814, allocations: 1.803 MB / 488.8 MB, free: 22.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3827, allocations: 0.5247 MB / 489.3 MB, free: 22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.3873, allocations: 4.088 MB / 493.4 MB, free: 20.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003492/0.3908, allocations: 3.009 MB / 496.4 MB, free: 19.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.3942, allocations: 1.474 MB / 497.9 MB, free: 18.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005043/0.3993, allocations: 2.222 MB / 0.4884 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.4012, allocations: 306.4 kB / 0.4887 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.4062, allocations: 1.028 MB / 0.4897 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003673/0.4099, allocations: 1.911 MB / 0.4915 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005013/0.415, allocations: 2.289 MB / 0.4938 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009792/0.4248, allocations: 7.089 MB / 0.5007 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4248, allocations: 4.844 kB / 0.5007 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4248, allocations: 0 / 0.5007 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003317/0.4252, allocations: 4.938 kB / 0.5007 GB, free: 12.66 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.01616/0.4413, allocations: 4.916 MB / 0.5055 GB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4414, allocations: 17.05 kB / 0.5055 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4525, allocations: 3.137 MB / 0.5086 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.4578, allocations: 2.236 MB / 0.5108 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4581, allocations: 237.9 kB / 0.511 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.4598, allocations: 318.2 kB / 0.5113 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.4847, allocations: 12.09 MB / 0.5231 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.4849, allocations: 39.64 kB / 0.5231 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009383/0.4859, allocations: 147.8 kB / 0.5233 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005081/0.491, allocations: 2.832 MB / 0.526 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.5141, allocations: 11.38 MB / 0.5371 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06493/0.5791, allocations: 41.18 MB / 0.5774 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.5904, allocations: 6.081 MB / 0.5833 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/0.5941, allocations: 3.012 MB / 0.5862 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.5956, allocations: 1.888 MB / 0.5881 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.5957, allocations: 56.56 kB / 0.5881 GB, free: 8.867 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 4.909e-06/0.5957, allocations: 0 / 0.5881 GB, free: 8.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.04934/0.6451, allocations: 20.16 MB / 0.6078 GB, free: 4.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.6451, allocations: 81.41 kB / 0.6079 GB, free: 4.426 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.6491, allocations: 3.056 MB / 0.6109 GB, free: 1.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004156/0.6495, allocations: 61.7 kB / 0.6109 GB, free: 1.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.6512, allocations: 3.004 MB / 0.6139 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.6523, allocations: 1.017 MB / 0.6149 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.6539, allocations: 1.203 MB / 0.6161 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.654, allocations: 305.1 kB / 0.6163 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/0.6579, allocations: 2.866 MB / 0.6191 GB, free: 8.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006177/0.6641, allocations: 6.067 MB / 0.6251 GB, free: 1.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2662/0.9303, allocations: 9.72 MB / 0.6346 GB, free: 140.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.839e-05/0.9304, allocations: 29.44 kB / 0.6346 GB, free: 140.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01756/0.9479, allocations: 10.09 MB / 0.6444 GB, free: 136.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.9481, allocations: 56.47 kB / 0.6445 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.9482, allocations: 111.7 kB / 0.6446 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/0.9516, allocations: 1.359 MB / 0.6459 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00602/0.9576, allocations: 1.386 MB / 0.6473 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009745/0.9674, allocations: 7.816 MB / 0.6549 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/0.9723, allocations: 369.1 kB / 0.6553 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.9735, allocations: 350.9 kB / 0.6556 GB, free: 132.6 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004703/0.9782, allocations: 2.299 MB / 0.6578 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/0.9788, allocations: 306 kB / 0.6581 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.9892, allocations: 6.633 MB / 0.6646 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.9894, allocations: 53.12 kB / 0.6647 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.9894, allocations: 6.141 kB / 0.6647 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.9894, allocations: 11.48 kB / 0.6647 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/1.019, allocations: 14.02 MB / 0.6784 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.388e-05/1.019, allocations: 7.844 kB / 0.6784 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.023, allocations: 459.3 kB / 0.6788 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004807/1.028, allocations: 1.214 MB / 0.68 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008402/1.029, allocations: 56.2 kB / 0.68 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.04, allocations: 6.977 MB / 0.6869 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.04, allocations: 11.94 kB / 0.6869 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.059, allocations: 9.86 MB / 0.6965 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/1.061, allocations: 0.8172 MB / 0.6973 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008247/1.062, allocations: 45.56 kB / 0.6973 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/1.064, allocations: 195.6 kB / 0.6975 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006287/1.065, allocations: 169.2 kB / 0.6977 GB, free: 109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/1.065, allocations: 75.98 kB / 0.6978 GB, free: 108.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003737/1.069, allocations: 1.891 MB / 0.6996 GB, free: 107 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.069, allocations: 0 / 0.6996 GB, free: 107 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007413/1.077, allocations: 1.128 MB / 0.7007 GB, free: 105.9 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/1.078, allocations: 202.7 kB / 0.7009 GB, free: 105.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01913/1.098, allocations: 12.01 MB / 0.7126 GB, free: 93.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.098, allocations: 0 / 0.7126 GB, free: 93.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004522/1.102, allocations: 2.849 MB / 0.7154 GB, free: 90.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004631/1.107, allocations: 422.3 kB / 0.7158 GB, free: 90.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/1.135, allocations: 13.85 MB / 0.7294 GB, free: 76.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005931/1.141, allocations: 3.583 MB / 0.7329 GB, free: 72.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005437/1.146, allocations: 2.208 MB / 0.735 GB, free: 70.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.148, allocations: 243.4 kB / 0.7352 GB, free: 70.51 MB / 494.1 MB Notification: Performance of SimCode: time 1.884e-06/1.148, allocations: 0 / 0.7352 GB, free: 70.51 MB / 494.1 MB Notification: Performance of Templates: time 0.06953/1.217, allocations: 41.96 MB / 0.7762 GB, free: 28.65 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)