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.001427/0.001427, allocations: 99.47 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.001809/0.001809, allocations: 177.3 kB / 15.94 MB, free: 228 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.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.3315/0.3315, allocations: 38.04 MB / 308.4 MB, free: 10.46 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.0005618/0.000562, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1293, allocations: 57.53 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2595/0.3889, allocations: 29.78 MB / 463.7 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.4059, allocations: 7.764 MB / 471.5 MB, free: 32.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006395/0.4123, allocations: 148.3 kB / 471.6 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.4168, allocations: 1.43 MB / 473.1 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.4295, allocations: 4.347 MB / 477.4 MB, free: 31.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.4316, allocations: 0.5636 MB / 478 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01844/0.4501, allocations: 13.96 MB / 491.9 MB, free: 28.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004923/0.4551, allocations: 2.967 MB / 494.9 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.4572, allocations: 0.9372 MB / 495.8 MB, free: 26.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.4593, allocations: 1.277 MB / 497.1 MB, free: 26.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.4598, allocations: 124.6 kB / 497.2 MB, free: 26.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.4617, allocations: 0.9301 MB / 498.2 MB, free: 26.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.4631, allocations: 1.388 MB / 499.5 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000854/0.464, allocations: 0.7255 MB / 0.4885 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006393/0.4704, allocations: 4.86 MB / 0.4933 GB, free: 24.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4704, allocations: 1.344 kB / 0.4933 GB, free: 24.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4704, allocations: 0 / 0.4933 GB, free: 24.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.4707, allocations: 0 / 0.4933 GB, free: 24.17 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.01052/0.4812, allocations: 3.699 MB / 0.4969 GB, free: 21.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4812, allocations: 9.344 kB / 0.4969 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08877/0.57, allocations: 8.293 MB / 0.505 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007738/0.5778, allocations: 2.601 MB / 0.5076 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.578, allocations: 196.9 kB / 0.5077 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.5792, allocations: 271.7 kB / 0.508 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.5943, allocations: 8.576 MB / 0.5164 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.5944, allocations: 51.58 kB / 0.5164 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.5948, allocations: 123.9 kB / 0.5165 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.5972, allocations: 1.739 MB / 0.5182 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.6104, allocations: 7.214 MB / 0.5253 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04392/0.6544, allocations: 34.07 MB / 0.5586 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00881/0.6632, allocations: 3.456 MB / 0.5619 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.6755, allocations: 7.295 MB / 0.5691 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.6756, allocations: 51.5 kB / 0.5691 GB, free: 15.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 4.358e-06/0.6756, allocations: 0 / 0.5691 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.06331/0.7389, allocations: 19.68 MB / 0.5883 GB, free: 11.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7391, allocations: 197.2 kB / 0.5885 GB, free: 11.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00649/0.7456, allocations: 3.866 MB / 0.5923 GB, free: 7.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004939/0.7461, allocations: 53.69 kB / 0.5923 GB, free: 7.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.7483, allocations: 2.819 MB / 0.5951 GB, free: 4.664 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.7494, allocations: 0.7212 MB / 0.5958 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.7496, allocations: 116 kB / 0.5959 GB, free: 3.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003658/0.75, allocations: 0.55 MB / 0.5964 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.7533, allocations: 2.069 MB / 0.5985 GB, free: 1.188 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007462/0.7608, allocations: 5.609 MB / 0.6039 GB, free: 9.801 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008767/0.7696, allocations: 3.335 MB / 0.6072 GB, free: 6.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/0.7698, allocations: 36 kB / 0.6072 GB, free: 6.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.03447/0.8043, allocations: 8.678 MB / 0.6157 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.8046, allocations: 60 kB / 0.6158 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003672/0.805, allocations: 124 kB / 0.6159 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.8156, allocations: 1.454 MB / 0.6173 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009187/0.8248, allocations: 1.287 MB / 0.6186 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02634/0.8512, allocations: 8.885 MB / 0.6272 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/0.8584, allocations: 299.5 kB / 0.6275 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/0.8599, allocations: 360.4 kB / 0.6279 GB, free: 1.141 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.2402/1.1, allocations: 1.901 MB / 0.6297 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007983/1.101, allocations: 332.8 kB / 0.63 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008535/1.109, allocations: 3.792 MB / 0.6337 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/1.11, allocations: 19.59 kB / 0.6338 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.11, allocations: 11.66 kB / 0.6338 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.11, allocations: 11.55 kB / 0.6338 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.126, allocations: 8.214 MB / 0.6418 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.126, allocations: 0 / 0.6418 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.127, allocations: 249.6 kB / 0.642 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00455/1.132, allocations: 1.204 MB / 0.6432 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/1.132, allocations: 32.66 kB / 0.6432 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.143, allocations: 8.18 MB / 0.6512 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.143, allocations: 4.219 kB / 0.6512 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/1.155, allocations: 6.359 MB / 0.6575 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/1.157, allocations: 0.617 MB / 0.6581 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006914/1.158, allocations: 31.91 kB / 0.6581 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.159, allocations: 88.02 kB / 0.6582 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/1.16, allocations: 111.2 kB / 0.6583 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.16, allocations: 60.2 kB / 0.6583 GB, free: 135 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005076/1.165, allocations: 2.424 MB / 0.6607 GB, free: 134.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.165, allocations: 0 / 0.6607 GB, free: 134.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007296/1.172, allocations: 0.9798 MB / 0.6617 GB, free: 134 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.0007425/1.173, allocations: 182.8 kB / 0.6618 GB, free: 133.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009936/1.183, allocations: 5.182 MB / 0.6669 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.183, allocations: 0 / 0.6669 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002981/1.186, allocations: 1.741 MB / 0.6686 GB, free: 131.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/1.19, allocations: 366.8 kB / 0.6689 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.208, allocations: 9.857 MB / 0.6786 GB, free: 126.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003455/1.211, allocations: 3.05 MB / 0.6815 GB, free: 125.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004595/1.216, allocations: 1.823 MB / 0.6833 GB, free: 125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/1.217, allocations: 225.9 kB / 0.6835 GB, free: 124.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/1.217, allocations: 0 / 0.6835 GB, free: 124.9 MB / 494.1 MB Notification: Performance of Templates: time 0.06382/1.281, allocations: 36.25 MB / 0.7189 GB, free: 93.51 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: