Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001053/0.001053, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001067/0.001068, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3293/0.3293, allocations: 39.99 MB / 310.4 MB, free: 9.938 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.0005801/0.0005802, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.2761/0.4029, allocations: 62.67 MB / 499.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03152/0.4345, allocations: 14.65 MB / 0.502 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01407/0.4486, allocations: 323.2 kB / 0.5024 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.4601, allocations: 3.085 MB / 0.5054 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0306/0.4907, allocations: 8.928 MB / 0.5141 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006442/0.4972, allocations: 1.268 MB / 0.5153 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04263/0.5398, allocations: 28.11 MB / 0.5428 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009336/0.5492, allocations: 6.349 MB / 0.549 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.5527, allocations: 1.857 MB / 0.5508 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.5565, allocations: 2.641 MB / 0.5534 GB, free: 268 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.558, allocations: 252 kB / 0.5536 GB, free: 16 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.5616, allocations: 1.166 MB / 0.5547 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.5647, allocations: 2.767 MB / 0.5574 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.5667, allocations: 1.322 MB / 0.5587 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.5773, allocations: 8.869 MB / 0.5674 GB, free: 1.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5774, allocations: 0 / 0.5674 GB, free: 1.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5774, allocations: 7.938 kB / 0.5674 GB, free: 1.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004303/0.5778, allocations: 0 / 0.5674 GB, free: 1.844 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.01871/0.5965, allocations: 7.365 MB / 0.5746 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5966, allocations: 11.97 kB / 0.5746 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1578/0.7544, allocations: 15.1 MB / 0.5894 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.7705, allocations: 6.185 MB / 0.5954 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.7708, allocations: 373.5 kB / 0.5958 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/0.7732, allocations: 0.515 MB / 0.5963 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/0.8035, allocations: 16.32 MB / 0.6122 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/0.8037, allocations: 83.3 kB / 0.6123 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006901/0.8044, allocations: 235.8 kB / 0.6125 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004511/0.8089, allocations: 2.923 MB / 0.6154 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.8397, allocations: 13.67 MB / 0.6287 GB, free: 1.777 MB / 494.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.3528/1.193, allocations: 64.43 MB / 0.6916 GB, free: 95.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02425/1.217, allocations: 7.826 MB / 0.6993 GB, free: 93.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03394/1.251, allocations: 18.84 MB / 0.7177 GB, free: 82.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.251, allocations: 61.06 kB / 0.7177 GB, free: 82.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=281): time 6.442e-06/1.251, allocations: 0 / 0.7177 GB, free: 82.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=362): time 0.1535/1.404, allocations: 47.64 MB / 0.7643 GB, free: 40.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/1.405, allocations: 265.8 kB / 0.7645 GB, free: 40.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.416, allocations: 6.567 MB / 0.7709 GB, free: 34.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009872/1.417, allocations: 84.45 kB / 0.771 GB, free: 34.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003143/1.42, allocations: 4.753 MB / 0.7756 GB, free: 29.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001807/1.422, allocations: 1.336 MB / 0.7769 GB, free: 27.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.423, allocations: 180 kB / 0.7771 GB, free: 27.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006946/1.424, allocations: 0.6945 MB / 0.7778 GB, free: 27.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00597/1.43, allocations: 3.848 MB / 0.7816 GB, free: 23.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008152/1.438, allocations: 9.051 MB / 0.7904 GB, free: 11.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008204/1.446, allocations: 5.708 MB / 0.796 GB, free: 5.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/1.446, allocations: 52 kB / 0.796 GB, free: 5.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03972/1.486, allocations: 16.3 MB / 0.8119 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/1.486, allocations: 87.98 kB / 0.812 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003592/1.487, allocations: 184 kB / 0.8122 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/1.501, allocations: 4.131 MB / 0.8162 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.25/1.751, allocations: 2.039 MB / 0.8182 GB, free: 140 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02884/1.78, allocations: 22.77 MB / 0.8404 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007194/1.788, allocations: 0.5036 MB / 0.8409 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.789, allocations: 0.5267 MB / 0.8415 GB, free: 133 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1080): * Single equations (assignments): 1075 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 45,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005081/1.794, allocations: 3.12 MB / 0.8445 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.795, allocations: 0.5732 MB / 0.8451 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02177/1.817, allocations: 9.795 MB / 0.8546 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/1.817, allocations: 40.33 kB / 0.8547 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-05/1.817, allocations: 18.17 kB / 0.8547 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.543e-05/1.817, allocations: 21.14 kB / 0.8547 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04259/1.86, allocations: 19.52 MB / 0.8738 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/1.86, allocations: 3.938 kB / 0.8738 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.862, allocations: 0.5238 MB / 0.8743 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01206/1.875, allocations: 3.72 MB / 0.8779 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007832/1.875, allocations: 61.3 kB / 0.878 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/1.902, allocations: 20.69 MB / 0.8982 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.902, allocations: 7.984 kB / 0.8982 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0245/1.926, allocations: 14.48 MB / 0.9123 GB, free: 90.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/1.93, allocations: 1.161 MB / 0.9134 GB, free: 89.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/1.931, allocations: 56 kB / 0.9135 GB, free: 89.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/1.935, allocations: 222.4 kB / 0.9137 GB, free: 89.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008089/1.936, allocations: 216.1 kB / 0.9139 GB, free: 89.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/1.936, allocations: 95.98 kB / 0.914 GB, free: 89.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00598/1.942, allocations: 4.183 MB / 0.9181 GB, free: 85.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.51e-07/1.942, allocations: 0 / 0.9181 GB, free: 85.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01009/1.952, allocations: 1.859 MB / 0.9199 GB, free: 83.16 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 (262): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/1.953, allocations: 243.7 kB / 0.9201 GB, free: 82.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.967, allocations: 9.805 MB / 0.9297 GB, free: 73.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.967, allocations: 7.875 kB / 0.9297 GB, free: 73.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005401/1.973, allocations: 3.879 MB / 0.9335 GB, free: 69.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/1.977, allocations: 0.7213 MB / 0.9342 GB, free: 68.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03125/2.009, allocations: 18.51 MB / 0.9523 GB, free: 50.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007571/2.016, allocations: 5.003 MB / 0.9572 GB, free: 45.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008504/2.025, allocations: 2.793 MB / 0.9599 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/2.027, allocations: 384.7 kB / 0.9603 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/2.027, allocations: 0 / 0.9603 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.3466/2.373, allocations: 76.9 MB / 1.035 GB, free: 133.1 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) Environment - environmentSimulation: