Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001454/0.001455, allocations: 188.3 kB / 16.25 MB, free: 6.633 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.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3401/0.3401, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.001427/0.001427, allocations: 74.41 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1493, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.2796/0.4289, allocations: 73.27 MB / 0.4926 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03421/0.4632, allocations: 14.6 MB / 0.5069 GB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0172/0.4805, allocations: 327.3 kB / 0.5072 GB, free: 128 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009105/0.4896, allocations: 4.192 MB / 0.5113 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4998, allocations: 2.568 MB / 0.5138 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004569/0.5044, allocations: 1.383 MB / 0.5152 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01774/0.5222, allocations: 8.372 MB / 0.5233 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.5329, allocations: 5.669 MB / 0.5289 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006684/0.5397, allocations: 2.76 MB / 0.5316 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00866/0.5484, allocations: 4.267 MB / 0.5357 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002775/0.5512, allocations: 0.5352 MB / 0.5363 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005628/0.5568, allocations: 1.635 MB / 0.5379 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005665/0.5625, allocations: 3.406 MB / 0.5412 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009603/0.5722, allocations: 3.701 MB / 0.5448 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01971/0.5919, allocations: 10.95 MB / 0.5555 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.592, allocations: 0 / 0.5555 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.592, allocations: 0 / 0.5555 GB, free: 13.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005013/0.5925, allocations: 0 / 0.5555 GB, free: 13.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02212/0.6146, allocations: 8.233 MB / 0.5635 GB, free: 5.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6147, allocations: 15.83 kB / 0.5636 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/0.6445, allocations: 3.681 MB / 0.5672 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.6593, allocations: 5.493 MB / 0.5725 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.6597, allocations: 369.9 kB / 0.5729 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002389/0.6621, allocations: 0.5116 MB / 0.5734 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/0.6978, allocations: 16.24 MB / 0.5892 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000463/0.6983, allocations: 87.23 kB / 0.5893 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002404/0.7008, allocations: 231.8 kB / 0.5895 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005216/0.706, allocations: 2.93 MB / 0.5924 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0303/0.7363, allocations: 13.71 MB / 0.6058 GB, free: 8.953 MB / 478.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.3381/1.074, allocations: 64.83 MB / 0.6691 GB, free: 102.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/1.095, allocations: 7.862 MB / 0.6768 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005504/1.101, allocations: 4.343 MB / 0.681 GB, free: 98.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03252/1.133, allocations: 19.38 MB / 0.6999 GB, free: 88.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.865e-05/1.134, allocations: 64.05 kB / 0.7 GB, free: 88.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 8.255e-06/1.134, allocations: 5.156 kB / 0.7 GB, free: 88.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1658/1.299, allocations: 49.91 MB / 0.7487 GB, free: 59.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.3, allocations: 277.4 kB / 0.749 GB, free: 59.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00959/1.309, allocations: 6.087 MB / 0.755 GB, free: 53.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009203/1.31, allocations: 81.7 kB / 0.755 GB, free: 53.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/1.312, allocations: 4.688 MB / 0.7596 GB, free: 48.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.314, allocations: 1.373 MB / 0.7609 GB, free: 47.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003327/1.317, allocations: 1.912 MB / 0.7628 GB, free: 45.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/1.317, allocations: 301.1 kB / 0.7631 GB, free: 44.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/1.322, allocations: 4.22 MB / 0.7672 GB, free: 40.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008237/1.33, allocations: 9.453 MB / 0.7765 GB, free: 28.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.345, allocations: 14.63 MB / 0.7907 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/1.345, allocations: 52 kB / 0.7908 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03734/1.382, allocations: 17.55 MB / 0.8079 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002656/1.383, allocations: 80.94 kB / 0.808 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003133/1.383, allocations: 184 kB / 0.8082 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01468/1.398, allocations: 4.554 MB / 0.8126 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007598/1.405, allocations: 2.14 MB / 0.8147 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.24/1.645, allocations: 25.38 MB / 0.8395 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007448/1.653, allocations: 0.5176 MB / 0.84 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.654, allocations: 0.5361 MB / 0.8405 GB, free: 133.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004986/1.659, allocations: 3.131 MB / 0.8436 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.66, allocations: 0.5695 MB / 0.8441 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02201/1.682, allocations: 10.71 MB / 0.8546 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.953e-05/1.683, allocations: 38.34 kB / 0.8546 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.29e-05/1.683, allocations: 17.78 kB / 0.8547 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/1.683, allocations: 18.39 kB / 0.8547 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04306/1.726, allocations: 20.54 MB / 0.8747 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-05/1.726, allocations: 1.656 kB / 0.8747 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/1.729, allocations: 0.5316 MB / 0.8753 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01231/1.741, allocations: 4.197 MB / 0.8794 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009489/1.742, allocations: 64.8 kB / 0.8794 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02837/1.771, allocations: 23.14 MB / 0.902 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.771, allocations: 0 / 0.902 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02552/1.796, allocations: 15.62 MB / 0.9173 GB, free: 89.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003093/1.799, allocations: 1.186 MB / 0.9184 GB, free: 88.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/1.801, allocations: 56 kB / 0.9185 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.804, allocations: 223.7 kB / 0.9187 GB, free: 88.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008699/1.805, allocations: 232 kB / 0.9189 GB, free: 88.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.805, allocations: 95.58 kB / 0.919 GB, free: 88.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005466/1.81, allocations: 3.805 MB / 0.9227 GB, free: 84.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.81, allocations: 2.375 kB / 0.9227 GB, free: 84.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008767/1.819, allocations: 1.935 MB / 0.9246 GB, free: 82.28 MB / 0.4981 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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007886/1.82, allocations: 226.8 kB / 0.9248 GB, free: 82.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02312/1.843, allocations: 15.42 MB / 0.9399 GB, free: 66.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.843, allocations: 0 / 0.9399 GB, free: 66.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/1.849, allocations: 4.122 MB / 0.9439 GB, free: 62.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/1.854, allocations: 0.7687 MB / 0.9447 GB, free: 61.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/1.882, allocations: 19.71 MB / 0.9639 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00701/1.889, allocations: 4.875 MB / 0.9687 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007641/1.897, allocations: 2.785 MB / 0.9714 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.899, allocations: 383.4 kB / 0.9718 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.899, allocations: 0 / 0.9718 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.3575/2.256, allocations: 84.87 MB / 1.055 GB, free: 121.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)