Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.000907/0.000907, allocations: 99.86 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.001047/0.001047, 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.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3352/0.3352, allocations: 39.99 MB / 310.4 MB, free: 10.12 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.2. 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.0005912/0.0005915, allocations: 16 kB / 378.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.121, allocations: 57.96 MB / 436.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2479/0.369, allocations: 29.78 MB / 466.6 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.3856, allocations: 7.769 MB / 474.3 MB, free: 31.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007386/0.393, allocations: 148.1 kB / 474.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005525/0.3986, allocations: 1.432 MB / 475.9 MB, free: 31.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01305/0.4117, allocations: 4.344 MB / 480.2 MB, free: 30 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.4143, allocations: 0.5691 MB / 480.8 MB, free: 29.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01901/0.4333, allocations: 13.96 MB / 494.8 MB, free: 25.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005965/0.4393, allocations: 2.97 MB / 497.7 MB, free: 24.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.4422, allocations: 0.9434 MB / 498.7 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.4448, allocations: 1.274 MB / 500 MB, free: 24.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005935/0.4454, allocations: 124.1 kB / 0.4884 GB, free: 24.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.4479, allocations: 0.9311 MB / 0.4893 GB, free: 23.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.4502, allocations: 1.388 MB / 0.4906 GB, free: 23.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.4515, allocations: 0.7261 MB / 0.4913 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00838/0.4599, allocations: 4.85 MB / 0.4961 GB, free: 21.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4599, allocations: 0 / 0.4961 GB, free: 21.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.4599, allocations: 0 / 0.4961 GB, free: 21.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002637/0.4602, allocations: 5.25 kB / 0.4961 GB, free: 21.5 MB / 382.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.01214/0.4723, allocations: 3.705 MB / 0.4997 GB, free: 18.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4724, allocations: 12.69 kB / 0.4997 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08493/0.5573, allocations: 8.297 MB / 0.5078 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/0.5649, allocations: 2.591 MB / 0.5103 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.5651, allocations: 196.9 kB / 0.5105 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006509/0.5657, allocations: 259.8 kB / 0.5108 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.5794, allocations: 8.591 MB / 0.5192 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.5796, allocations: 39.66 kB / 0.5192 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.5799, allocations: 127.9 kB / 0.5193 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/0.5824, allocations: 1.739 MB / 0.521 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.5965, allocations: 7.219 MB / 0.5281 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05081/0.6474, allocations: 34.06 MB / 0.5613 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008985/0.6564, allocations: 3.463 MB / 0.5647 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/0.67, allocations: 7.291 MB / 0.5718 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.6701, allocations: 51.56 kB / 0.5719 GB, free: 11.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 5.711e-06/0.6701, allocations: 0 / 0.5719 GB, free: 11.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.06582/0.7359, allocations: 19.68 MB / 0.5911 GB, free: 7.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.7361, allocations: 205.2 kB / 0.5913 GB, free: 7.258 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007457/0.7436, allocations: 3.862 MB / 0.5951 GB, free: 3.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004643/0.7441, allocations: 53.7 kB / 0.5951 GB, free: 3.348 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002374/0.7465, allocations: 2.826 MB / 0.5979 GB, free: 492 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.7476, allocations: 0.7175 MB / 0.5986 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/0.7481, allocations: 116 kB / 0.5987 GB, free: 15.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005274/0.7487, allocations: 0.5461 MB / 0.5992 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/0.7526, allocations: 2.073 MB / 0.6012 GB, free: 13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006653/0.7593, allocations: 5.609 MB / 0.6067 GB, free: 5.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005626/0.7649, allocations: 3.338 MB / 0.61 GB, free: 2.285 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/0.7651, allocations: 36 kB / 0.61 GB, free: 2.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01873/0.7838, allocations: 8.674 MB / 0.6185 GB, free: 9.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.784, allocations: 59.94 kB / 0.6185 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/0.7842, allocations: 128.5 kB / 0.6187 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/0.7895, allocations: 1.454 MB / 0.6201 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/0.794, allocations: 1.29 MB / 0.6213 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2214/1.015, allocations: 8.883 MB / 0.63 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004788/1.02, allocations: 300.3 kB / 0.6303 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007476/1.021, allocations: 359.8 kB / 0.6306 GB, free: 138.5 MB / 494.1 MB 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 (695): * Single equations (assignments): 691 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003216/1.024, allocations: 1.89 MB / 0.6325 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/1.025, allocations: 341.5 kB / 0.6328 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007573/1.032, allocations: 3.792 MB / 0.6365 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.032, allocations: 25.11 kB / 0.6365 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.033, allocations: 6.656 kB / 0.6365 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.033, allocations: 10.02 kB / 0.6366 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/1.047, allocations: 8.212 MB / 0.6446 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.047, allocations: 3.188 kB / 0.6446 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.049, allocations: 249.2 kB / 0.6448 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/1.053, allocations: 1.207 MB / 0.646 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.053, allocations: 38.69 kB / 0.646 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/1.063, allocations: 8.169 MB / 0.654 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.063, allocations: 1.969 kB / 0.654 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.076, allocations: 6.367 MB / 0.6602 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.078, allocations: 0.6174 MB / 0.6608 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/1.079, allocations: 28.36 kB / 0.6609 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.08, allocations: 89.62 kB / 0.6609 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.08, allocations: 112.2 kB / 0.6611 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.08, allocations: 53.12 kB / 0.6611 GB, free: 129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004508/1.085, allocations: 2.429 MB / 0.6635 GB, free: 128.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.6e-07/1.085, allocations: 0 / 0.6635 GB, free: 128.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006831/1.092, allocations: 0.9837 MB / 0.6644 GB, free: 128.1 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007796/1.093, allocations: 177.5 kB / 0.6646 GB, free: 128 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01004/1.103, allocations: 5.18 MB / 0.6697 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.103, allocations: 0 / 0.6697 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002774/1.105, allocations: 1.739 MB / 0.6714 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.108, allocations: 367.6 kB / 0.6717 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.125, allocations: 9.861 MB / 0.6813 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003886/1.129, allocations: 3.051 MB / 0.6843 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005418/1.135, allocations: 1.819 MB / 0.6861 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008888/1.136, allocations: 228.3 kB / 0.6863 GB, free: 119.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.796e-06/1.136, allocations: 0 / 0.6863 GB, free: 119.1 MB / 494.1 MB Notification: Performance of Templates: time 0.06451/1.2, allocations: 36.24 MB / 0.7217 GB, free: 86.11 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: