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.008946/0.008946, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001495/0.001495, allocations: 196 kB / 16.67 MB, free: 5.969 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.4343/0.4343, allocations: 39.95 MB / 309.8 MB, free: 9.336 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.001641/0.001641, allocations: 67.91 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4206, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.0208/0.4415, allocations: 17.38 MB / 0.4981 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.4583, allocations: 5.492 MB / 0.5035 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006009/0.4644, allocations: 122.1 kB / 0.5036 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009127/0.4735, allocations: 4.367 MB / 0.5078 GB, free: 188 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.4848, allocations: 2.766 MB / 0.5105 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.4896, allocations: 1.465 MB / 0.512 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01624/0.5058, allocations: 8.148 MB / 0.5199 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007371/0.5133, allocations: 5.378 MB / 0.5252 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005534/0.5188, allocations: 2.683 MB / 0.5278 GB, free: 424 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007419/0.5263, allocations: 3.86 MB / 0.5316 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00235/0.5286, allocations: 0.543 MB / 0.5321 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/0.5336, allocations: 1.623 MB / 0.5337 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004484/0.5381, allocations: 3.402 MB / 0.537 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007359/0.5455, allocations: 3.666 MB / 0.5406 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02187/0.5674, allocations: 11.23 MB / 0.5515 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.5674, allocations: 0 / 0.5515 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5674, allocations: 0 / 0.5515 GB, free: 8.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004088/0.5679, allocations: 8 kB / 0.5516 GB, free: 8 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.02357/0.5914, allocations: 8.221 MB / 0.5596 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.5915, allocations: 15.89 kB / 0.5596 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03091/0.6224, allocations: 3.677 MB / 0.5632 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.6389, allocations: 5.598 MB / 0.5687 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/0.6395, allocations: 373.8 kB / 0.569 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/0.6422, allocations: 0.5114 MB / 0.5695 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/0.6766, allocations: 16.24 MB / 0.5854 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.6769, allocations: 83.3 kB / 0.5854 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007046/0.6776, allocations: 235.8 kB / 0.5857 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004691/0.6823, allocations: 2.927 MB / 0.5885 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/0.7139, allocations: 13.72 MB / 0.6019 GB, free: 3.137 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.4577/1.172, allocations: 64.54 MB / 0.665 GB, free: 83.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.195, allocations: 7.851 MB / 0.6726 GB, free: 81.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006726/1.202, allocations: 4.356 MB / 0.6769 GB, free: 79.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03307/1.235, allocations: 19.39 MB / 0.6958 GB, free: 68.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.235, allocations: 65.97 kB / 0.6959 GB, free: 68.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 6.933e-06/1.235, allocations: 0 / 0.6959 GB, free: 68.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=372): time 0.1532/1.388, allocations: 49.9 MB / 0.7446 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.388, allocations: 278.8 kB / 0.7449 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006965/1.395, allocations: 6.09 MB / 0.7508 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008922/1.396, allocations: 81.7 kB / 0.7509 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002145/1.398, allocations: 4.677 MB / 0.7555 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.4, allocations: 1.373 MB / 0.7568 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/1.402, allocations: 1.912 MB / 0.7587 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/1.402, allocations: 301.1 kB / 0.759 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005074/1.407, allocations: 4.224 MB / 0.7631 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008762/1.416, allocations: 9.452 MB / 0.7723 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/1.437, allocations: 14.64 MB / 0.7866 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/1.438, allocations: 52 kB / 0.7867 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04078/1.478, allocations: 17.56 MB / 0.8038 GB, free: 8.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/1.479, allocations: 83.94 kB / 0.8039 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/1.479, allocations: 184 kB / 0.8041 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/1.494, allocations: 4.547 MB / 0.8085 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008065/1.502, allocations: 2.121 MB / 0.8106 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03752/1.54, allocations: 25.38 MB / 0.8353 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/1.548, allocations: 0.5266 MB / 0.8359 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.55, allocations: 0.539 MB / 0.8364 GB, free: 7.234 MB / 0.5762 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.006811/1.557, allocations: 3.132 MB / 0.8394 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/1.559, allocations: 0.5631 MB / 0.84 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02451/1.583, allocations: 10.71 MB / 0.8505 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.547e-05/1.583, allocations: 40 kB / 0.8505 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-05/1.583, allocations: 19.94 kB / 0.8505 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-05/1.583, allocations: 19.94 kB / 0.8505 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3288/1.912, allocations: 20.36 MB / 0.8704 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.834e-05/1.912, allocations: 1.125 kB / 0.8704 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/1.916, allocations: 0.537 MB / 0.8709 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/1.93, allocations: 4.177 MB / 0.875 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009047/1.931, allocations: 64.03 kB / 0.8751 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03353/1.964, allocations: 23.13 MB / 0.8977 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.964, allocations: 4.156 kB / 0.8977 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02888/1.993, allocations: 15.62 MB / 0.9129 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004726/1.998, allocations: 1.18 MB / 0.9141 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2, allocations: 62.27 kB / 0.9141 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/2.003, allocations: 223 kB / 0.9144 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008302/2.004, allocations: 224.7 kB / 0.9146 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/2.004, allocations: 96.7 kB / 0.9147 GB, free: 178 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005389/2.009, allocations: 3.803 MB / 0.9184 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/2.009, allocations: 0 / 0.9184 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008716/2.018, allocations: 1.934 MB / 0.9203 GB, free: 172.4 MB / 0.5919 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.0007591/2.019, allocations: 222.9 kB / 0.9205 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.033, allocations: 10.53 MB / 0.9308 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/2.033, allocations: 4 kB / 0.9308 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005729/2.039, allocations: 4.124 MB / 0.9348 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005643/2.045, allocations: 0.7699 MB / 0.9355 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/2.075, allocations: 16.29 MB / 0.9514 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005972/2.081, allocations: 4.883 MB / 0.9562 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005861/2.087, allocations: 2.792 MB / 0.9589 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/2.088, allocations: 379.4 kB / 0.9593 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/2.088, allocations: 0 / 0.9593 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1173/2.205, allocations: 80.99 MB / 1.038 GB, free: 51.87 MB / 0.5919 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)