Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009964/0.009964, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00165/0.00165, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.453/1.453, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1865/0.1865, allocations: 38.01 MB / 307.9 MB, free: 5.973 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.001714/0.001714, allocations: 79.89 kB / 433 MB, free: 14.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 56.46 MB / 489.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01665/0.125, allocations: 16.05 MB / 0.4937 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1375, allocations: 5.441 MB / 0.499 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.1409, allocations: 107.7 kB / 0.4991 GB, free: 308 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008918/0.1498, allocations: 5.14 MB / 0.5041 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.1574, allocations: 2.634 MB / 0.5067 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.1612, allocations: 1.396 MB / 0.508 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.2887/0.4499, allocations: 7.589 MB / 0.5154 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/0.4672, allocations: 7.03 MB / 0.5223 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008472/0.4757, allocations: 2.783 MB / 0.525 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009141/0.4849, allocations: 3.754 MB / 0.5287 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004257/0.4892, allocations: 0.6333 MB / 0.5293 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007542/0.4967, allocations: 1.78 MB / 0.531 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00846/0.5052, allocations: 3.34 MB / 0.5343 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01522/0.5205, allocations: 3.719 MB / 0.5379 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.5455, allocations: 11.99 MB / 0.5496 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.5455, allocations: 0 / 0.5496 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5456, allocations: 4 kB / 0.5496 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005405/0.5461, allocations: 0 / 0.5496 GB, free: 12.2 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02782/0.5739, allocations: 7.927 MB / 0.5574 GB, free: 6.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.574, allocations: 14.39 kB / 0.5574 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.5907, allocations: 3.055 MB / 0.5604 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.6068, allocations: 5.276 MB / 0.5655 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007355/0.6075, allocations: 383.1 kB / 0.5659 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004834/0.6124, allocations: 0.5122 MB / 0.5664 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04139/0.6539, allocations: 15.51 MB / 0.5816 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004214/0.6543, allocations: 70.42 kB / 0.5816 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002277/0.6566, allocations: 234.8 kB / 0.5818 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.6613, allocations: 2.539 MB / 0.5843 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03303/0.6944, allocations: 13.09 MB / 0.5971 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/0.7947, allocations: 57.34 MB / 0.6531 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/0.8141, allocations: 6.372 MB / 0.6593 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005601/0.8197, allocations: 3.445 MB / 0.6627 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02704/0.8468, allocations: 11.57 MB / 0.674 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.847, allocations: 60.55 kB / 0.6741 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 9.248e-06/0.847, allocations: 4 kB / 0.6741 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1523/0.9994, allocations: 39.61 MB / 0.7127 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.9995, allocations: 242.8 kB / 0.713 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009807/1.009, allocations: 5.743 MB / 0.7186 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009728/1.01, allocations: 77.7 kB / 0.7187 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00367/1.014, allocations: 4.357 MB / 0.7229 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.016, allocations: 1.267 MB / 0.7242 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00302/1.019, allocations: 1.753 MB / 0.7259 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.019, allocations: 301.1 kB / 0.7262 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006637/1.026, allocations: 4.089 MB / 0.7301 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2998/1.326, allocations: 8.66 MB / 0.7386 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01843/1.344, allocations: 13.55 MB / 0.7518 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002602/1.345, allocations: 45.16 kB / 0.7519 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03859/1.383, allocations: 16.38 MB / 0.7679 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/1.383, allocations: 74.28 kB / 0.7679 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/1.384, allocations: 158.5 kB / 0.7681 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01352/1.397, allocations: 4.284 MB / 0.7723 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006873/1.404, allocations: 1.898 MB / 0.7741 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/1.433, allocations: 21.54 MB / 0.7952 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007978/1.441, allocations: 0.5031 MB / 0.7957 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/1.443, allocations: 482.3 kB / 0.7961 GB, free: 161.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005507/1.448, allocations: 3.136 MB / 0.7992 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.45, allocations: 0.5166 MB / 0.7997 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.469, allocations: 10.12 MB / 0.8096 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/1.469, allocations: 36 kB / 0.8096 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/1.469, allocations: 16 kB / 0.8096 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-05/1.469, allocations: 15.94 kB / 0.8096 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03739/1.506, allocations: 20.05 MB / 0.8292 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/1.506, allocations: 4 kB / 0.8292 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/1.509, allocations: 0.4953 MB / 0.8297 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/1.521, allocations: 3.833 MB / 0.8334 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/1.522, allocations: 69.88 kB / 0.8335 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/1.546, allocations: 19.11 MB / 0.8522 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.546, allocations: 12.06 kB / 0.8522 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/1.571, allocations: 14.91 MB / 0.8667 GB, free: 89.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00449/1.576, allocations: 1.177 MB / 0.8679 GB, free: 88.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/1.577, allocations: 61.94 kB / 0.8679 GB, free: 88.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003462/1.581, allocations: 235.7 kB / 0.8682 GB, free: 88.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007323/1.581, allocations: 227.5 kB / 0.8684 GB, free: 88.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/1.582, allocations: 95.98 kB / 0.8685 GB, free: 87.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005685/1.587, allocations: 3.624 MB / 0.872 GB, free: 84.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.71e-07/1.587, allocations: 0 / 0.872 GB, free: 84.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009782/1.597, allocations: 1.795 MB / 0.8738 GB, free: 82.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009202/1.598, allocations: 257.5 kB / 0.874 GB, free: 82.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.612, allocations: 9.844 MB / 0.8836 GB, free: 72.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.612, allocations: 4 kB / 0.8836 GB, free: 72.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004922/1.617, allocations: 3.784 MB / 0.8873 GB, free: 68.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005075/1.622, allocations: 0.7402 MB / 0.888 GB, free: 68.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/1.651, allocations: 15.93 MB / 0.9036 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006294/1.657, allocations: 4.838 MB / 0.9083 GB, free: 47.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006004/1.664, allocations: 2.585 MB / 0.9109 GB, free: 44.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.665, allocations: 351.4 kB / 0.9112 GB, free: 44.16 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.665, allocations: 0 / 0.9112 GB, free: 44.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.3945/2.06, allocations: 74.91 MB / 0.9843 GB, free: 174.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)