Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009563/0.0009562, allocations: 91.77 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.007886/0.007886, allocations: 170.8 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.815/1.815, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.4423/0.4423, allocations: 40 MB / 310.7 MB, free: 9.66 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.000676/0.0006763, allocations: 12 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1575, allocations: 57.96 MB / 437.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3754/0.533, allocations: 71.48 MB / 0.497 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04663/0.5797, allocations: 14.63 MB / 0.5112 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02481/0.6045, allocations: 325.1 kB / 0.5116 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.6083, allocations: 0.6291 MB / 0.5122 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.6192, allocations: 2.616 MB / 0.5147 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.6253, allocations: 1.348 MB / 0.516 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02364/0.6489, allocations: 11.44 MB / 0.5272 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/0.6636, allocations: 7.121 MB / 0.5342 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007687/0.6714, allocations: 2.081 MB / 0.5362 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008937/0.6804, allocations: 3.703 MB / 0.5398 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00245/0.6829, allocations: 248 kB / 0.54 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006404/0.6893, allocations: 1.412 MB / 0.5414 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006227/0.6956, allocations: 3.042 MB / 0.5444 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00843/0.704, allocations: 3.293 MB / 0.5476 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/0.7213, allocations: 10.46 MB / 0.5578 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.7214, allocations: 0 / 0.5578 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.7214, allocations: 0 / 0.5578 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000547/0.722, allocations: 0 / 0.5578 GB, free: 12.05 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.02134/0.7433, allocations: 6.822 MB / 0.5645 GB, free: 5.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.7434, allocations: 8.031 kB / 0.5645 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03212/0.7755, allocations: 3.767 MB / 0.5682 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/0.7914, allocations: 5.489 MB / 0.5735 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.7919, allocations: 369.8 kB / 0.5739 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002782/0.7947, allocations: 0.5115 MB / 0.5744 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04328/0.838, allocations: 16.3 MB / 0.5903 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005685/0.8387, allocations: 79.22 kB / 0.5904 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002763/0.8415, allocations: 235.8 kB / 0.5906 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005953/0.8474, allocations: 2.927 MB / 0.5935 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/0.8822, allocations: 13.77 MB / 0.6069 GB, free: 8.5 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.4042/1.286, allocations: 64.83 MB / 0.6702 GB, free: 97.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02195/1.308, allocations: 7.97 MB / 0.678 GB, free: 96.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006026/1.315, allocations: 4.346 MB / 0.6823 GB, free: 94.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03673/1.351, allocations: 19.36 MB / 0.7012 GB, free: 84.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.277e-05/1.351, allocations: 79.14 kB / 0.7012 GB, free: 84.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 9.618e-06/1.351, allocations: 0 / 0.7012 GB, free: 84.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1814/1.533, allocations: 50.6 MB / 0.7507 GB, free: 54.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/1.533, allocations: 273.8 kB / 0.7509 GB, free: 54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/1.542, allocations: 6.087 MB / 0.7569 GB, free: 47.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009356/1.543, allocations: 81.7 kB / 0.7569 GB, free: 47.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.545, allocations: 4.676 MB / 0.7615 GB, free: 43.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.547, allocations: 1.374 MB / 0.7629 GB, free: 41.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009604/1.548, allocations: 0.8163 MB / 0.7636 GB, free: 40.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.875e-05/1.548, allocations: 301.1 kB / 0.7639 GB, free: 40.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005325/1.553, allocations: 4.227 MB / 0.7681 GB, free: 36.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007515/1.561, allocations: 9.453 MB / 0.7773 GB, free: 24.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/1.577, allocations: 14.63 MB / 0.7916 GB, free: 7.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/1.577, allocations: 52 kB / 0.7916 GB, free: 7.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03967/1.617, allocations: 17.6 MB / 0.8088 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.617, allocations: 80 kB / 0.8089 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/1.617, allocations: 180 kB / 0.8091 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01543/1.633, allocations: 4.593 MB / 0.8136 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/1.641, allocations: 2.121 MB / 0.8156 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3282/1.969, allocations: 23.74 MB / 0.8388 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008021/1.977, allocations: 0.5252 MB / 0.8393 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.979, allocations: 0.5414 MB / 0.8399 GB, free: 150.3 MB / 0.5137 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.00756/1.987, allocations: 3.123 MB / 0.8429 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.988, allocations: 0.5682 MB / 0.8435 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02202/2.01, allocations: 10.75 MB / 0.854 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.867e-05/2.01, allocations: 38.5 kB / 0.854 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-05/2.011, allocations: 14.81 kB / 0.854 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.425e-05/2.011, allocations: 22.36 kB / 0.854 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04755/2.058, allocations: 20.57 MB / 0.8741 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.104e-05/2.058, allocations: 1.156 kB / 0.8741 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/2.062, allocations: 0.5337 MB / 0.8746 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/2.077, allocations: 4.232 MB / 0.8788 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/2.078, allocations: 63.95 kB / 0.8788 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03041/2.108, allocations: 21.57 MB / 0.8999 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.108, allocations: 0 / 0.8999 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02837/2.137, allocations: 15.67 MB / 0.9152 GB, free: 117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003774/2.14, allocations: 1.192 MB / 0.9164 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/2.142, allocations: 63.31 kB / 0.9164 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/2.146, allocations: 220.8 kB / 0.9166 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/2.147, allocations: 226.2 kB / 0.9169 GB, free: 115.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/2.148, allocations: 99.27 kB / 0.917 GB, free: 115.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006324/2.154, allocations: 3.81 MB / 0.9207 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.8e-07/2.154, allocations: 0 / 0.9207 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009996/2.164, allocations: 1.935 MB / 0.9226 GB, free: 109.5 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 (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.0009399/2.165, allocations: 214.3 kB / 0.9228 GB, free: 109.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01474/2.18, allocations: 10.5 MB / 0.933 GB, free: 98.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.18, allocations: 0 / 0.933 GB, free: 98.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/2.185, allocations: 4.128 MB / 0.9371 GB, free: 94.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/2.19, allocations: 0.7344 MB / 0.9378 GB, free: 93.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/2.218, allocations: 19.81 MB / 0.9571 GB, free: 74.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006209/2.224, allocations: 4.879 MB / 0.9619 GB, free: 69.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006851/2.231, allocations: 2.79 MB / 0.9646 GB, free: 66.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/2.232, allocations: 379.4 kB / 0.965 GB, free: 66.09 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/2.232, allocations: 0 / 0.965 GB, free: 66.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.3731/2.605, allocations: 80.31 MB / 1.043 GB, free: 138.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: