Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001054/0.001054, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.716/1.716, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 117 kB / 252.6 MB, free: 4.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2485/0.2485, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.674e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5884, allocations: 102 MB / 0.5441 GB, free: 5.812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5887, allocations: 77.2 kB / 0.5442 GB, free: 5.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.262/0.8507, allocations: 98.92 MB / 0.6408 GB, free: 10.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8508, allocations: 0 / 0.6408 GB, free: 10.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002665/0.8511, allocations: 88 kB / 0.6409 GB, free: 10.25 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.0229/0.874, allocations: 5.117 MB / 0.6459 GB, free: 5.066 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.8741, allocations: 8.031 kB / 0.6459 GB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/0.8942, allocations: 4.615 MB / 0.6504 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.9128, allocations: 6.072 MB / 0.6563 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.9132, allocations: 349 kB / 0.6566 GB, free: 9.949 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002523/0.9158, allocations: 463.7 kB / 0.6571 GB, free: 9.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3468/1.263, allocations: 12.59 MB / 0.6694 GB, free: 98.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004271/1.263, allocations: 66.23 kB / 0.6694 GB, free: 98.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0022/1.265, allocations: 220.5 kB / 0.6696 GB, free: 98.81 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002994/1.268, allocations: 1.267 MB / 0.6709 GB, free: 98.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/1.298, allocations: 10.74 MB / 0.6814 GB, free: 98.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07145/1.37, allocations: 55.74 MB / 0.7358 GB, free: 64.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/1.384, allocations: 5.933 MB / 0.7416 GB, free: 62.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003676/1.388, allocations: 3.022 MB / 0.7445 GB, free: 61.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01783/1.406, allocations: 13.06 MB / 0.7573 GB, free: 54.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/1.406, allocations: 54.34 kB / 0.7573 GB, free: 54.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.43e-06/1.406, allocations: 3.719 kB / 0.7573 GB, free: 54.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.08285/1.489, allocations: 30.55 MB / 0.7872 GB, free: 41.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/1.489, allocations: 209.9 kB / 0.7874 GB, free: 41.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006298/1.495, allocations: 3.817 MB / 0.7911 GB, free: 37.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008883/1.496, allocations: 61.7 kB / 0.7912 GB, free: 37.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/1.498, allocations: 3.439 MB / 0.7945 GB, free: 34.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.499, allocations: 0.9419 MB / 0.7954 GB, free: 33.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/1.5, allocations: 135.9 kB / 0.7956 GB, free: 33.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/1.5, allocations: 0.5961 MB / 0.7962 GB, free: 33.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/1.504, allocations: 2.991 MB / 0.7991 GB, free: 30.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005208/1.509, allocations: 6.88 MB / 0.8058 GB, free: 22.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/1.515, allocations: 4.472 MB / 0.8102 GB, free: 18.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.516, allocations: 43.95 kB / 0.8102 GB, free: 18.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02588/1.541, allocations: 12.38 MB / 0.8223 GB, free: 7.816 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/1.542, allocations: 64 kB / 0.8224 GB, free: 7.754 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.542, allocations: 143.6 kB / 0.8225 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009024/1.551, allocations: 3.205 MB / 0.8256 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/1.557, allocations: 1.552 MB / 0.8271 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/1.581, allocations: 14.94 MB / 0.8417 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00675/1.587, allocations: 479.3 kB / 0.8422 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.589, allocations: 407.8 kB / 0.8426 GB, free: 2.973 MB / 490.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.001349/1.59, allocations: 0.603 MB / 0.8432 GB, free: 2.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.591, allocations: 418.7 kB / 0.8436 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3439/1.935, allocations: 7.352 MB / 0.8507 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/1.936, allocations: 26.53 kB / 0.8508 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/1.936, allocations: 11.03 kB / 0.8508 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.12e-05/1.936, allocations: 14.12 kB / 0.8508 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03281/1.968, allocations: 14.98 MB / 0.8654 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/1.969, allocations: 0 / 0.8654 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/1.971, allocations: 380.7 kB / 0.8658 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008183/1.979, allocations: 2.87 MB / 0.8686 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/1.979, allocations: 44.39 kB / 0.8686 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/1.999, allocations: 13.24 MB / 0.8816 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.999, allocations: 3.594 kB / 0.8816 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/2.018, allocations: 11.32 MB / 0.8926 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/2.021, allocations: 0.9153 MB / 0.8935 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009905/2.022, allocations: 38.28 kB / 0.8935 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/2.024, allocations: 204.2 kB / 0.8937 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/2.025, allocations: 152.4 kB / 0.8939 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/2.025, allocations: 63.27 kB / 0.8939 GB, free: 101.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004161/2.029, allocations: 2.665 MB / 0.8965 GB, free: 100.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.029, allocations: 0 / 0.8965 GB, free: 100.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006392/2.035, allocations: 1.307 MB / 0.8978 GB, free: 100.1 MB / 490.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.000577/2.036, allocations: 180.1 kB / 0.898 GB, free: 99.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01175/2.048, allocations: 7.646 MB / 0.9055 GB, free: 97.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/2.048, allocations: 3.25 kB / 0.9055 GB, free: 97.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004608/2.052, allocations: 3.027 MB / 0.9084 GB, free: 96.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/2.055, allocations: 464.5 kB / 0.9089 GB, free: 96.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/2.073, allocations: 9.783 MB / 0.9184 GB, free: 92.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003762/2.076, allocations: 3.771 MB / 0.9221 GB, free: 91.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005543/2.082, allocations: 2.171 MB / 0.9242 GB, free: 91.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/2.083, allocations: 279.4 kB / 0.9245 GB, free: 91.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/2.083, allocations: 0 / 0.9245 GB, free: 91.25 MB / 490.7 MB Notification: Performance of Templates: time 0.09128/2.174, allocations: 53.52 MB / 0.9767 GB, free: 46.72 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)