Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007201/0.007201, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001678/0.001678, allocations: 191.1 kB / 16.67 MB, free: 5.98 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1743/0.1743, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.001642/0.001642, allocations: 71.91 kB / 433 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1254, allocations: 56.47 MB / 489.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01149/0.137, allocations: 10.39 MB / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0078/0.1448, allocations: 3.877 MB / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.1464, allocations: 63.81 kB / 0.492 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004351/0.1508, allocations: 2.063 MB / 0.494 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.1561, allocations: 1.739 MB / 0.4957 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1578, allocations: 0.7018 MB / 0.4964 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005976/0.1638, allocations: 3.81 MB / 0.5001 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.1678, allocations: 2.605 MB / 0.5026 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.1705, allocations: 1.316 MB / 0.5039 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.1736, allocations: 1.853 MB / 0.5057 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009188/0.1746, allocations: 268 kB / 0.506 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.1772, allocations: 1.194 MB / 0.5072 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.1795, allocations: 1.691 MB / 0.5088 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003815/0.1834, allocations: 1.903 MB / 0.5107 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2792/0.4626, allocations: 6.198 MB / 0.5167 GB, free: 13.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.4627, allocations: 2.094 kB / 0.5167 GB, free: 13.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4627, allocations: 0 / 0.5167 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002215/0.4629, allocations: 0 / 0.5167 GB, free: 13.03 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01069/0.4736, allocations: 4.235 MB / 0.5209 GB, free: 11.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.4737, allocations: 13.17 kB / 0.5209 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.4893, allocations: 2.432 MB / 0.5233 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007304/0.4966, allocations: 2.487 MB / 0.5257 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.4968, allocations: 196.2 kB / 0.5259 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.4979, allocations: 277.3 kB / 0.5261 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.5133, allocations: 8.571 MB / 0.5345 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.5134, allocations: 43.34 kB / 0.5345 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.5138, allocations: 128.5 kB / 0.5347 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/0.5163, allocations: 1.739 MB / 0.5364 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.529, allocations: 7.281 MB / 0.5435 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04088/0.5699, allocations: 34.03 MB / 0.5767 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008704/0.5786, allocations: 3.48 MB / 0.5801 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.581, allocations: 1.727 MB / 0.5818 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.5927, allocations: 7.434 MB / 0.5891 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5928, allocations: 51.52 kB / 0.5891 GB, free: 8.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 5.23e-06/0.5928, allocations: 0 / 0.5891 GB, free: 8.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.06409/0.6569, allocations: 19.62 MB / 0.6083 GB, free: 4.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.657, allocations: 204.6 kB / 0.6085 GB, free: 4.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006359/0.6634, allocations: 3.752 MB / 0.6121 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003387/0.6637, allocations: 53.7 kB / 0.6122 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.666, allocations: 2.802 MB / 0.6149 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009914/0.667, allocations: 0.7189 MB / 0.6156 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002296/0.6693, allocations: 1.198 MB / 0.6168 GB, free: 12.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6695, allocations: 305.1 kB / 0.6171 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.6731, allocations: 2.198 MB / 0.6192 GB, free: 9.535 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006148/0.6792, allocations: 5.762 MB / 0.6249 GB, free: 2.059 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.6903, allocations: 8.602 MB / 0.6333 GB, free: 8.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/0.6904, allocations: 36 kB / 0.6333 GB, free: 8.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02263/0.7131, allocations: 9.173 MB / 0.6422 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.7133, allocations: 60 kB / 0.6423 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/0.7135, allocations: 124 kB / 0.6424 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/0.7195, allocations: 1.664 MB / 0.644 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.7242, allocations: 1.322 MB / 0.6453 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.7395, allocations: 9.91 MB / 0.655 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/0.7442, allocations: 318.3 kB / 0.6553 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.7453, allocations: 363.9 kB / 0.6557 GB, free: 1.363 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00458/0.7499, allocations: 1.895 MB / 0.6575 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.7509, allocations: 327.8 kB / 0.6578 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009631/0.7606, allocations: 4.129 MB / 0.6619 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/0.7606, allocations: 31.14 kB / 0.6619 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.7607, allocations: 8 kB / 0.6619 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.7607, allocations: 7.969 kB / 0.6619 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.7783, allocations: 8.519 MB / 0.6702 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.7783, allocations: 0 / 0.6702 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.7795, allocations: 251.6 kB / 0.6705 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/0.7848, allocations: 1.428 MB / 0.6719 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/0.7851, allocations: 42.61 kB / 0.6719 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/0.7998, allocations: 9.214 MB / 0.6809 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7999, allocations: 4.031 kB / 0.6809 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.8147, allocations: 6.718 MB / 0.6875 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/0.8168, allocations: 0.6241 MB / 0.6881 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/0.818, allocations: 35.22 kB / 0.6881 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/0.8201, allocations: 83.89 kB / 0.6882 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.8206, allocations: 105.2 kB / 0.6883 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.8208, allocations: 55.98 kB / 0.6883 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006465/0.8273, allocations: 2.338 MB / 0.6906 GB, free: 13.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8273, allocations: 0 / 0.6906 GB, free: 13.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008275/0.8356, allocations: 0.996 MB / 0.6916 GB, free: 12.35 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0006486/0.8362, allocations: 161.5 kB / 0.6917 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00979/0.846, allocations: 5.416 MB / 0.697 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.8461, allocations: 4 kB / 0.697 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.8489, allocations: 1.799 MB / 0.6988 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.8519, allocations: 395.4 kB / 0.6992 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.8685, allocations: 8.546 MB / 0.7075 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004438/0.8729, allocations: 2.973 MB / 0.7104 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004459/0.8774, allocations: 1.811 MB / 0.7122 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/0.8783, allocations: 227.4 kB / 0.7124 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.8783, allocations: 0 / 0.7124 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.3817/1.26, allocations: 36.27 MB / 0.7478 GB, free: 204.1 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)