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.006745/0.006745, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001145/0.001145, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.493/1.493, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.2922/0.2922, allocations: 38 MB / 307.9 MB, free: 10.16 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.001473/0.001473, allocations: 79.81 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.009096/0.2841, allocations: 10.4 MB / 499.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.2917, allocations: 3.872 MB / 0.4919 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2937, allocations: 61.62 kB / 0.492 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003777/0.2975, allocations: 2.072 MB / 0.494 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006713/0.3043, allocations: 1.709 MB / 0.4957 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.307, allocations: 0.6919 MB / 0.4964 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008607/0.3156, allocations: 3.805 MB / 0.5001 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.3202, allocations: 2.603 MB / 0.5026 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.3244, allocations: 1.328 MB / 0.5039 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004107/0.3285, allocations: 1.842 MB / 0.5057 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.3299, allocations: 269.2 kB / 0.506 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.3343, allocations: 1.18 MB / 0.5071 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004315/0.3387, allocations: 1.663 MB / 0.5087 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005174/0.3439, allocations: 1.909 MB / 0.5106 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.3572, allocations: 6.207 MB / 0.5167 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3572, allocations: 0 / 0.5167 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3572, allocations: 0 / 0.5167 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002655/0.3575, allocations: 0.9688 kB / 0.5167 GB, free: 11.68 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.01439/0.3719, allocations: 4.224 MB / 0.5208 GB, free: 7.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.372, allocations: 15.88 kB / 0.5208 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/0.3903, allocations: 2.429 MB / 0.5232 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/0.397, allocations: 2.488 MB / 0.5256 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3972, allocations: 193.3 kB / 0.5258 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009175/0.3982, allocations: 279.8 kB / 0.5261 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.4124, allocations: 8.583 MB / 0.5344 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.4125, allocations: 39.59 kB / 0.5345 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/0.4129, allocations: 127.9 kB / 0.5346 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/0.4157, allocations: 1.735 MB / 0.5363 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.4297, allocations: 7.28 MB / 0.5434 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04194/0.4717, allocations: 34.04 MB / 0.5766 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009024/0.4807, allocations: 3.482 MB / 0.58 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.4832, allocations: 1.717 MB / 0.5817 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.4955, allocations: 7.435 MB / 0.589 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.4956, allocations: 47.56 kB / 0.589 GB, free: 15.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 5.019e-06/0.4956, allocations: 0 / 0.589 GB, free: 15.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06732/0.563, allocations: 19.63 MB / 0.6082 GB, free: 11.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5631, allocations: 205.2 kB / 0.6084 GB, free: 11.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005876/0.569, allocations: 3.75 MB / 0.6121 GB, free: 7.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005075/0.5695, allocations: 49.7 kB / 0.6121 GB, free: 7.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.5716, allocations: 2.803 MB / 0.6148 GB, free: 4.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.5729, allocations: 0.7251 MB / 0.6156 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/0.575, allocations: 1.206 MB / 0.6167 GB, free: 2.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5751, allocations: 301.1 kB / 0.617 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/0.5787, allocations: 2.198 MB / 0.6192 GB, free: 300 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/0.5848, allocations: 5.766 MB / 0.6248 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2834/0.8683, allocations: 8.575 MB / 0.6332 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/0.8685, allocations: 36 kB / 0.6332 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02115/0.8896, allocations: 9.184 MB / 0.6422 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.8898, allocations: 59.41 kB / 0.6422 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000285/0.8901, allocations: 124.7 kB / 0.6423 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006444/0.8965, allocations: 1.662 MB / 0.644 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005399/0.902, allocations: 1.32 MB / 0.6453 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/0.9197, allocations: 9.912 MB / 0.6549 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006383/0.9262, allocations: 314.8 kB / 0.6552 GB, free: 115 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/0.928, allocations: 364.1 kB / 0.6556 GB, free: 114.9 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.004409/0.9324, allocations: 1.895 MB / 0.6574 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007756/0.9332, allocations: 329.3 kB / 0.6577 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009231/0.9424, allocations: 4.126 MB / 0.6618 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.9425, allocations: 21.31 kB / 0.6618 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.9426, allocations: 10.81 kB / 0.6618 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.9426, allocations: 12.7 kB / 0.6618 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.9585, allocations: 8.51 MB / 0.6701 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.9585, allocations: 3.938 kB / 0.6701 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.9597, allocations: 255.5 kB / 0.6704 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004857/0.9646, allocations: 1.429 MB / 0.6718 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.9648, allocations: 31.8 kB / 0.6718 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.9762, allocations: 9.225 MB / 0.6808 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9762, allocations: 0 / 0.6808 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.9871, allocations: 6.732 MB / 0.6874 GB, free: 96.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/0.989, allocations: 0.6178 MB / 0.688 GB, free: 95.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006015/0.9896, allocations: 34.94 kB / 0.688 GB, free: 95.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.9911, allocations: 91.95 kB / 0.6881 GB, free: 95.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/0.9915, allocations: 113 kB / 0.6882 GB, free: 95.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.9916, allocations: 54.42 kB / 0.6883 GB, free: 95.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003301/0.995, allocations: 2.328 MB / 0.6905 GB, free: 93.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.995, allocations: 3.609 kB / 0.6905 GB, free: 93.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005562/1.001, allocations: 0.9969 MB / 0.6915 GB, free: 92.06 MB / 0.4981 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.0004765/1.001, allocations: 177 kB / 0.6917 GB, free: 91.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007349/1.008, allocations: 5.406 MB / 0.697 GB, free: 86.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.974e-06/1.008, allocations: 0 / 0.697 GB, free: 86.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.011, allocations: 1.803 MB / 0.6987 GB, free: 84.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.013, allocations: 400.6 kB / 0.6991 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.026, allocations: 8.535 MB / 0.7074 GB, free: 75.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/1.029, allocations: 2.969 MB / 0.7103 GB, free: 72.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003616/1.033, allocations: 1.811 MB / 0.7121 GB, free: 70.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/1.034, allocations: 227.4 kB / 0.7123 GB, free: 70.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/1.034, allocations: 0 / 0.7123 GB, free: 70.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.05633/1.09, allocations: 36.29 MB / 0.7478 GB, free: 34.49 MB / 0.4981 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)