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.001364/0.001364, 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.001889/0.001889, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.763/1.763, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.4534/0.4534, allocations: 39.93 MB / 309.4 MB, free: 9.32 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.001511/0.001511, allocations: 67.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 56.89 MB / 434 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3772/0.5283, allocations: 73.26 MB / 0.4954 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04627/0.5746, allocations: 14.6 MB / 0.5096 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02425/0.5989, allocations: 327.2 kB / 0.5099 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.6102, allocations: 4.194 MB / 0.514 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.6218, allocations: 2.568 MB / 0.5165 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00497/0.6268, allocations: 1.383 MB / 0.5179 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01855/0.6454, allocations: 8.373 MB / 0.5261 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/0.6593, allocations: 5.672 MB / 0.5316 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009753/0.6691, allocations: 2.754 MB / 0.5343 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009144/0.6783, allocations: 4.273 MB / 0.5385 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004252/0.6826, allocations: 0.5352 MB / 0.539 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006898/0.6895, allocations: 1.643 MB / 0.5406 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007457/0.6971, allocations: 3.402 MB / 0.5439 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009662/0.7067, allocations: 3.701 MB / 0.5475 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.7253, allocations: 10.95 MB / 0.5582 GB, free: 9.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.7254, allocations: 4 kB / 0.5582 GB, free: 9.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7254, allocations: 0 / 0.5582 GB, free: 9.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005925/0.726, allocations: 0 / 0.5582 GB, free: 9.559 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.02974/0.7557, allocations: 8.233 MB / 0.5663 GB, free: 1.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.7558, allocations: 19.89 kB / 0.5663 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02971/0.7855, allocations: 3.669 MB / 0.5699 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/0.8012, allocations: 5.501 MB / 0.5752 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004968/0.8018, allocations: 365.8 kB / 0.5756 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/0.8048, allocations: 0.5154 MB / 0.5761 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03912/0.844, allocations: 16.24 MB / 0.592 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004564/0.8445, allocations: 75.36 kB / 0.592 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002422/0.8469, allocations: 235.8 kB / 0.5923 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005306/0.8522, allocations: 2.934 MB / 0.5951 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03354/0.8858, allocations: 13.7 MB / 0.6085 GB, free: 4.801 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.4004/1.286, allocations: 64.84 MB / 0.6718 GB, free: 99.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01982/1.306, allocations: 7.863 MB / 0.6795 GB, free: 97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006015/1.312, allocations: 4.35 MB / 0.6837 GB, free: 95.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03152/1.344, allocations: 19.36 MB / 0.7027 GB, free: 85.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/1.344, allocations: 72.14 kB / 0.7027 GB, free: 84.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.873e-06/1.344, allocations: 3.938 kB / 0.7027 GB, free: 84.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1515/1.495, allocations: 49.9 MB / 0.7515 GB, free: 53.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.495, allocations: 273.4 kB / 0.7517 GB, free: 52.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007421/1.503, allocations: 6.091 MB / 0.7577 GB, free: 46.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009907/1.504, allocations: 85.22 kB / 0.7577 GB, free: 46.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.506, allocations: 4.684 MB / 0.7623 GB, free: 41.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/1.508, allocations: 1.374 MB / 0.7637 GB, free: 40.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/1.51, allocations: 1.905 MB / 0.7655 GB, free: 38.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/1.51, allocations: 301.1 kB / 0.7658 GB, free: 38.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004771/1.515, allocations: 4.224 MB / 0.7699 GB, free: 34.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006752/1.522, allocations: 9.449 MB / 0.7792 GB, free: 22.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.535, allocations: 14.64 MB / 0.7935 GB, free: 5.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.535, allocations: 52 kB / 0.7935 GB, free: 4.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04045/1.576, allocations: 17.55 MB / 0.8106 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.576, allocations: 85.91 kB / 0.8107 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002694/1.576, allocations: 180 kB / 0.8109 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2258/1.802, allocations: 4.56 MB / 0.8154 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008071/1.81, allocations: 2.126 MB / 0.8174 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03242/1.843, allocations: 25.39 MB / 0.8422 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008925/1.852, allocations: 0.5208 MB / 0.8427 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00219/1.854, allocations: 0.541 MB / 0.8433 GB, free: 131.9 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.00747/1.861, allocations: 3.13 MB / 0.8463 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.863, allocations: 0.5652 MB / 0.8469 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/1.888, allocations: 10.7 MB / 0.8573 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/1.888, allocations: 46.25 kB / 0.8574 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/1.888, allocations: 17.59 kB / 0.8574 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001393/1.888, allocations: 17.81 kB / 0.8574 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04312/1.931, allocations: 20.53 MB / 0.8775 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/1.931, allocations: 0 / 0.8775 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.934, allocations: 0.5369 MB / 0.878 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01247/1.947, allocations: 4.197 MB / 0.8821 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009152/1.948, allocations: 65.23 kB / 0.8821 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02676/1.974, allocations: 23.13 MB / 0.9047 GB, free: 97.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.975, allocations: 4 kB / 0.9047 GB, free: 97.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02463/1.999, allocations: 15.63 MB / 0.92 GB, free: 81.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003199/2.002, allocations: 1.179 MB / 0.9211 GB, free: 80.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/2.004, allocations: 56 kB / 0.9212 GB, free: 80.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/2.006, allocations: 225.5 kB / 0.9214 GB, free: 80.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007604/2.007, allocations: 228 kB / 0.9216 GB, free: 80.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/2.007, allocations: 95.98 kB / 0.9217 GB, free: 80.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005124/2.012, allocations: 3.805 MB / 0.9254 GB, free: 76.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/2.012, allocations: 0 / 0.9254 GB, free: 76.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009223/2.022, allocations: 1.931 MB / 0.9273 GB, free: 74.29 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.0009334/2.023, allocations: 225 kB / 0.9275 GB, free: 74.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02297/2.046, allocations: 15.43 MB / 0.9426 GB, free: 58.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.046, allocations: 0 / 0.9426 GB, free: 58.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005519/2.051, allocations: 4.124 MB / 0.9466 GB, free: 54.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/2.056, allocations: 0.7708 MB / 0.9474 GB, free: 53.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/2.082, allocations: 19.7 MB / 0.9666 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006689/2.089, allocations: 4.871 MB / 0.9714 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006561/2.096, allocations: 2.793 MB / 0.9741 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/2.097, allocations: 390.9 kB / 0.9745 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/2.097, allocations: 0 / 0.9745 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.399/2.496, allocations: 84.86 MB / 1.057 GB, free: 134.4 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (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)