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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002707/0.002708, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.809/1.809, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.4465/0.4465, allocations: 39.94 MB / 309.7 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.001859/0.001859, allocations: 75.83 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 56.87 MB / 434.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.02157/0.1706, allocations: 17.4 MB / 451.9 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3126/0.4833, allocations: 5.482 MB / 457.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005248/0.4886, allocations: 118.4 kB / 457.5 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009117/0.4978, allocations: 4.371 MB / 461.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00904/0.5069, allocations: 2.751 MB / 464.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.5112, allocations: 1.466 MB / 466.1 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.5243, allocations: 8.15 MB / 474.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.5364, allocations: 5.376 MB / 479.6 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00735/0.5438, allocations: 2.683 MB / 482.3 MB, free: 30.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008245/0.5521, allocations: 3.852 MB / 486.1 MB, free: 28.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004304/0.5564, allocations: 0.5361 MB / 486.7 MB, free: 28.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00815/0.5646, allocations: 1.621 MB / 488.3 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008809/0.5734, allocations: 3.354 MB / 491.6 MB, free: 27.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01417/0.5876, allocations: 3.659 MB / 495.3 MB, free: 24.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02502/0.6127, allocations: 10.9 MB / 0.4943 GB, free: 19.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6127, allocations: 0 / 0.4943 GB, free: 19.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6128, allocations: 0 / 0.4943 GB, free: 19.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00073/0.6135, allocations: 0 / 0.4943 GB, free: 19.63 MB / 382.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.03907/0.6526, allocations: 8.229 MB / 0.5024 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.6527, allocations: 18.23 kB / 0.5024 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03336/0.686, allocations: 3.679 MB / 0.506 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/0.7036, allocations: 5.498 MB / 0.5114 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/0.704, allocations: 367.8 kB / 0.5117 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00361/0.7077, allocations: 0.5123 MB / 0.5122 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04469/0.7524, allocations: 16.24 MB / 0.5281 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006075/0.753, allocations: 79.25 kB / 0.5281 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00311/0.7562, allocations: 231.8 kB / 0.5284 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005573/0.7618, allocations: 2.939 MB / 0.5312 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0371/0.7989, allocations: 13.71 MB / 0.5446 GB, free: 4.508 MB / 414.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.1185/0.9175, allocations: 64.83 MB / 0.6079 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0247/0.9422, allocations: 7.862 MB / 0.6156 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008446/0.9507, allocations: 4.342 MB / 0.6198 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3186/1.269, allocations: 19.38 MB / 0.6388 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.269, allocations: 58.03 kB / 0.6388 GB, free: 139.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.33e-06/1.269, allocations: 3.281 kB / 0.6388 GB, free: 139.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1655/1.435, allocations: 49.91 MB / 0.6876 GB, free: 121.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.435, allocations: 269.8 kB / 0.6878 GB, free: 121.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008286/1.443, allocations: 6.095 MB / 0.6938 GB, free: 115.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.445, allocations: 81.7 kB / 0.6939 GB, free: 115.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.447, allocations: 4.676 MB / 0.6984 GB, free: 110.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/1.449, allocations: 1.377 MB / 0.6998 GB, free: 109.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002858/1.452, allocations: 1.912 MB / 0.7016 GB, free: 107.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/1.452, allocations: 304.9 kB / 0.7019 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005192/1.457, allocations: 4.227 MB / 0.7061 GB, free: 103 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008013/1.465, allocations: 9.452 MB / 0.7153 GB, free: 91.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.48, allocations: 14.64 MB / 0.7296 GB, free: 73.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/1.48, allocations: 48 kB / 0.7296 GB, free: 73.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03359/1.514, allocations: 17.55 MB / 0.7468 GB, free: 56.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.514, allocations: 80 kB / 0.7468 GB, free: 56.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/1.514, allocations: 180 kB / 0.747 GB, free: 55.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/1.527, allocations: 4.57 MB / 0.7515 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00767/1.535, allocations: 2.125 MB / 0.7535 GB, free: 49.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03351/1.568, allocations: 25.39 MB / 0.7783 GB, free: 23.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009209/1.578, allocations: 0.5227 MB / 0.7789 GB, free: 23.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/1.58, allocations: 0.5445 MB / 0.7794 GB, free: 22.54 MB / 494.1 MB 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.01214/1.592, allocations: 3.122 MB / 0.7824 GB, free: 19.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/1.595, allocations: 0.567 MB / 0.783 GB, free: 18.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02607/1.621, allocations: 10.71 MB / 0.7934 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-05/1.621, allocations: 40 kB / 0.7935 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-05/1.622, allocations: 16 kB / 0.7935 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/1.622, allocations: 19.92 kB / 0.7935 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.325/1.947, allocations: 20.53 MB / 0.8136 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/1.947, allocations: 3.219 kB / 0.8136 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003231/1.95, allocations: 0.536 MB / 0.8141 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/1.963, allocations: 4.198 MB / 0.8182 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001152/1.964, allocations: 68.48 kB / 0.8183 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03356/1.998, allocations: 23.12 MB / 0.8408 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.998, allocations: 10.16 kB / 0.8408 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03317/2.031, allocations: 15.63 MB / 0.8561 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004011/2.035, allocations: 1.179 MB / 0.8573 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/2.037, allocations: 55.81 kB / 0.8573 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/2.04, allocations: 221.4 kB / 0.8575 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008505/2.041, allocations: 229.9 kB / 0.8578 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002744/2.041, allocations: 96.97 kB / 0.8578 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006608/2.048, allocations: 3.802 MB / 0.8616 GB, free: 124 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.02e-07/2.048, allocations: 0 / 0.8616 GB, free: 124 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01121/2.059, allocations: 1.934 MB / 0.8634 GB, free: 123.8 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.001001/2.06, allocations: 218.5 kB / 0.8637 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02521/2.085, allocations: 15.43 MB / 0.8787 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/2.085, allocations: 1.641 kB / 0.8787 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005702/2.091, allocations: 4.123 MB / 0.8827 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005177/2.096, allocations: 0.7779 MB / 0.8835 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/2.124, allocations: 16.46 MB / 0.8996 GB, free: 96.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005093/2.129, allocations: 4.875 MB / 0.9043 GB, free: 91.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006543/2.135, allocations: 2.797 MB / 0.9071 GB, free: 89.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.137, allocations: 387.4 kB / 0.9074 GB, free: 88.77 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/2.137, allocations: 0 / 0.9074 GB, free: 88.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.1318/2.268, allocations: 84.89 MB / 0.9903 GB, free: 3.953 MB / 0.4981 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)