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.0007668/0.0007667, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000822/0.0008221, allocations: 168.7 kB / 15.95 MB, free: 204 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3572/0.3572, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0005976/0.0005978, allocations: 24 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.2856/0.4083, allocations: 66.43 MB / 0.4887 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03432/0.4426, allocations: 14.02 MB / 0.5024 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01528/0.458, allocations: 320.8 kB / 0.5027 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.4705, allocations: 3.415 MB / 0.506 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03436/0.5049, allocations: 10.21 MB / 0.516 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006453/0.5114, allocations: 1.285 MB / 0.5172 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04951/0.5609, allocations: 37.29 MB / 0.5536 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.572, allocations: 6.387 MB / 0.5599 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.5781, allocations: 2.258 MB / 0.5621 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006917/0.5851, allocations: 3.673 MB / 0.5657 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.5869, allocations: 244 kB / 0.5659 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.5906, allocations: 1.198 MB / 0.5671 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003929/0.5946, allocations: 2.996 MB / 0.57 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.5971, allocations: 1.302 MB / 0.5713 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.6078, allocations: 8.53 MB / 0.5796 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6078, allocations: 0 / 0.5796 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6078, allocations: 0 / 0.5796 GB, free: 7.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004426/0.6083, allocations: 0 / 0.5796 GB, free: 7.148 MB / 446.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.01643/0.6247, allocations: 6.912 MB / 0.5863 GB, free: 156 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6248, allocations: 8.031 kB / 0.5864 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02347/0.6482, allocations: 3.768 MB / 0.59 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.662, allocations: 5.388 MB / 0.5953 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004153/0.6625, allocations: 369.5 kB / 0.5956 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.6648, allocations: 0.5073 MB / 0.5961 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03402/0.6989, allocations: 16.25 MB / 0.612 GB, free: 4.703 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004621/0.6994, allocations: 83.27 kB / 0.6121 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/0.7012, allocations: 231.8 kB / 0.6123 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004672/0.7059, allocations: 2.93 MB / 0.6152 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03112/0.7371, allocations: 13.68 MB / 0.6285 GB, free: 3.75 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.324/1.061, allocations: 64.73 MB / 0.6918 GB, free: 99.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.083, allocations: 7.907 MB / 0.6995 GB, free: 96.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006389/1.089, allocations: 4.273 MB / 0.7036 GB, free: 95.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02771/1.117, allocations: 19.29 MB / 0.7225 GB, free: 84.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/1.117, allocations: 66.5 kB / 0.7225 GB, free: 84.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 5.19e-06/1.117, allocations: 0 / 0.7225 GB, free: 84.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1538/1.271, allocations: 52.54 MB / 0.7739 GB, free: 36.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/1.271, allocations: 277.8 kB / 0.7741 GB, free: 35.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007398/1.278, allocations: 6.052 MB / 0.78 GB, free: 29.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009243/1.279, allocations: 81.7 kB / 0.7801 GB, free: 29.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.282, allocations: 4.68 MB / 0.7847 GB, free: 24.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.283, allocations: 1.347 MB / 0.786 GB, free: 23.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/1.284, allocations: 194.7 kB / 0.7862 GB, free: 23.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003238/1.284, allocations: 0.7111 MB / 0.7869 GB, free: 22.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/1.289, allocations: 4.161 MB / 0.7909 GB, free: 18.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006682/1.296, allocations: 9.394 MB / 0.8001 GB, free: 6.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007139/1.303, allocations: 6.048 MB / 0.806 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.901e-05/1.303, allocations: 55.95 kB / 0.8061 GB, free: 460 kB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.2613/1.564, allocations: 17.5 MB / 0.8232 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.564, allocations: 83.62 kB / 0.8232 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/1.564, allocations: 179.2 kB / 0.8234 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/1.577, allocations: 4.678 MB / 0.828 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.584, allocations: 2.12 MB / 0.83 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/1.614, allocations: 23.71 MB / 0.8532 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008366/1.623, allocations: 0.5243 MB / 0.8537 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.625, allocations: 0.5417 MB / 0.8542 GB, free: 131.9 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 (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,(3,88.9%) 49} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007382/1.632, allocations: 3.12 MB / 0.8573 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/1.634, allocations: 0.5634 MB / 0.8578 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/1.657, allocations: 10.73 MB / 0.8683 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.682e-05/1.657, allocations: 41.39 kB / 0.8684 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-05/1.657, allocations: 14.56 kB / 0.8684 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.761e-05/1.657, allocations: 18.84 kB / 0.8684 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/1.693, allocations: 20.49 MB / 0.8884 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/1.693, allocations: 6.531 kB / 0.8884 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.696, allocations: 0.5339 MB / 0.8889 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/1.707, allocations: 4.26 MB / 0.8931 GB, free: 118 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007561/1.708, allocations: 63.98 kB / 0.8931 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/1.734, allocations: 21.53 MB / 0.9142 GB, free: 96.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.734, allocations: 7.562 kB / 0.9142 GB, free: 96.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02449/1.759, allocations: 15.58 MB / 0.9294 GB, free: 80.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00309/1.762, allocations: 1.181 MB / 0.9305 GB, free: 79.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.763, allocations: 63.75 kB / 0.9306 GB, free: 79.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.765, allocations: 227.7 kB / 0.9308 GB, free: 79.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005766/1.766, allocations: 229.8 kB / 0.931 GB, free: 79.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.766, allocations: 95.98 kB / 0.9311 GB, free: 79.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00477/1.771, allocations: 3.766 MB / 0.9348 GB, free: 75.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.771, allocations: 0 / 0.9348 GB, free: 75.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008372/1.779, allocations: 1.931 MB / 0.9367 GB, free: 73.5 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 (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.0006523/1.78, allocations: 222.6 kB / 0.9369 GB, free: 73.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01536/1.796, allocations: 10.41 MB / 0.9471 GB, free: 63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.796, allocations: 2.625 kB / 0.9471 GB, free: 63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005068/1.801, allocations: 4.073 MB / 0.9511 GB, free: 58.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/1.805, allocations: 0.7352 MB / 0.9518 GB, free: 58.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.829, allocations: 18.98 MB / 0.9703 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/1.833, allocations: 4.874 MB / 0.9751 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006385/1.839, allocations: 2.769 MB / 0.9778 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.841, allocations: 379.4 kB / 0.9781 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of SimCode: time 4.027e-06/1.841, allocations: 0 / 0.9781 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.3268/2.167, allocations: 78.72 MB / 1.055 GB, free: 137.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: