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.006786/0.006786, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.0014/0.0014, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.451/1.451, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.1774/0.1774, allocations: 38 MB / 307.9 MB, free: 6.004 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.001442/0.001442, allocations: 73.78 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1307, allocations: 56.46 MB / 489.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0192/0.15, allocations: 16.05 MB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.1632, allocations: 5.457 MB / 0.499 GB, free: 308 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.1672, allocations: 111.6 kB / 0.4991 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.1773, allocations: 5.132 MB / 0.5041 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00891/0.1863, allocations: 2.716 MB / 0.5067 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.1902, allocations: 1.392 MB / 0.5081 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.296/0.4862, allocations: 7.591 MB / 0.5155 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.4973, allocations: 7.024 MB / 0.5224 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007077/0.5044, allocations: 2.787 MB / 0.5251 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007633/0.5121, allocations: 3.764 MB / 0.5288 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002994/0.5151, allocations: 0.6344 MB / 0.5294 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.5202, allocations: 1.792 MB / 0.5311 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004765/0.525, allocations: 3.388 MB / 0.5344 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005035/0.5301, allocations: 3.713 MB / 0.5381 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.5437, allocations: 12 MB / 0.5498 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5438, allocations: 1.688 kB / 0.5498 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5438, allocations: 0 / 0.5498 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003866/0.5442, allocations: 0 / 0.5498 GB, free: 12.07 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.01786/0.5621, allocations: 7.925 MB / 0.5575 GB, free: 6.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5621, allocations: 12.7 kB / 0.5575 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.5752, allocations: 3.055 MB / 0.5605 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.5865, allocations: 5.282 MB / 0.5657 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.5869, allocations: 382.2 kB / 0.5661 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.5885, allocations: 0.5072 MB / 0.5666 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/0.6192, allocations: 15.52 MB / 0.5817 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/0.6194, allocations: 65.59 kB / 0.5818 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000634/0.6201, allocations: 233.9 kB / 0.582 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003459/0.6235, allocations: 2.549 MB / 0.5845 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/0.6523, allocations: 13.09 MB / 0.5973 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08962/0.7419, allocations: 57.34 MB / 0.6533 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/0.76, allocations: 6.379 MB / 0.6595 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005405/0.7655, allocations: 3.454 MB / 0.6629 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02285/0.7883, allocations: 11.56 MB / 0.6741 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/0.7885, allocations: 64.56 kB / 0.6742 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 9.017e-06/0.7885, allocations: 0 / 0.6742 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1463/0.9348, allocations: 39.62 MB / 0.7129 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.935, allocations: 251.1 kB / 0.7131 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/0.9481, allocations: 5.735 MB / 0.7187 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/0.9492, allocations: 77.7 kB / 0.7188 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004481/0.9537, allocations: 4.366 MB / 0.7231 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002476/0.9562, allocations: 1.265 MB / 0.7243 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006099/0.9624, allocations: 1.753 MB / 0.726 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9625, allocations: 301.1 kB / 0.7263 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007669/0.9702, allocations: 4.089 MB / 0.7303 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.347/1.317, allocations: 8.667 MB / 0.7388 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/1.336, allocations: 13.55 MB / 0.752 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003206/1.336, allocations: 46.06 kB / 0.752 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03782/1.374, allocations: 16.39 MB / 0.7681 GB, free: 175 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.374, allocations: 72.31 kB / 0.7681 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/1.375, allocations: 155.5 kB / 0.7683 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/1.387, allocations: 4.28 MB / 0.7724 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/1.393, allocations: 1.894 MB / 0.7743 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02628/1.42, allocations: 21.55 MB / 0.7953 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007323/1.427, allocations: 0.5029 MB / 0.7958 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/1.428, allocations: 487.7 kB / 0.7963 GB, free: 161.2 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.004825/1.433, allocations: 3.128 MB / 0.7993 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.434, allocations: 0.5166 MB / 0.7999 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.452, allocations: 10.11 MB / 0.8097 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-05/1.452, allocations: 36 kB / 0.8098 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.452, allocations: 19.06 kB / 0.8098 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/1.453, allocations: 15.94 kB / 0.8098 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03364/1.486, allocations: 20.05 MB / 0.8294 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/1.486, allocations: 11.98 kB / 0.8294 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.488, allocations: 0.4935 MB / 0.8299 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01114/1.5, allocations: 3.84 MB / 0.8336 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007242/1.5, allocations: 63.98 kB / 0.8337 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/1.523, allocations: 19.11 MB / 0.8523 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/1.523, allocations: 11.94 kB / 0.8523 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02219/1.545, allocations: 14.91 MB / 0.8669 GB, free: 89.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.548, allocations: 1.174 MB / 0.8681 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008713/1.549, allocations: 64 kB / 0.8681 GB, free: 88.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/1.551, allocations: 238.1 kB / 0.8683 GB, free: 88.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007159/1.552, allocations: 222.2 kB / 0.8686 GB, free: 87.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002536/1.552, allocations: 95.98 kB / 0.8686 GB, free: 87.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005121/1.557, allocations: 3.628 MB / 0.8722 GB, free: 84.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.532e-06/1.557, allocations: 0 / 0.8722 GB, free: 84.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00814/1.566, allocations: 1.796 MB / 0.8739 GB, free: 82.5 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.0007778/1.566, allocations: 251.5 kB / 0.8742 GB, free: 82.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.579, allocations: 9.844 MB / 0.8838 GB, free: 72.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.579, allocations: 4 kB / 0.8838 GB, free: 72.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004311/1.584, allocations: 3.789 MB / 0.8875 GB, free: 68.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/1.587, allocations: 0.7383 MB / 0.8882 GB, free: 67.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.61, allocations: 15.92 MB / 0.9038 GB, free: 51.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004454/1.614, allocations: 4.834 MB / 0.9085 GB, free: 46.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005165/1.62, allocations: 2.589 MB / 0.911 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.621, allocations: 351.4 kB / 0.9114 GB, free: 44.05 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/1.621, allocations: 0 / 0.9114 GB, free: 44.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.378/1.999, allocations: 74.91 MB / 0.9845 GB, free: 174.3 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)