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.0007683/0.0007683, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005668/0.005668, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.38/1.38, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.2852/0.2852, allocations: 38.03 MB / 308.8 MB, free: 10.28 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.0005718/0.0005718, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2516/0.3595, allocations: 66.78 MB / 0.4896 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02631/0.3858, allocations: 14.18 MB / 0.5034 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01302/0.3989, allocations: 303.6 kB / 0.5037 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.4012, allocations: 0.5982 MB / 0.5043 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007831/0.409, allocations: 2.487 MB / 0.5067 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.4128, allocations: 1.278 MB / 0.508 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01777/0.4306, allocations: 10.92 MB / 0.5187 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01574/0.4464, allocations: 9.548 MB / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/0.4512, allocations: 2.002 MB / 0.5299 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00596/0.4572, allocations: 3.393 MB / 0.5332 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001641/0.4589, allocations: 240 kB / 0.5335 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.4633, allocations: 1.474 MB / 0.5349 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004492/0.4678, allocations: 2.894 MB / 0.5377 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00703/0.4749, allocations: 3.185 MB / 0.5409 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.49, allocations: 11.17 MB / 0.5518 GB, free: 3.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.49, allocations: 0 / 0.5518 GB, free: 3.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4901, allocations: 4 kB / 0.5518 GB, free: 3.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005818/0.4906, allocations: 0 / 0.5518 GB, free: 3.922 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.01746/0.5081, allocations: 6.528 MB / 0.5581 GB, free: 13.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5082, allocations: 12.03 kB / 0.5582 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.5235, allocations: 3.116 MB / 0.5612 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.5357, allocations: 5.17 MB / 0.5662 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.5362, allocations: 382.4 kB / 0.5666 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.5384, allocations: 0.5152 MB / 0.5671 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/0.5746, allocations: 15.56 MB / 0.5823 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003564/0.575, allocations: 63.44 kB / 0.5824 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002124/0.5772, allocations: 235.8 kB / 0.5826 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/0.5815, allocations: 2.548 MB / 0.5851 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03044/0.612, allocations: 13.14 MB / 0.5979 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3165/0.9285, allocations: 57.58 MB / 0.6541 GB, free: 107.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/0.9444, allocations: 6.414 MB / 0.6604 GB, free: 107 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004297/0.9487, allocations: 3.447 MB / 0.6638 GB, free: 106.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0153/0.9641, allocations: 11.57 MB / 0.6751 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.9642, allocations: 61.09 kB / 0.6751 GB, free: 100.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.019e-06/0.9642, allocations: 0 / 0.6751 GB, free: 100.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1307/1.095, allocations: 39.66 MB / 0.7139 GB, free: 88.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/1.095, allocations: 238.6 kB / 0.7141 GB, free: 88.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006665/1.102, allocations: 5.736 MB / 0.7197 GB, free: 83.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007088/1.102, allocations: 77.7 kB / 0.7198 GB, free: 83.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.104, allocations: 4.351 MB / 0.724 GB, free: 79.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/1.106, allocations: 1.256 MB / 0.7252 GB, free: 77.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008217/1.106, allocations: 0.7625 MB / 0.726 GB, free: 77.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/1.106, allocations: 305.1 kB / 0.7263 GB, free: 76.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004687/1.111, allocations: 4.085 MB / 0.7303 GB, free: 72.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/1.117, allocations: 8.671 MB / 0.7387 GB, free: 61.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/1.129, allocations: 13.56 MB / 0.752 GB, free: 46.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.534e-05/1.129, allocations: 44 kB / 0.752 GB, free: 46.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02795/1.157, allocations: 16.38 MB / 0.768 GB, free: 29.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/1.158, allocations: 72 kB / 0.7681 GB, free: 29.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/1.158, allocations: 164 kB / 0.7682 GB, free: 29.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/1.17, allocations: 4.292 MB / 0.7724 GB, free: 25.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/1.177, allocations: 1.901 MB / 0.7743 GB, free: 23.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/1.203, allocations: 20.18 MB / 0.794 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007589/1.211, allocations: 0.507 MB / 0.7945 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002418/1.213, allocations: 484 kB / 0.795 GB, free: 1.934 MB / 494.1 MB 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.008486/1.222, allocations: 3.13 MB / 0.798 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/1.224, allocations: 0.5168 MB / 0.7985 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02472/1.248, allocations: 10.11 MB / 0.8084 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.624e-05/1.248, allocations: 36 kB / 0.8084 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-05/1.248, allocations: 16 kB / 0.8084 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.54e-05/1.248, allocations: 15.94 kB / 0.8085 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3024/1.551, allocations: 20.16 MB / 0.8281 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/1.551, allocations: 6.312 kB / 0.8281 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.553, allocations: 0.4992 MB / 0.8286 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/1.565, allocations: 3.84 MB / 0.8324 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006016/1.566, allocations: 68.23 kB / 0.8325 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02379/1.59, allocations: 17.81 MB / 0.8498 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.59, allocations: 12.88 kB / 0.8499 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02799/1.618, allocations: 14.9 MB / 0.8644 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003338/1.621, allocations: 1.183 MB / 0.8656 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.622, allocations: 61.53 kB / 0.8656 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.625, allocations: 238 kB / 0.8658 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008438/1.626, allocations: 226.4 kB / 0.8661 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002752/1.627, allocations: 97.23 kB / 0.8662 GB, free: 142 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008691/1.635, allocations: 3.63 MB / 0.8697 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.62e-07/1.635, allocations: 0 / 0.8697 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01216/1.647, allocations: 1.786 MB / 0.8714 GB, free: 140.6 MB / 0.5137 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.001452/1.649, allocations: 267.3 kB / 0.8717 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01667/1.666, allocations: 9.806 MB / 0.8813 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.666, allocations: 1.75 kB / 0.8813 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005681/1.671, allocations: 3.79 MB / 0.885 GB, free: 135 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/1.683, allocations: 0.6817 MB / 0.8856 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/1.71, allocations: 19.28 MB / 0.9045 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005995/1.716, allocations: 4.839 MB / 0.9092 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006216/1.722, allocations: 2.583 MB / 0.9117 GB, free: 119.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.723, allocations: 346.9 kB / 0.9121 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/1.723, allocations: 0 / 0.9121 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1031/1.826, allocations: 74.46 MB / 0.9848 GB, free: 46.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: