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.0009219/0.0009221, allocations: 90.83 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.006966/0.006966, allocations: 171.7 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.372/1.372, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.2912/0.2912, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.0005508/0.0005509, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1002, allocations: 57.51 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.229/0.3293, allocations: 71.48 MB / 0.4942 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03107/0.3604, allocations: 14.64 MB / 0.5085 GB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01308/0.3736, allocations: 324.3 kB / 0.5088 GB, free: 132 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.3762, allocations: 0.6325 MB / 0.5094 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008/0.3842, allocations: 2.617 MB / 0.512 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.3879, allocations: 1.351 MB / 0.5133 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01726/0.4052, allocations: 11.43 MB / 0.5244 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/0.4174, allocations: 7.104 MB / 0.5314 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/0.4222, allocations: 2.09 MB / 0.5334 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005994/0.4282, allocations: 3.701 MB / 0.537 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.4298, allocations: 248 kB / 0.5373 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.4338, allocations: 1.404 MB / 0.5386 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00426/0.4381, allocations: 3.05 MB / 0.5416 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005756/0.4439, allocations: 3.293 MB / 0.5448 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.4594, allocations: 10.46 MB / 0.555 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4594, allocations: 4 kB / 0.555 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4594, allocations: 0 / 0.555 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005137/0.46, allocations: 0 / 0.555 GB, free: 0.5703 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01891/0.4789, allocations: 6.83 MB / 0.5617 GB, free: 9.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.479, allocations: 12.03 kB / 0.5617 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02906/0.508, allocations: 3.759 MB / 0.5654 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.5214, allocations: 5.489 MB / 0.5708 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.5219, allocations: 365.9 kB / 0.5711 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/0.5243, allocations: 0.5192 MB / 0.5716 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/0.5577, allocations: 16.3 MB / 0.5875 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/0.5581, allocations: 75.36 kB / 0.5876 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/0.5597, allocations: 235.8 kB / 0.5878 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00478/0.5645, allocations: 2.934 MB / 0.5907 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.5919, allocations: 13.77 MB / 0.6041 GB, free: 13.01 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.2955/0.8875, allocations: 64.83 MB / 0.6675 GB, free: 103.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/0.9081, allocations: 7.972 MB / 0.6752 GB, free: 102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004749/0.9129, allocations: 4.344 MB / 0.6795 GB, free: 100.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02587/0.9388, allocations: 19.38 MB / 0.6984 GB, free: 89.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.9389, allocations: 61.69 kB / 0.6985 GB, free: 89.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.4e-06/0.9389, allocations: 0 / 0.6985 GB, free: 89.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1553/1.094, allocations: 50.6 MB / 0.7479 GB, free: 59.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/1.094, allocations: 273.8 kB / 0.7481 GB, free: 58.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/1.102, allocations: 6.095 MB / 0.7541 GB, free: 52.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007688/1.103, allocations: 81.7 kB / 0.7542 GB, free: 52.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.105, allocations: 4.674 MB / 0.7587 GB, free: 48.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.106, allocations: 1.37 MB / 0.7601 GB, free: 46.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009661/1.107, allocations: 0.8202 MB / 0.7609 GB, free: 45.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.388e-05/1.107, allocations: 301.1 kB / 0.7612 GB, free: 45.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/1.112, allocations: 4.227 MB / 0.7653 GB, free: 41.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008105/1.12, allocations: 9.457 MB / 0.7745 GB, free: 29.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/1.135, allocations: 14.64 MB / 0.7888 GB, free: 12.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.135, allocations: 52 kB / 0.7889 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03308/1.168, allocations: 17.59 MB / 0.806 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.168, allocations: 80 kB / 0.8061 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/1.168, allocations: 184.8 kB / 0.8063 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/1.184, allocations: 4.588 MB / 0.8108 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/1.192, allocations: 2.125 MB / 0.8129 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2588/1.451, allocations: 23.75 MB / 0.836 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008263/1.459, allocations: 0.5319 MB / 0.8366 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.461, allocations: 0.5309 MB / 0.8371 GB, free: 151.6 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.008168/1.47, allocations: 3.129 MB / 0.8401 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.471, allocations: 0.562 MB / 0.8407 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/1.494, allocations: 10.76 MB / 0.8512 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.035e-05/1.494, allocations: 43.66 kB / 0.8512 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.813e-05/1.494, allocations: 18.69 kB / 0.8513 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/1.494, allocations: 20.06 kB / 0.8513 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04608/1.54, allocations: 20.55 MB / 0.8713 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.026e-05/1.54, allocations: 0.6562 kB / 0.8713 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003513/1.544, allocations: 0.5362 MB / 0.8719 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.015/1.559, allocations: 4.229 MB / 0.876 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/1.56, allocations: 65.61 kB / 0.8761 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03002/1.59, allocations: 21.56 MB / 0.8971 GB, free: 132.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.59, allocations: 10.8 kB / 0.8971 GB, free: 132.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/1.617, allocations: 15.67 MB / 0.9124 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00371/1.621, allocations: 1.182 MB / 0.9136 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001757/1.623, allocations: 59.98 kB / 0.9136 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003753/1.626, allocations: 227 kB / 0.9139 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009495/1.627, allocations: 232.7 kB / 0.9141 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.628, allocations: 99.92 kB / 0.9142 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006477/1.634, allocations: 3.805 MB / 0.9179 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.163e-06/1.634, allocations: 0 / 0.9179 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01031/1.644, allocations: 1.939 MB / 0.9198 GB, free: 116.3 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.0009403/1.645, allocations: 212.7 kB / 0.92 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01532/1.661, allocations: 10.52 MB / 0.9303 GB, free: 105.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.661, allocations: 0 / 0.9303 GB, free: 105.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005567/1.666, allocations: 4.131 MB / 0.9343 GB, free: 101.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005258/1.672, allocations: 0.7238 MB / 0.935 GB, free: 100.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.699, allocations: 19.79 MB / 0.9543 GB, free: 81.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006443/1.706, allocations: 4.877 MB / 0.9591 GB, free: 76.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007759/1.713, allocations: 2.793 MB / 0.9618 GB, free: 73.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/1.716, allocations: 387.4 kB / 0.9622 GB, free: 72.97 MB / 0.5137 GB Notification: Performance of SimCode: time 2.384e-06/1.716, allocations: 0 / 0.9622 GB, free: 72.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.3607/2.076, allocations: 80.32 MB / 1.041 GB, free: 137.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: