Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 119.2 kB / 17.08 MB, free: 5.965 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.001395/0.001395, allocations: 193.2 kB / 18.01 MB, free: 5.051 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.511/1.511, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2129/0.2129, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 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: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 69.94 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.014/0.1364, allocations: 13.3 MB / 0.5015 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1469, allocations: 4.841 MB / 0.5063 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.1496, allocations: 83.81 kB / 0.5063 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007208/0.1568, allocations: 3.983 MB / 0.5102 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006518/0.1634, allocations: 2.202 MB / 0.5124 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.1664, allocations: 1.193 MB / 0.5136 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008211/0.1746, allocations: 5.576 MB / 0.519 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006538/0.1812, allocations: 5.19 MB / 0.5241 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/0.1851, allocations: 2.181 MB / 0.5262 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004822/0.1899, allocations: 2.976 MB / 0.5291 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.1913, allocations: 0.5 MB / 0.5296 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3002/0.4915, allocations: 1.643 MB / 0.5312 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004176/0.4958, allocations: 2.693 MB / 0.5338 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005861/0.5016, allocations: 3.021 MB / 0.5368 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.5174, allocations: 9.954 MB / 0.5465 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.5174, allocations: 0.5625 kB / 0.5465 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5174, allocations: 0 / 0.5465 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004106/0.5178, allocations: 0.5625 kB / 0.5465 GB, free: 10.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02402/0.5419, allocations: 6.533 MB / 0.5529 GB, free: 8.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.5419, allocations: 13.36 kB / 0.5529 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/0.562, allocations: 2.715 MB / 0.5555 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.5749, allocations: 3.794 MB / 0.5592 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/0.5754, allocations: 356.6 kB / 0.5596 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/0.5783, allocations: 429 kB / 0.56 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03314/0.6115, allocations: 13.85 MB / 0.5735 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003254/0.6119, allocations: 55.45 kB / 0.5736 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00234/0.6142, allocations: 201.9 kB / 0.5738 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003945/0.6182, allocations: 2.412 MB / 0.5761 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/0.6465, allocations: 11.75 MB / 0.5876 GB, free: 3.141 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08027/0.7268, allocations: 51.55 MB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.7401, allocations: 4.746 MB / 0.6426 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004586/0.7447, allocations: 2.959 MB / 0.6455 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/0.7688, allocations: 12.86 MB / 0.658 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.7689, allocations: 63.61 kB / 0.6581 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.921e-06/0.7689, allocations: 0 / 0.6581 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1615/0.9303, allocations: 43.44 MB / 0.7005 GB, free: 14.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.9305, allocations: 231.6 kB / 0.7007 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008108/0.9386, allocations: 4.801 MB / 0.7054 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007528/0.9394, allocations: 61.7 kB / 0.7055 GB, free: 8.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003012/0.9424, allocations: 3.836 MB / 0.7092 GB, free: 5.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/0.9439, allocations: 0.9369 MB / 0.7101 GB, free: 4.152 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002934/0.9469, allocations: 1.506 MB / 0.7116 GB, free: 2.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.947, allocations: 305.1 kB / 0.7119 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005498/0.9525, allocations: 3.449 MB / 0.7153 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008644/0.9612, allocations: 7.7 MB / 0.7228 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/0.9764, allocations: 11.87 MB / 0.7344 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/0.9766, allocations: 47.94 kB / 0.7344 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03264/1.009, allocations: 14.48 MB / 0.7485 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.009, allocations: 68.19 kB / 0.7486 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002765/1.01, allocations: 158.8 kB / 0.7488 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/1.023, allocations: 4.013 MB / 0.7527 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/1.029, allocations: 1.638 MB / 0.7543 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2842/1.313, allocations: 19.84 MB / 0.7737 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/1.32, allocations: 456.4 kB / 0.7741 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/1.322, allocations: 443 kB / 0.7745 GB, free: 199.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005799/1.327, allocations: 2.664 MB / 0.7771 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.329, allocations: 431.2 kB / 0.7775 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/1.347, allocations: 8.645 MB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/1.347, allocations: 23.88 kB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/1.347, allocations: 14.31 kB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/1.347, allocations: 11.25 kB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03342/1.381, allocations: 17.84 MB / 0.8034 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-05/1.381, allocations: 4 kB / 0.8034 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.383, allocations: 397.4 kB / 0.8038 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/1.394, allocations: 4.072 MB / 0.8078 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006355/1.395, allocations: 43.94 kB / 0.8078 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/1.416, allocations: 18.21 MB / 0.8256 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.416, allocations: 0 / 0.8256 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.437, allocations: 13.22 MB / 0.8385 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/1.441, allocations: 0.9618 MB / 0.8395 GB, free: 150.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/1.442, allocations: 39.94 kB / 0.8395 GB, free: 150.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.445, allocations: 219.6 kB / 0.8397 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007585/1.446, allocations: 155.5 kB / 0.8399 GB, free: 150 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/1.446, allocations: 63.98 kB / 0.8399 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005084/1.451, allocations: 2.997 MB / 0.8429 GB, free: 146.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/1.451, allocations: 0 / 0.8429 GB, free: 146.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007651/1.459, allocations: 1.491 MB / 0.8443 GB, free: 145.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007856/1.46, allocations: 221.8 kB / 0.8445 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.471, allocations: 8.279 MB / 0.8526 GB, free: 137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.471, allocations: 0 / 0.8526 GB, free: 137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004/1.475, allocations: 3.111 MB / 0.8557 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/1.479, allocations: 0.5239 MB / 0.8562 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/1.5, allocations: 13.46 MB / 0.8693 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/1.504, allocations: 4.089 MB / 0.8733 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.505, allocations: 335.4 kB / 0.8736 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/1.505, allocations: 0 / 0.8736 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1127/1.618, allocations: 102.8 MB / 0.974 GB, free: 12.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)