Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001496/0.001496, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.296/1.296, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001581/0.001581, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1776/0.1776, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.158e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.0855, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4465, allocations: 95.18 MB / 0.4891 GB, free: 16.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.4469, allocations: 78.53 kB / 0.4892 GB, free: 16.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2912/0.7381, allocations: 98.79 MB / 0.5857 GB, free: 1.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.7382, allocations: 0 / 0.5857 GB, free: 1.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.7384, allocations: 92 kB / 0.5858 GB, free: 1.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.01336/0.7517, allocations: 5.118 MB / 0.5908 GB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.7518, allocations: 12.02 kB / 0.5908 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01966/0.7715, allocations: 4.607 MB / 0.5953 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.7875, allocations: 6.057 MB / 0.6012 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/0.788, allocations: 349 kB / 0.6015 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/0.7909, allocations: 467.7 kB / 0.602 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.8192, allocations: 12.58 MB / 0.6143 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/0.8195, allocations: 67.73 kB / 0.6143 GB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009749/0.8205, allocations: 223.8 kB / 0.6145 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.8222, allocations: 1.261 MB / 0.6158 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3288/1.151, allocations: 10.73 MB / 0.6262 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08868/1.24, allocations: 55.72 MB / 0.6807 GB, free: 51.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02547/1.265, allocations: 5.926 MB / 0.6864 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005448/1.271, allocations: 3.02 MB / 0.6894 GB, free: 47.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02755/1.298, allocations: 13.06 MB / 0.7021 GB, free: 41.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.298, allocations: 65.7 kB / 0.7022 GB, free: 41.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 7.173e-06/1.299, allocations: 0 / 0.7022 GB, free: 41.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1438/1.442, allocations: 30.56 MB / 0.7321 GB, free: 27.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.442, allocations: 205.9 kB / 0.7322 GB, free: 27.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007168/1.45, allocations: 3.818 MB / 0.736 GB, free: 24.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005901/1.45, allocations: 68.83 kB / 0.736 GB, free: 23.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.452, allocations: 3.425 MB / 0.7394 GB, free: 20.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.453, allocations: 0.9513 MB / 0.7403 GB, free: 20.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.454, allocations: 136 kB / 0.7404 GB, free: 19.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/1.454, allocations: 0.5977 MB / 0.741 GB, free: 19.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/1.457, allocations: 2.986 MB / 0.7439 GB, free: 16.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/1.462, allocations: 6.88 MB / 0.7507 GB, free: 8.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005215/1.467, allocations: 4.477 MB / 0.755 GB, free: 4.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-05/1.467, allocations: 36 kB / 0.7551 GB, free: 4.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02271/1.49, allocations: 12.39 MB / 0.7672 GB, free: 10.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/1.49, allocations: 64 kB / 0.7672 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.49, allocations: 136 kB / 0.7674 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009291/1.5, allocations: 3.209 MB / 0.7705 GB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00564/1.505, allocations: 1.551 MB / 0.772 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2641/1.77, allocations: 14.91 MB / 0.7866 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006204/1.776, allocations: 478 kB / 0.787 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.777, allocations: 407 kB / 0.7874 GB, free: 89.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * Array equations: 3 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.778, allocations: 0.6092 MB / 0.788 GB, free: 89.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/1.779, allocations: 400.5 kB / 0.7884 GB, free: 89.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.796, allocations: 7.374 MB / 0.7956 GB, free: 89.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/1.796, allocations: 27.34 kB / 0.7956 GB, free: 89.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.168e-05/1.796, allocations: 13.09 kB / 0.7956 GB, free: 89.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.875e-05/1.796, allocations: 9.75 kB / 0.7956 GB, free: 89.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/1.823, allocations: 14.98 MB / 0.8103 GB, free: 88.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.823, allocations: 3.156 kB / 0.8103 GB, free: 88.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.825, allocations: 383 kB / 0.8106 GB, free: 88.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007701/1.833, allocations: 2.868 MB / 0.8134 GB, free: 88.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003432/1.833, allocations: 43.47 kB / 0.8135 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/1.85, allocations: 13.23 MB / 0.8264 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.85, allocations: 2.062 kB / 0.8264 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.868, allocations: 11.33 MB / 0.8375 GB, free: 79.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.871, allocations: 0.9153 MB / 0.8384 GB, free: 78.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/1.872, allocations: 38.5 kB / 0.8384 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.874, allocations: 208.2 kB / 0.8386 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/1.874, allocations: 150.7 kB / 0.8387 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/1.875, allocations: 72.41 kB / 0.8388 GB, free: 78.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004025/1.879, allocations: 2.659 MB / 0.8414 GB, free: 77.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.879, allocations: 6.625 kB / 0.8414 GB, free: 77.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005369/1.884, allocations: 1.309 MB / 0.8427 GB, free: 77.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/1.884, allocations: 177.5 kB / 0.8429 GB, free: 77.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.895, allocations: 7.644 MB / 0.8503 GB, free: 74.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.895, allocations: 3.5 kB / 0.8503 GB, free: 74.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00415/1.899, allocations: 3.029 MB / 0.8533 GB, free: 73.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.902, allocations: 466.7 kB / 0.8537 GB, free: 73.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.92, allocations: 9.775 MB / 0.8633 GB, free: 68.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/1.923, allocations: 3.761 MB / 0.867 GB, free: 65.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005005/1.928, allocations: 2.175 MB / 0.8691 GB, free: 63.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009211/1.929, allocations: 278.5 kB / 0.8693 GB, free: 63.67 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/1.929, allocations: 3.5 kB / 0.8693 GB, free: 63.67 MB / 442.7 MB Notification: Performance of Templates: time 0.07971/2.009, allocations: 53.52 MB / 0.9216 GB, free: 16.23 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)