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.0009808/0.0009876, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008912/0.008913, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.6/1.6, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.3552/0.3552, allocations: 40 MB / 310.7 MB, free: 9.555 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.0005236/0.0005237, allocations: 24 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1251, allocations: 57.95 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2761/0.4012, allocations: 40.92 MB / 478.3 MB, free: 27.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02188/0.4231, allocations: 8.852 MB / 487.2 MB, free: 23.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008212/0.4314, allocations: 175.3 kB / 487.4 MB, free: 23.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.4328, allocations: 0.4944 MB / 487.8 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.4378, allocations: 1.813 MB / 489.7 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.4389, allocations: 0.5141 MB / 490.2 MB, free: 22.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00569/0.4446, allocations: 5.733 MB / 495.9 MB, free: 20.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/0.4492, allocations: 3.542 MB / 499.4 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.4511, allocations: 1.137 MB / 0.4889 GB, free: 18.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.4539, allocations: 1.942 MB / 0.4908 GB, free: 17.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.4545, allocations: 153.7 kB / 0.4909 GB, free: 17.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.4567, allocations: 0.9224 MB / 0.4918 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.4587, allocations: 1.748 MB / 0.4935 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.4611, allocations: 2.106 MB / 0.4956 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.4713, allocations: 6.81 MB / 0.5022 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4713, allocations: 4 kB / 0.5022 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4713, allocations: 0 / 0.5022 GB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002763/0.4716, allocations: 1.062 kB / 0.5022 GB, free: 13.54 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.01055/0.4822, allocations: 3.995 MB / 0.5061 GB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4822, allocations: 13.98 kB / 0.5061 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4931, allocations: 3.219 MB / 0.5093 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004496/0.4976, allocations: 2.247 MB / 0.5115 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.4978, allocations: 242.5 kB / 0.5117 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/0.4984, allocations: 313.7 kB / 0.512 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/0.5206, allocations: 12.1 MB / 0.5238 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.5208, allocations: 31.66 kB / 0.5238 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006349/0.5215, allocations: 147.8 kB / 0.524 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005177/0.5267, allocations: 2.835 MB / 0.5268 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02407/0.5508, allocations: 11.39 MB / 0.5379 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/0.6145, allocations: 41.19 MB / 0.5781 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.6264, allocations: 6.078 MB / 0.584 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/0.6304, allocations: 3.002 MB / 0.587 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.6321, allocations: 1.888 MB / 0.5888 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.6321, allocations: 53.12 kB / 0.5889 GB, free: 10.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 4.879e-06/0.6321, allocations: 0 / 0.5889 GB, free: 10.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.05231/0.6844, allocations: 20.12 MB / 0.6085 GB, free: 5.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.6846, allocations: 77.41 kB / 0.6086 GB, free: 5.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/0.6899, allocations: 3.052 MB / 0.6116 GB, free: 2.742 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000801/0.6907, allocations: 65.69 kB / 0.6116 GB, free: 2.672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.6929, allocations: 3.012 MB / 0.6146 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001785/0.6947, allocations: 1.017 MB / 0.6156 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.6958, allocations: 0.5191 MB / 0.6161 GB, free: 14.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6959, allocations: 313 kB / 0.6164 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005042/0.7009, allocations: 2.858 MB / 0.6192 GB, free: 10.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008273/0.7092, allocations: 6.071 MB / 0.6251 GB, free: 3.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2764/0.9857, allocations: 9.72 MB / 0.6346 GB, free: 137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-05/0.9858, allocations: 32.66 kB / 0.6346 GB, free: 137 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01893/1.005, allocations: 10.09 MB / 0.6445 GB, free: 134.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/1.005, allocations: 52.78 kB / 0.6445 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/1.005, allocations: 111.1 kB / 0.6446 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/1.009, allocations: 1.361 MB / 0.646 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/1.014, allocations: 1.385 MB / 0.6473 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008982/1.023, allocations: 7.295 MB / 0.6544 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006205/1.029, allocations: 369.3 kB / 0.6548 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.031, allocations: 348.4 kB / 0.6551 GB, free: 130.5 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.008639/1.04, allocations: 2.305 MB / 0.6574 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009739/1.041, allocations: 304.4 kB / 0.6577 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.053, allocations: 6.629 MB / 0.6641 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-05/1.053, allocations: 50.08 kB / 0.6642 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.054, allocations: 4.094 kB / 0.6642 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/1.054, allocations: 18.39 kB / 0.6642 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/1.082, allocations: 14.02 MB / 0.6779 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.082, allocations: 11.84 kB / 0.6779 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.084, allocations: 458.5 kB / 0.6783 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/1.087, allocations: 1.204 MB / 0.6795 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/1.088, allocations: 55.53 kB / 0.6796 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007297/1.095, allocations: 6.524 MB / 0.6859 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.095, allocations: 12.77 kB / 0.686 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.109, allocations: 9.856 MB / 0.6956 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.112, allocations: 0.8217 MB / 0.6964 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.113, allocations: 47.42 kB / 0.6964 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/1.115, allocations: 200 kB / 0.6966 GB, free: 110.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/1.116, allocations: 161.5 kB / 0.6968 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.116, allocations: 86.56 kB / 0.6969 GB, free: 110.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003109/1.119, allocations: 1.887 MB / 0.6987 GB, free: 108.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.119, allocations: 0 / 0.6987 GB, free: 108.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006747/1.126, allocations: 1.136 MB / 0.6998 GB, free: 107.4 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.0006275/1.126, allocations: 199.9 kB / 0.7 GB, free: 107.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01028/1.137, allocations: 6.955 MB / 0.7068 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.137, allocations: 4.125 kB / 0.7068 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003921/1.141, allocations: 2.863 MB / 0.7096 GB, free: 97.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/1.147, allocations: 397.7 kB / 0.71 GB, free: 97.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.169, allocations: 13.93 MB / 0.7236 GB, free: 82.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003777/1.173, allocations: 3.588 MB / 0.7271 GB, free: 79.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005183/1.178, allocations: 2.2 MB / 0.7292 GB, free: 77.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008206/1.179, allocations: 247.4 kB / 0.7295 GB, free: 76.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/1.179, allocations: 0 / 0.7295 GB, free: 76.93 MB / 494.1 MB Notification: Performance of Templates: time 0.06287/1.242, allocations: 39.65 MB / 0.7682 GB, free: 37.38 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: