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.006542/0.006542, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.473/1.473, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001846/0.001846, allocations: 106.6 kB / 226.2 MB, free: 10.08 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.3733/0.3733, allocations: 38.06 MB / 303.7 MB, free: 42.58 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5321, allocations: 95.28 MB / 0.495 GB, free: 8.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.5324, allocations: 78.62 kB / 0.495 GB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.539/1.071, allocations: 98.71 MB / 0.5914 GB, free: 75.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/1.072, allocations: 0 / 0.5914 GB, free: 75.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003345/1.072, allocations: 87.67 kB / 0.5915 GB, free: 75.53 MB / 426.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.02193/1.094, allocations: 5.468 MB / 0.5969 GB, free: 73.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/1.094, allocations: 8.062 kB / 0.5969 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/1.113, allocations: 4.607 MB / 0.6014 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/1.133, allocations: 6.071 MB / 0.6073 GB, free: 72.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/1.133, allocations: 344.5 kB / 0.6076 GB, free: 72.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/1.137, allocations: 468.7 kB / 0.6081 GB, free: 72.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03335/1.17, allocations: 12.7 MB / 0.6205 GB, free: 69.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/1.17, allocations: 67.45 kB / 0.6205 GB, free: 69.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002384/1.173, allocations: 224.1 kB / 0.6208 GB, free: 69.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002512/1.175, allocations: 1.26 MB / 0.622 GB, free: 69.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02922/1.205, allocations: 10.94 MB / 0.6327 GB, free: 69.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07026/1.275, allocations: 55.73 MB / 0.6871 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/1.289, allocations: 5.953 MB / 0.6929 GB, free: 28.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/1.308, allocations: 13.08 MB / 0.7057 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.308, allocations: 65.06 kB / 0.7057 GB, free: 21.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 7.184e-06/1.308, allocations: 4 kB / 0.7058 GB, free: 21.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1151/1.423, allocations: 36.48 MB / 0.7414 GB, free: 13.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/1.423, allocations: 209.9 kB / 0.7416 GB, free: 13.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.434, allocations: 3.891 MB / 0.7454 GB, free: 9.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008615/1.435, allocations: 65.7 kB / 0.7454 GB, free: 9.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004178/1.439, allocations: 3.424 MB / 0.7488 GB, free: 5.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.441, allocations: 0.9491 MB / 0.7497 GB, free: 5.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/1.442, allocations: 137.2 kB / 0.7498 GB, free: 4.906 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000958/1.443, allocations: 0.5912 MB / 0.7504 GB, free: 4.309 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006426/1.449, allocations: 3.078 MB / 0.7534 GB, free: 1.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2562/1.706, allocations: 6.963 MB / 0.7602 GB, free: 80.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/1.72, allocations: 4.511 MB / 0.7646 GB, free: 80.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002609/1.721, allocations: 40.81 kB / 0.7647 GB, free: 80.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04679/1.768, allocations: 12.55 MB / 0.7769 GB, free: 79.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004791/1.768, allocations: 63.28 kB / 0.777 GB, free: 79.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004972/1.769, allocations: 136.3 kB / 0.7771 GB, free: 79.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01826/1.787, allocations: 3.223 MB / 0.7803 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/1.798, allocations: 1.548 MB / 0.7818 GB, free: 79.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04428/1.843, allocations: 15.54 MB / 0.797 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/1.854, allocations: 475 kB / 0.7974 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002871/1.857, allocations: 401.2 kB / 0.7978 GB, free: 77 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 () * Number of clocked 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.01/1.867, allocations: 2.345 MB / 0.8001 GB, free: 75.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/1.869, allocations: 405.8 kB / 0.8005 GB, free: 75.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02546/1.894, allocations: 7.413 MB / 0.8077 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.691e-05/1.894, allocations: 31.09 kB / 0.8077 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-05/1.895, allocations: 17.02 kB / 0.8077 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/1.895, allocations: 9.984 kB / 0.8078 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04848/1.943, allocations: 15.02 MB / 0.8224 GB, free: 68.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.896e-05/1.943, allocations: 3.094 kB / 0.8224 GB, free: 68.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/1.947, allocations: 383.5 kB / 0.8228 GB, free: 68.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.962, allocations: 2.88 MB / 0.8256 GB, free: 67.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007527/1.963, allocations: 39.19 kB / 0.8256 GB, free: 67.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03259/1.995, allocations: 13.86 MB / 0.8392 GB, free: 61.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.995, allocations: 0 / 0.8392 GB, free: 61.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03295/2.028, allocations: 11.4 MB / 0.8503 GB, free: 57.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/2.033, allocations: 0.9174 MB / 0.8512 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/2.036, allocations: 40.22 kB / 0.8512 GB, free: 56.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00708/2.043, allocations: 214.9 kB / 0.8514 GB, free: 56.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/2.045, allocations: 144.1 kB / 0.8516 GB, free: 56.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008798/2.046, allocations: 65.92 kB / 0.8516 GB, free: 56.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01069/2.056, allocations: 2.736 MB / 0.8543 GB, free: 55.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.064e-06/2.057, allocations: 0 / 0.8543 GB, free: 55.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01345/2.07, allocations: 1.31 MB / 0.8556 GB, free: 55.76 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 () * Number of clocked 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.001105/2.071, allocations: 187.7 kB / 0.8558 GB, free: 55.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01967/2.091, allocations: 7.767 MB / 0.8634 GB, free: 48.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/2.091, allocations: 4 kB / 0.8634 GB, free: 48.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007711/2.099, allocations: 3.072 MB / 0.8664 GB, free: 46.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/2.104, allocations: 467.5 kB / 0.8668 GB, free: 45.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/2.138, allocations: 13.54 MB / 0.88 GB, free: 33.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008836/2.147, allocations: 3.758 MB / 0.8837 GB, free: 30.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0107/2.158, allocations: 2.179 MB / 0.8858 GB, free: 29.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/2.16, allocations: 276.6 kB / 0.8861 GB, free: 28.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.733e-06/2.16, allocations: 0 / 0.8861 GB, free: 28.94 MB / 442.7 MB Notification: Performance of Templates: time 0.3239/2.484, allocations: 53.69 MB / 0.9385 GB, free: 69.4 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)