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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001202/0.001202, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.715/1.715, allocations: 205.1 MB / 222 MB, free: 4.746 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.3499/0.3499, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.002298/0.002299, allocations: 75.67 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1541, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3803/0.5344, allocations: 73.26 MB / 0.4925 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04904/0.5836, allocations: 14.7 MB / 0.5068 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02312/0.6067, allocations: 329.1 kB / 0.5071 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.6174, allocations: 4.351 MB / 0.5114 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.6281, allocations: 2.601 MB / 0.5139 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005134/0.6333, allocations: 1.355 MB / 0.5152 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01967/0.653, allocations: 11.43 MB / 0.5264 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.6633, allocations: 5.291 MB / 0.5316 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/0.6708, allocations: 2.413 MB / 0.5339 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00792/0.6788, allocations: 4.117 MB / 0.5379 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002509/0.6813, allocations: 388 kB / 0.5383 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005073/0.6864, allocations: 1.549 MB / 0.5398 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004878/0.6913, allocations: 3.242 MB / 0.543 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007365/0.6987, allocations: 3.518 MB / 0.5464 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01862/0.7173, allocations: 10.74 MB / 0.5569 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.7174, allocations: 0 / 0.5569 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7174, allocations: 0 / 0.5569 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005295/0.718, allocations: 0 / 0.5569 GB, free: 12.2 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.0302/0.7482, allocations: 8.229 MB / 0.565 GB, free: 3.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.7482, allocations: 12.03 kB / 0.565 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02831/0.7766, allocations: 3.677 MB / 0.5686 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.7919, allocations: 5.501 MB / 0.5739 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004343/0.7924, allocations: 369.8 kB / 0.5743 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/0.7955, allocations: 0.5116 MB / 0.5748 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03439/0.8299, allocations: 16.24 MB / 0.5907 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/0.8302, allocations: 83.3 kB / 0.5907 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/0.8313, allocations: 231.8 kB / 0.591 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004739/0.8361, allocations: 2.93 MB / 0.5938 GB, free: 5.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0325/0.8686, allocations: 13.72 MB / 0.6072 GB, free: 7.418 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.4018/1.27, allocations: 64.82 MB / 0.6705 GB, free: 101.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02182/1.292, allocations: 7.856 MB / 0.6782 GB, free: 99.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005854/1.298, allocations: 4.35 MB / 0.6824 GB, free: 97.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03602/1.334, allocations: 19.38 MB / 0.7014 GB, free: 87.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.334, allocations: 64.73 kB / 0.7014 GB, free: 87.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.41e-06/1.334, allocations: 0 / 0.7014 GB, free: 87.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1658/1.5, allocations: 49.9 MB / 0.7501 GB, free: 58.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.5, allocations: 277.8 kB / 0.7504 GB, free: 57.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008405/1.509, allocations: 6.091 MB / 0.7564 GB, free: 51.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.51, allocations: 84.33 kB / 0.7564 GB, free: 51.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002514/1.512, allocations: 4.678 MB / 0.761 GB, free: 46.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001955/1.514, allocations: 1.367 MB / 0.7623 GB, free: 45.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002833/1.517, allocations: 1.916 MB / 0.7642 GB, free: 43.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/1.517, allocations: 305.1 kB / 0.7645 GB, free: 43.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005306/1.523, allocations: 4.224 MB / 0.7686 GB, free: 39.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008377/1.531, allocations: 9.454 MB / 0.7779 GB, free: 27.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/1.547, allocations: 14.63 MB / 0.7922 GB, free: 9.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/1.547, allocations: 52 kB / 0.7922 GB, free: 9.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04366/1.591, allocations: 17.55 MB / 0.8093 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/1.591, allocations: 84 kB / 0.8094 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003361/1.592, allocations: 180 kB / 0.8096 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/1.607, allocations: 4.543 MB / 0.814 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008506/1.616, allocations: 2.133 MB / 0.8161 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.282/1.898, allocations: 23.65 MB / 0.8392 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009008/1.907, allocations: 0.5266 MB / 0.8397 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/1.909, allocations: 0.5349 MB / 0.8402 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.006685/1.916, allocations: 3.127 MB / 0.8433 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.917, allocations: 0.5677 MB / 0.8438 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02374/1.941, allocations: 10.72 MB / 0.8543 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.83e-05/1.941, allocations: 38.48 kB / 0.8543 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.866e-05/1.941, allocations: 17.84 kB / 0.8544 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.941, allocations: 17.69 kB / 0.8544 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04963/1.991, allocations: 20.53 MB / 0.8744 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.445e-05/1.991, allocations: 3.312 kB / 0.8744 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/1.994, allocations: 0.5362 MB / 0.875 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/2.007, allocations: 4.177 MB / 0.879 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008746/2.008, allocations: 73.25 kB / 0.8791 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/2.037, allocations: 21.48 MB / 0.9001 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.037, allocations: 0 / 0.9001 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/2.063, allocations: 15.63 MB / 0.9153 GB, free: 91.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00392/2.067, allocations: 1.185 MB / 0.9165 GB, free: 90.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002466/2.07, allocations: 59.97 kB / 0.9166 GB, free: 90.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004498/2.074, allocations: 219.7 kB / 0.9168 GB, free: 90.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/2.076, allocations: 229 kB / 0.917 GB, free: 90.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007045/2.076, allocations: 98.31 kB / 0.9171 GB, free: 89.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007367/2.084, allocations: 3.801 MB / 0.9208 GB, free: 86.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/2.084, allocations: 0 / 0.9208 GB, free: 86.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01078/2.095, allocations: 1.938 MB / 0.9227 GB, free: 84.22 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.001205/2.096, allocations: 214.2 kB / 0.9229 GB, free: 84.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01901/2.115, allocations: 10.5 MB / 0.9331 GB, free: 73.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/2.115, allocations: 0 / 0.9331 GB, free: 73.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006882/2.122, allocations: 4.124 MB / 0.9372 GB, free: 69.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007933/2.13, allocations: 0.7269 MB / 0.9379 GB, free: 68.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/2.166, allocations: 19.71 MB / 0.9571 GB, free: 49.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007814/2.174, allocations: 4.883 MB / 0.9619 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008294/2.182, allocations: 2.789 MB / 0.9646 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/2.184, allocations: 379.4 kB / 0.965 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of SimCode: time 1.994e-06/2.184, allocations: 4 kB / 0.965 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.36/2.544, allocations: 81.64 MB / 1.045 GB, free: 126.8 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)