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.001208/0.001208, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3031/0.3031, allocations: 37.99 MB / 307.7 MB, free: 10.09 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.001516/0.001516, allocations: 68.53 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1215, allocations: 56.47 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01163/0.1332, allocations: 10.4 MB / 442.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008177/0.1414, allocations: 3.861 MB / 446 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1432, allocations: 63.81 kB / 446 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.1471, allocations: 2.075 MB / 448.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.1517, allocations: 1.704 MB / 449.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.1535, allocations: 0.694 MB / 450.5 MB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2212/0.3748, allocations: 3.805 MB / 454.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004629/0.3794, allocations: 2.598 MB / 456.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3816, allocations: 1.316 MB / 458.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.3838, allocations: 1.852 MB / 460.1 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006415/0.3845, allocations: 267.1 kB / 460.3 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.3865, allocations: 1.181 MB / 461.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.3878, allocations: 1.662 MB / 463.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.3895, allocations: 1.907 MB / 465.1 MB, free: 35.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.3947, allocations: 5.983 MB / 471.1 MB, free: 33.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3947, allocations: 1.594 kB / 471.1 MB, free: 33.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3947, allocations: 3.281 kB / 471.1 MB, free: 33.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00013/0.3949, allocations: 3.938 kB / 471.1 MB, free: 33.63 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.007415/0.4023, allocations: 4.233 MB / 475.3 MB, free: 31.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4023, allocations: 16.92 kB / 475.3 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.4179, allocations: 2.432 MB / 477.8 MB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.423, allocations: 2.45 MB / 480.2 MB, free: 29.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4231, allocations: 193.2 kB / 480.4 MB, free: 29.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005694/0.4237, allocations: 270.7 kB / 480.7 MB, free: 29.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.4379, allocations: 8.572 MB / 489.2 MB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.4381, allocations: 38.61 kB / 489.3 MB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003789/0.4385, allocations: 129.8 kB / 489.4 MB, free: 25.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003112/0.4416, allocations: 1.741 MB / 491.1 MB, free: 25.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.4577, allocations: 7.281 MB / 498.4 MB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04544/0.5032, allocations: 34.18 MB / 0.5201 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008813/0.512, allocations: 3.483 MB / 0.5235 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.5147, allocations: 1.721 MB / 0.5252 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/0.527, allocations: 7.425 MB / 0.5325 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.5271, allocations: 51.56 kB / 0.5325 GB, free: 1.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 7.534e-06/0.5271, allocations: 0 / 0.5325 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=188): time 0.06882/0.5959, allocations: 19.63 MB / 0.5517 GB, free: 13.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5961, allocations: 197.2 kB / 0.5519 GB, free: 13.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006753/0.6028, allocations: 3.75 MB / 0.5555 GB, free: 9.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005519/0.6034, allocations: 53.7 kB / 0.5556 GB, free: 9.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002606/0.606, allocations: 2.804 MB / 0.5583 GB, free: 6.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.6073, allocations: 0.7135 MB / 0.559 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.609, allocations: 1.215 MB / 0.5602 GB, free: 4.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.6091, allocations: 301.1 kB / 0.5605 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/0.6123, allocations: 2.194 MB / 0.5626 GB, free: 2.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/0.6181, allocations: 5.769 MB / 0.5683 GB, free: 10.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/0.6304, allocations: 8.589 MB / 0.5766 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.897e-05/0.6306, allocations: 36 kB / 0.5767 GB, free: 0.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02167/0.6523, allocations: 9.171 MB / 0.5856 GB, free: 7.613 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.6525, allocations: 60 kB / 0.5857 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/0.6527, allocations: 132.1 kB / 0.5858 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00577/0.6585, allocations: 1.667 MB / 0.5874 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.6631, allocations: 1.322 MB / 0.5887 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.6785, allocations: 9.928 MB / 0.5984 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/0.6842, allocations: 311.5 kB / 0.5987 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/0.6858, allocations: 368 kB / 0.5991 GB, free: 9.703 MB / 478.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 (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.004767/0.6906, allocations: 1.896 MB / 0.6009 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/0.6917, allocations: 331.7 kB / 0.6012 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.7021, allocations: 4.128 MB / 0.6053 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.437e-05/0.7023, allocations: 27.94 kB / 0.6053 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.605e-05/0.7023, allocations: 11.98 kB / 0.6053 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-05/0.7024, allocations: 11.97 kB / 0.6053 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/0.7259, allocations: 8.537 MB / 0.6137 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/0.7259, allocations: 0 / 0.6137 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.7274, allocations: 247.6 kB / 0.6139 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.7328, allocations: 1.44 MB / 0.6153 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/0.7332, allocations: 34.64 kB / 0.6153 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2672/1, allocations: 9.214 MB / 0.6243 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1, allocations: 7.906 kB / 0.6243 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.012, allocations: 6.726 MB / 0.6309 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.013, allocations: 0.6122 MB / 0.6315 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005721/1.014, allocations: 34.12 kB / 0.6315 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.015, allocations: 97.73 kB / 0.6316 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/1.016, allocations: 111.3 kB / 0.6317 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.016, allocations: 54.5 kB / 0.6318 GB, free: 145.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003552/1.019, allocations: 2.329 MB / 0.6341 GB, free: 145 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.32e-07/1.019, allocations: 0 / 0.6341 GB, free: 145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005573/1.025, allocations: 0.9919 MB / 0.635 GB, free: 144.9 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 (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.0004799/1.025, allocations: 168.2 kB / 0.6352 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01023/1.036, allocations: 6.328 MB / 0.6414 GB, free: 142.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.036, allocations: 2.844 kB / 0.6414 GB, free: 142.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/1.038, allocations: 1.807 MB / 0.6431 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/1.041, allocations: 385.4 kB / 0.6435 GB, free: 142 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.061, allocations: 8.651 MB / 0.652 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/1.065, allocations: 2.964 MB / 0.6549 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005575/1.07, allocations: 1.81 MB / 0.6566 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006578/1.071, allocations: 223.6 kB / 0.6568 GB, free: 137.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/1.071, allocations: 0 / 0.6568 GB, free: 137.2 MB / 494.1 MB Notification: Performance of Templates: time 0.07531/1.146, allocations: 39.12 MB / 0.695 GB, free: 113.9 MB / 494.1 MB 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)