Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008518/0.008518, allocations: 107.4 kB / 15.74 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.001472/0.001472, allocations: 197.9 kB / 16.67 MB, free: 5.508 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.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 4.465 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3896/0.3896, allocations: 39.94 MB / 309.8 MB, free: 9.426 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.2. 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.001545/0.001545, allocations: 68.52 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3719, allocations: 56.87 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01464/0.3866, allocations: 15.05 MB / 0.4958 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.3996, allocations: 5.011 MB / 0.5007 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004715/0.4043, allocations: 102.1 kB / 0.5008 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008226/0.4126, allocations: 4.021 MB / 0.5047 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.4227, allocations: 2.355 MB / 0.507 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.4268, allocations: 1.165 MB / 0.5082 GB, free: 144 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0131/0.4399, allocations: 6.169 MB / 0.5142 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009635/0.4496, allocations: 4.705 MB / 0.5188 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/0.4553, allocations: 2.208 MB / 0.5209 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00537/0.4607, allocations: 3.041 MB / 0.5239 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.4623, allocations: 460 kB / 0.5243 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/0.4669, allocations: 1.545 MB / 0.5259 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004845/0.4718, allocations: 2.774 MB / 0.5286 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005216/0.477, allocations: 3.014 MB / 0.5315 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4888, allocations: 9.464 MB / 0.5408 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4889, allocations: 0 / 0.5408 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4889, allocations: 0 / 0.5408 GB, free: 3.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003154/0.4892, allocations: 0 / 0.5408 GB, free: 3.09 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01822/0.5075, allocations: 6.753 MB / 0.5473 GB, free: 12.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.5075, allocations: 11.89 kB / 0.5474 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/0.5364, allocations: 3.304 MB / 0.5506 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.5489, allocations: 4.289 MB / 0.5548 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.5492, allocations: 308.4 kB / 0.5551 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.551, allocations: 427.6 kB / 0.5555 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.5784, allocations: 13.82 MB / 0.569 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.5786, allocations: 59.44 kB / 0.569 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000635/0.5793, allocations: 191.8 kB / 0.5692 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004457/0.5837, allocations: 2.531 MB / 0.5717 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03028/0.6141, allocations: 11.81 MB / 0.5832 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3668/0.9809, allocations: 53.48 MB / 0.6354 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/0.9983, allocations: 5.914 MB / 0.6412 GB, free: 113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00539/1.004, allocations: 3.596 MB / 0.6447 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02575/1.03, allocations: 15.43 MB / 0.6598 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/1.03, allocations: 66.12 kB / 0.6599 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 5.741e-06/1.03, allocations: 0 / 0.6599 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.08525/1.115, allocations: 28.65 MB / 0.6878 GB, free: 92.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/1.115, allocations: 258.7 kB / 0.6881 GB, free: 92.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006968/1.122, allocations: 5.085 MB / 0.693 GB, free: 88.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/1.123, allocations: 65.7 kB / 0.6931 GB, free: 88.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002244/1.125, allocations: 3.895 MB / 0.6969 GB, free: 84.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.126, allocations: 1.003 MB / 0.6979 GB, free: 83.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.128, allocations: 1.539 MB / 0.6994 GB, free: 82.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.717e-05/1.128, allocations: 313.1 kB / 0.6997 GB, free: 82.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/1.131, allocations: 3.002 MB / 0.7026 GB, free: 79.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004648/1.136, allocations: 7.357 MB / 0.7098 GB, free: 69.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009512/1.146, allocations: 11.08 MB / 0.7206 GB, free: 56.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.146, allocations: 44 kB / 0.7207 GB, free: 56.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01753/1.163, allocations: 11.2 MB / 0.7316 GB, free: 45.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/1.163, allocations: 72 kB / 0.7317 GB, free: 45.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/1.164, allocations: 148 kB / 0.7318 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/1.166, allocations: 1.233 MB / 0.733 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006217/1.173, allocations: 1.833 MB / 0.7348 GB, free: 42.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00842/1.181, allocations: 8.368 MB / 0.743 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/1.187, allocations: 431.3 kB / 0.7434 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.189, allocations: 452 kB / 0.7438 GB, free: 32.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[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],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (954): * Single equations (assignments): 949 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003677/1.192, allocations: 2.632 MB / 0.7464 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/1.193, allocations: 466 kB / 0.7468 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/1.2, allocations: 5.238 MB / 0.752 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/1.2, allocations: 29.02 kB / 0.752 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.2, allocations: 8 kB / 0.752 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/1.2, allocations: 11.95 kB / 0.752 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/1.22, allocations: 11.65 MB / 0.7634 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.22, allocations: 3.938 kB / 0.7634 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.223, allocations: 0.4954 MB / 0.7639 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/1.225, allocations: 0.9847 MB / 0.7648 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/1.226, allocations: 49.05 kB / 0.7649 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007158/1.233, allocations: 7.695 MB / 0.7724 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.233, allocations: 3.938 kB / 0.7724 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.248, allocations: 8.735 MB / 0.7809 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003566/1.251, allocations: 0.8777 MB / 0.7818 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.253, allocations: 44 kB / 0.7818 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/1.255, allocations: 171.8 kB / 0.782 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/1.256, allocations: 149.7 kB / 0.7821 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.256, allocations: 75.89 kB / 0.7822 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004878/1.261, allocations: 3.178 MB / 0.7853 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.843e-06/1.261, allocations: 112 / 0.7853 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005836/1.267, allocations: 1.374 MB / 0.7867 GB, free: 4.336 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004674/1.267, allocations: 196 kB / 0.7868 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.28, allocations: 7.328 MB / 0.794 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.28, allocations: 320 / 0.794 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003981/1.284, allocations: 2.568 MB / 0.7965 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/1.288, allocations: 0.5904 MB / 0.7971 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.313, allocations: 12.78 MB / 0.8096 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006651/1.319, allocations: 4.117 MB / 0.8136 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006359/1.326, allocations: 2.365 MB / 0.8159 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.327, allocations: 319.4 kB / 0.8162 GB, free: 6.012 MB / 0.545 GB Notification: Performance of SimCode: time 1.392e-06/1.327, allocations: 0 / 0.8162 GB, free: 6.012 MB / 0.545 GB Notification: Performance of Templates: time 0.3896/1.716, allocations: 48.05 MB / 0.8631 GB, free: 184.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)