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.001358/0.001358, allocations: 100 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.001714/0.001714, 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.77/1.77, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3988/0.3988, allocations: 38.02 MB / 308.4 MB, free: 10.41 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.0006377/0.000638, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1413, allocations: 57.53 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3278/0.4692, allocations: 62.67 MB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04039/0.5097, allocations: 14.67 MB / 0.4993 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01832/0.528, allocations: 320.7 kB / 0.4996 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.5403, allocations: 3.086 MB / 0.5026 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03706/0.5774, allocations: 8.938 MB / 0.5113 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007494/0.5849, allocations: 1.261 MB / 0.5126 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04977/0.6347, allocations: 28.1 MB / 0.54 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.6466, allocations: 6.355 MB / 0.5462 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.6513, allocations: 1.857 MB / 0.548 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004689/0.6561, allocations: 2.656 MB / 0.5506 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.6572, allocations: 248 kB / 0.5509 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.6601, allocations: 1.167 MB / 0.552 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.6628, allocations: 2.778 MB / 0.5547 GB, free: 288 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.6645, allocations: 1.318 MB / 0.556 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.6754, allocations: 8.882 MB / 0.5647 GB, free: 6.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6755, allocations: 0 / 0.5647 GB, free: 6.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6755, allocations: 3.938 kB / 0.5647 GB, free: 6.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003755/0.6758, allocations: 4 kB / 0.5647 GB, free: 6.043 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.02034/0.6962, allocations: 7.376 MB / 0.5719 GB, free: 14.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/0.6963, allocations: 8.031 kB / 0.5719 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1615/0.8578, allocations: 15.11 MB / 0.5866 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/0.8732, allocations: 6.192 MB / 0.5927 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.8736, allocations: 373.5 kB / 0.593 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.8757, allocations: 0.5112 MB / 0.5935 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03399/0.9097, allocations: 16.35 MB / 0.6095 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002977/0.9101, allocations: 75.36 kB / 0.6096 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008751/0.9109, allocations: 235.8 kB / 0.6098 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00468/0.9156, allocations: 2.927 MB / 0.6127 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03073/0.9464, allocations: 13.7 MB / 0.626 GB, free: 5.914 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.3234/1.27, allocations: 64.52 MB / 0.689 GB, free: 98.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/1.293, allocations: 7.859 MB / 0.6967 GB, free: 95.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03376/1.327, allocations: 18.92 MB / 0.7152 GB, free: 86.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.816e-05/1.327, allocations: 71.36 kB / 0.7153 GB, free: 85.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=287): time 6.863e-06/1.327, allocations: 0.7812 kB / 0.7153 GB, free: 85.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=370): time 0.1602/1.487, allocations: 51.85 MB / 0.7659 GB, free: 42.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/1.487, allocations: 273.8 kB / 0.7662 GB, free: 42.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.498, allocations: 6.567 MB / 0.7726 GB, free: 35.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008928/1.499, allocations: 85.7 kB / 0.7727 GB, free: 35.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.502, allocations: 4.759 MB / 0.7773 GB, free: 30.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.504, allocations: 1.357 MB / 0.7786 GB, free: 29.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009611/1.504, allocations: 189.1 kB / 0.7788 GB, free: 29.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004567/1.505, allocations: 0.6908 MB / 0.7795 GB, free: 28.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.51, allocations: 3.887 MB / 0.7833 GB, free: 24.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00726/1.517, allocations: 9.091 MB / 0.7922 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00774/1.525, allocations: 5.756 MB / 0.7978 GB, free: 7.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001431/1.525, allocations: 52 kB / 0.7978 GB, free: 7.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03679/1.562, allocations: 16.34 MB / 0.8138 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.562, allocations: 84 kB / 0.8139 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002768/1.563, allocations: 180 kB / 0.814 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/1.579, allocations: 4.104 MB / 0.818 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01373/1.593, allocations: 2.066 MB / 0.8201 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3044/1.897, allocations: 22.75 MB / 0.8423 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00776/1.905, allocations: 0.5024 MB / 0.8428 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/1.906, allocations: 0.5335 MB / 0.8433 GB, free: 134.3 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 (1088): * Single equations (assignments): 1083 * 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%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005741/1.912, allocations: 3.132 MB / 0.8463 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.913, allocations: 0.5761 MB / 0.8469 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/1.935, allocations: 9.839 MB / 0.8565 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.924e-05/1.935, allocations: 38.56 kB / 0.8566 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.219e-05/1.935, allocations: 16.25 kB / 0.8566 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.973e-05/1.935, allocations: 18.06 kB / 0.8566 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04787/1.983, allocations: 19.62 MB / 0.8758 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.987e-05/1.983, allocations: 3.188 kB / 0.8758 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/1.986, allocations: 0.5427 MB / 0.8763 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/1.998, allocations: 3.659 MB / 0.8799 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006851/1.999, allocations: 66.48 kB / 0.8799 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0253/2.024, allocations: 20.68 MB / 0.9001 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/2.024, allocations: 0 / 0.9001 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/2.048, allocations: 14.58 MB / 0.9144 GB, free: 94.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004014/2.052, allocations: 1.166 MB / 0.9155 GB, free: 93.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/2.053, allocations: 61.72 kB / 0.9156 GB, free: 93.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/2.056, allocations: 206.5 kB / 0.9157 GB, free: 92.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007168/2.057, allocations: 233.7 kB / 0.916 GB, free: 92.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/2.057, allocations: 93.7 kB / 0.9161 GB, free: 92.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005516/2.062, allocations: 4.183 MB / 0.9201 GB, free: 88.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/2.062, allocations: 0 / 0.9201 GB, free: 88.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007726/2.07, allocations: 1.872 MB / 0.922 GB, free: 86.57 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 (270): * Single equations (assignments): 265 * 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.0007189/2.071, allocations: 239.8 kB / 0.9222 GB, free: 86.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01324/2.084, allocations: 9.939 MB / 0.9319 GB, free: 76.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.084, allocations: 3.469 kB / 0.9319 GB, free: 76.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/2.089, allocations: 3.925 MB / 0.9357 GB, free: 72.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/2.094, allocations: 0.7316 MB / 0.9365 GB, free: 71.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/2.125, allocations: 18.63 MB / 0.9547 GB, free: 53.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008808/2.134, allocations: 5.008 MB / 0.9595 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007873/2.141, allocations: 2.813 MB / 0.9623 GB, free: 45.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/2.143, allocations: 395.4 kB / 0.9627 GB, free: 44.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.475e-06/2.143, allocations: 0 / 0.9627 GB, free: 44.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.3321/2.475, allocations: 77.15 MB / 1.038 GB, free: 135.3 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: