Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") 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: 103.4 kB / 15.33 MB, free: 0.5078 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.001766/0.001766, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.511/1.511, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3227/0.3227, allocations: 37.99 MB / 307.4 MB, free: 10.14 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.002928/0.002929, allocations: 70.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1519, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.3554/0.5074, allocations: 73.25 MB / 0.4926 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04/0.5474, allocations: 14.59 MB / 0.5069 GB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02529/0.5729, allocations: 326.7 kB / 0.5072 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.5839, allocations: 4.193 MB / 0.5113 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.5948, allocations: 2.56 MB / 0.5138 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.5995, allocations: 1.386 MB / 0.5151 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01795/0.6174, allocations: 8.365 MB / 0.5233 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009869/0.6274, allocations: 5.664 MB / 0.5288 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007856/0.6353, allocations: 2.759 MB / 0.5315 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009452/0.6448, allocations: 4.253 MB / 0.5357 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004158/0.649, allocations: 0.539 MB / 0.5362 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006309/0.6554, allocations: 1.631 MB / 0.5378 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007158/0.6626, allocations: 3.39 MB / 0.5411 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.6735, allocations: 3.698 MB / 0.5447 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.6929, allocations: 10.93 MB / 0.5554 GB, free: 13.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.6929, allocations: 0 / 0.5554 GB, free: 13.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.693, allocations: 3.938 kB / 0.5554 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005586/0.6935, allocations: 0 / 0.5554 GB, free: 13.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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02674/0.7203, allocations: 8.222 MB / 0.5634 GB, free: 5.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7203, allocations: 15.83 kB / 0.5635 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03052/0.7509, allocations: 3.681 MB / 0.567 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/0.7672, allocations: 5.489 MB / 0.5724 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.7677, allocations: 365.8 kB / 0.5728 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/0.7716, allocations: 0.5154 MB / 0.5733 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04227/0.8139, allocations: 16.24 MB / 0.5891 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004539/0.8144, allocations: 79.22 kB / 0.5892 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002361/0.8168, allocations: 243.8 kB / 0.5894 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005301/0.8221, allocations: 2.915 MB / 0.5923 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03245/0.8546, allocations: 13.68 MB / 0.6056 GB, free: 9.082 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.3728/1.227, allocations: 64.75 MB / 0.6689 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/1.248, allocations: 7.823 MB / 0.6765 GB, free: 100.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006257/1.255, allocations: 4.288 MB / 0.6807 GB, free: 98.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03706/1.292, allocations: 19.29 MB / 0.6995 GB, free: 88.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.761e-05/1.292, allocations: 68.64 kB / 0.6996 GB, free: 88.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.563e-06/1.292, allocations: 1.156 kB / 0.6996 GB, free: 88.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1762/1.468, allocations: 51.94 MB / 0.7503 GB, free: 57.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.468, allocations: 266.9 kB / 0.7506 GB, free: 57.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009821/1.478, allocations: 6.095 MB / 0.7565 GB, free: 51.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001903/1.48, allocations: 81.7 kB / 0.7566 GB, free: 51.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004884/1.485, allocations: 4.671 MB / 0.7612 GB, free: 46.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002292/1.487, allocations: 1.351 MB / 0.7625 GB, free: 45.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003523/1.491, allocations: 1.911 MB / 0.7643 GB, free: 43.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/1.491, allocations: 304.6 kB / 0.7646 GB, free: 43.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005442/1.496, allocations: 4.196 MB / 0.7687 GB, free: 39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009054/1.505, allocations: 9.422 MB / 0.7779 GB, free: 27.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/1.521, allocations: 14.58 MB / 0.7922 GB, free: 9.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002178/1.521, allocations: 55.94 kB / 0.7922 GB, free: 9.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04172/1.563, allocations: 17.54 MB / 0.8094 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/1.563, allocations: 84 kB / 0.8094 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003561/1.564, allocations: 180.2 kB / 0.8096 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/1.579, allocations: 4.597 MB / 0.8141 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008129/1.588, allocations: 2.125 MB / 0.8162 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3165/1.904, allocations: 25.44 MB / 0.841 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009431/1.914, allocations: 0.5217 MB / 0.8415 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002323/1.916, allocations: 0.5428 MB / 0.8421 GB, free: 132.1 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 (1130): * Single equations (assignments): 1125 * 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 {(1,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007663/1.924, allocations: 3.119 MB / 0.8451 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.926, allocations: 0.5658 MB / 0.8457 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02605/1.952, allocations: 10.71 MB / 0.8561 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/1.952, allocations: 37.78 kB / 0.8561 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001359/1.952, allocations: 17.16 kB / 0.8562 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/1.952, allocations: 22.83 kB / 0.8562 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05171/2.004, allocations: 20.47 MB / 0.8762 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-05/2.004, allocations: 6.75 kB / 0.8762 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/2.007, allocations: 0.5251 MB / 0.8767 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01338/2.02, allocations: 4.252 MB / 0.8808 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.022, allocations: 59.06 kB / 0.8809 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03384/2.055, allocations: 23.13 MB / 0.9035 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/2.055, allocations: 4.031 kB / 0.9035 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02954/2.085, allocations: 15.58 MB / 0.9187 GB, free: 88.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004332/2.089, allocations: 1.177 MB / 0.9199 GB, free: 87.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002616/2.092, allocations: 56 kB / 0.9199 GB, free: 87.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005534/2.098, allocations: 229.6 kB / 0.9201 GB, free: 86.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00188/2.1, allocations: 227 kB / 0.9203 GB, free: 86.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009046/2.1, allocations: 99.97 kB / 0.9204 GB, free: 86.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009977/2.11, allocations: 3.801 MB / 0.9242 GB, free: 82.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.91e-07/2.111, allocations: 0 / 0.9242 GB, free: 82.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01481/2.125, allocations: 1.927 MB / 0.926 GB, free: 80.86 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 (266): * Single equations (assignments): 261 * 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.001926/2.127, allocations: 218.7 kB / 0.9262 GB, free: 80.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02878/2.156, allocations: 15.15 MB / 0.941 GB, free: 65.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/2.156, allocations: 0 / 0.941 GB, free: 65.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007176/2.163, allocations: 4.079 MB / 0.945 GB, free: 61.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/2.174, allocations: 0.7819 MB / 0.9458 GB, free: 60.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03805/2.212, allocations: 19.65 MB / 0.965 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007709/2.219, allocations: 4.867 MB / 0.9697 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007467/2.227, allocations: 2.773 MB / 0.9724 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/2.228, allocations: 383.4 kB / 0.9728 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/2.228, allocations: 0 / 0.9728 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.4452/2.674, allocations: 84.89 MB / 1.056 GB, free: 121.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)