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.007413/0.007413, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001533/0.001533, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.2888/0.2888, allocations: 37.99 MB / 307.9 MB, free: 9.934 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.001638/0.001638, allocations: 75.88 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3041, allocations: 56.45 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.00989/0.314, allocations: 10.4 MB / 499.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.3219, allocations: 3.873 MB / 0.4919 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.3242, allocations: 61.81 kB / 0.492 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.3286, allocations: 2.068 MB / 0.494 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.3335, allocations: 1.696 MB / 0.4957 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.3354, allocations: 0.7045 MB / 0.4964 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006096/0.3415, allocations: 3.812 MB / 0.5001 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.3447, allocations: 2.6 MB / 0.5026 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.3473, allocations: 1.312 MB / 0.5039 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.3507, allocations: 1.854 MB / 0.5057 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009401/0.3516, allocations: 266.7 kB / 0.506 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.3543, allocations: 1.189 MB / 0.5071 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.3561, allocations: 1.692 MB / 0.5088 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.3591, allocations: 1.902 MB / 0.5106 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.37, allocations: 6.208 MB / 0.5167 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.3701, allocations: 1.156 kB / 0.5167 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3701, allocations: 0 / 0.5167 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003242/0.3704, allocations: 0 / 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.01374/0.3841, allocations: 4.242 MB / 0.5208 GB, free: 7.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3842, allocations: 15.88 kB / 0.5209 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/0.402, allocations: 2.425 MB / 0.5232 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007214/0.4093, allocations: 2.491 MB / 0.5257 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.4095, allocations: 193.3 kB / 0.5258 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/0.4108, allocations: 279.8 kB / 0.5261 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.4271, allocations: 8.579 MB / 0.5345 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.4273, allocations: 47.59 kB / 0.5345 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004109/0.4277, allocations: 119.9 kB / 0.5346 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003239/0.431, allocations: 1.735 MB / 0.5363 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.447, allocations: 7.28 MB / 0.5434 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.4928, allocations: 34.04 MB / 0.5767 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008926/0.5018, allocations: 3.482 MB / 0.5801 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.5045, allocations: 1.721 MB / 0.5818 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/0.5176, allocations: 7.428 MB / 0.589 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.5177, allocations: 51.5 kB / 0.5891 GB, free: 15.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 4.949e-06/0.5177, allocations: 4 kB / 0.5891 GB, free: 15.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06379/0.5815, allocations: 19.63 MB / 0.6082 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.5817, allocations: 201.2 kB / 0.6084 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/0.5874, allocations: 3.75 MB / 0.6121 GB, free: 7.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003764/0.5878, allocations: 53.7 kB / 0.6121 GB, free: 7.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002176/0.5899, allocations: 2.799 MB / 0.6149 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.5912, allocations: 0.7173 MB / 0.6156 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.593, allocations: 1.218 MB / 0.6168 GB, free: 2.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.5931, allocations: 301.1 kB / 0.6171 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.5963, allocations: 2.194 MB / 0.6192 GB, free: 244 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.6012, allocations: 5.766 MB / 0.6248 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3126/0.9138, allocations: 8.58 MB / 0.6332 GB, free: 123 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/0.914, allocations: 39.72 kB / 0.6332 GB, free: 123 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02131/0.9353, allocations: 9.17 MB / 0.6422 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.9354, allocations: 59.78 kB / 0.6423 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002615/0.9357, allocations: 124.5 kB / 0.6424 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006544/0.9422, allocations: 1.665 MB / 0.644 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005155/0.9474, allocations: 1.324 MB / 0.6453 GB, free: 120 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.9624, allocations: 9.91 MB / 0.655 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/0.9673, allocations: 308.1 kB / 0.6553 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007729/0.9681, allocations: 362.6 kB / 0.6556 GB, free: 115.3 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.003301/0.9714, allocations: 1.9 MB / 0.6575 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007863/0.9722, allocations: 333.1 kB / 0.6578 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008818/0.981, allocations: 4.128 MB / 0.6618 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/0.9811, allocations: 20.75 kB / 0.6618 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.9811, allocations: 8.562 kB / 0.6618 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.9812, allocations: 7.641 kB / 0.6619 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.9994, allocations: 8.506 MB / 0.6702 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.9994, allocations: 3.906 kB / 0.6702 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.001, allocations: 245 kB / 0.6704 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/1.006, allocations: 1.441 MB / 0.6718 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/1.006, allocations: 38.17 kB / 0.6718 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/1.018, allocations: 9.218 MB / 0.6808 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.018, allocations: 0 / 0.6808 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.029, allocations: 6.737 MB / 0.6874 GB, free: 96.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/1.031, allocations: 0.6178 MB / 0.688 GB, free: 95.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.032, allocations: 34.16 kB / 0.6881 GB, free: 95.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.033, allocations: 95.28 kB / 0.6882 GB, free: 95.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.033, allocations: 113 kB / 0.6883 GB, free: 95.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.033, allocations: 48 kB / 0.6883 GB, free: 95.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003233/1.037, allocations: 2.336 MB / 0.6906 GB, free: 93.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.037, allocations: 0 / 0.6906 GB, free: 93.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005337/1.042, allocations: 0.9928 MB / 0.6916 GB, free: 92.31 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.0004198/1.042, allocations: 172.2 kB / 0.6917 GB, free: 92.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007113/1.05, allocations: 5.42 MB / 0.697 GB, free: 86.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.05, allocations: 0 / 0.697 GB, free: 86.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001982/1.052, allocations: 1.803 MB / 0.6988 GB, free: 84.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/1.054, allocations: 388 kB / 0.6991 GB, free: 84.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.067, allocations: 8.539 MB / 0.7075 GB, free: 75.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/1.07, allocations: 2.969 MB / 0.7104 GB, free: 72.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003844/1.074, allocations: 1.818 MB / 0.7122 GB, free: 71.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/1.074, allocations: 219.4 kB / 0.7124 GB, free: 70.94 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.074, allocations: 4 kB / 0.7124 GB, free: 70.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.05617/1.13, allocations: 36.23 MB / 0.7477 GB, free: 34.85 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)