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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008678/0.008678, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001606/0.001606, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.729/1.729, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.331/0.331, allocations: 38 MB / 307.9 MB, free: 10 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.1. 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.001436/0.001436, allocations: 75.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3512, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01226/0.3635, allocations: 12.01 MB / 0.4897 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.3742, allocations: 4.383 MB / 0.494 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.378, allocations: 75 kB / 0.4941 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006049/0.3841, allocations: 2.76 MB / 0.4968 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007451/0.3916, allocations: 2.1 MB / 0.4988 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.3954, allocations: 1.012 MB / 0.4998 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.4058, allocations: 5.133 MB / 0.5048 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004408/0.4102, allocations: 3.436 MB / 0.5082 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.4141, allocations: 1.77 MB / 0.5099 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004979/0.4191, allocations: 2.461 MB / 0.5123 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.4206, allocations: 366.8 kB / 0.5127 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.4249, allocations: 1.41 MB / 0.514 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003768/0.4286, allocations: 2.225 MB / 0.5162 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005192/0.4339, allocations: 2.501 MB / 0.5187 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.4457, allocations: 8.076 MB / 0.5265 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4457, allocations: 0 / 0.5265 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4457, allocations: 0 / 0.5265 GB, free: 1.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.446, allocations: 4 kB / 0.5265 GB, free: 1.695 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01612/0.4622, allocations: 5.765 MB / 0.5322 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4622, allocations: 15.83 kB / 0.5322 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.4781, allocations: 2.592 MB / 0.5347 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008673/0.4868, allocations: 3.311 MB / 0.538 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.4871, allocations: 254.8 kB / 0.5382 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.4886, allocations: 351.8 kB / 0.5385 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.5149, allocations: 12.36 MB / 0.5506 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.5151, allocations: 59.42 kB / 0.5507 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005803/0.5157, allocations: 167.8 kB / 0.5508 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003685/0.5194, allocations: 2.373 MB / 0.5531 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.5413, allocations: 10.84 MB / 0.5637 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0643/0.6057, allocations: 48.62 MB / 0.6112 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.6207, allocations: 6.036 MB / 0.6171 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004365/0.6251, allocations: 3.307 MB / 0.6203 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0216/0.6467, allocations: 13.51 MB / 0.6335 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.605e-05/0.6468, allocations: 71.8 kB / 0.6336 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 6.212e-06/0.6468, allocations: 0 / 0.6336 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.4031/1.05, allocations: 36.31 MB / 0.6691 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/1.05, allocations: 205.7 kB / 0.6692 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006423/1.057, allocations: 4.396 MB / 0.6735 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/1.057, allocations: 68.7 kB / 0.6736 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.059, allocations: 3.388 MB / 0.6769 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.061, allocations: 0.9818 MB / 0.6779 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/1.062, allocations: 1.423 MB / 0.6793 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.062, allocations: 304.7 kB / 0.6796 GB, free: 110 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/1.066, allocations: 3.283 MB / 0.6828 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00531/1.071, allocations: 7.201 MB / 0.6898 GB, free: 99.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.082, allocations: 11.23 MB / 0.7008 GB, free: 86.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.555e-05/1.082, allocations: 40 kB / 0.7008 GB, free: 86.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02429/1.106, allocations: 13.27 MB / 0.7138 GB, free: 72.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/1.106, allocations: 64 kB / 0.7138 GB, free: 72.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.106, allocations: 144 kB / 0.714 GB, free: 72.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009247/1.116, allocations: 3.406 MB / 0.7173 GB, free: 69.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005553/1.121, allocations: 1.579 MB / 0.7188 GB, free: 67.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/1.142, allocations: 17.55 MB / 0.736 GB, free: 49.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006369/1.148, allocations: 435.5 kB / 0.7364 GB, free: 49.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009596/1.149, allocations: 411.5 kB / 0.7368 GB, free: 49.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (841): * Single equations (assignments): 837 * Array equations: 3 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003779/1.153, allocations: 2.348 MB / 0.7391 GB, free: 46.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009259/1.154, allocations: 406.7 kB / 0.7395 GB, free: 46.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.168, allocations: 8.006 MB / 0.7473 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/1.168, allocations: 28 kB / 0.7473 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.168, allocations: 12 kB / 0.7473 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/1.168, allocations: 11.95 kB / 0.7473 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.193, allocations: 15.39 MB / 0.7623 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.193, allocations: 4 kB / 0.7623 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.195, allocations: 387.4 kB / 0.7627 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008098/1.203, allocations: 3.165 MB / 0.7658 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004747/1.204, allocations: 47.98 kB / 0.7659 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/1.222, allocations: 15.82 MB / 0.7813 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.222, allocations: 0 / 0.7813 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.243, allocations: 12.14 MB / 0.7932 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/1.246, allocations: 0.9409 MB / 0.7941 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/1.247, allocations: 44 kB / 0.7941 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/1.25, allocations: 187.7 kB / 0.7943 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/1.25, allocations: 150.2 kB / 0.7944 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/1.25, allocations: 71.34 kB / 0.7945 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004857/1.255, allocations: 2.753 MB / 0.7972 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.81e-07/1.255, allocations: 0 / 0.7972 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007331/1.263, allocations: 1.366 MB / 0.7985 GB, free: 1.578 MB / 0.5137 GB 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 (197): * Single equations (assignments): 193 * Array equations: 3 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005823/1.263, allocations: 184.7 kB / 0.7987 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.277, allocations: 8.212 MB / 0.8067 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.277, allocations: 0 / 0.8067 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/1.283, allocations: 3.329 MB / 0.81 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.286, allocations: 0.4949 MB / 0.8105 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/1.307, allocations: 11.9 MB / 0.8221 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004216/1.311, allocations: 3.682 MB / 0.8257 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005168/1.316, allocations: 2.176 MB / 0.8278 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.317, allocations: 279.4 kB / 0.8281 GB, free: 3.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.317, allocations: 0 / 0.8281 GB, free: 3.27 MB / 0.545 GB Notification: Performance of Templates: time 0.3754/1.692, allocations: 57.14 MB / 0.8839 GB, free: 161.1 MB / 0.5606 GB 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)