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.001642/0.001642, allocations: 108 kB / 15.6 MB, free: 132 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.001886/0.001886, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.669/1.669, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.4094/0.4094, allocations: 39.94 MB / 309.7 MB, free: 9.332 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.001581/0.001581, allocations: 71.91 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01156/0.1296, allocations: 10.39 MB / 444.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007757/0.1374, allocations: 3.877 MB / 448.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.1394, allocations: 63.81 kB / 448.8 MB, free: 5.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.1433, allocations: 2.079 MB / 450.9 MB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.1477, allocations: 1.692 MB / 452.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1493, allocations: 0.6979 MB / 453.3 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1952/0.3446, allocations: 3.797 MB / 457.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003094/0.3477, allocations: 2.601 MB / 459.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.3497, allocations: 1.322 MB / 461 MB, free: 36.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.3515, allocations: 1.851 MB / 462.9 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005334/0.3521, allocations: 264.6 kB / 463.1 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3539, allocations: 1.179 MB / 464.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.3551, allocations: 1.664 MB / 466 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.3566, allocations: 1.907 MB / 467.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.3617, allocations: 5.989 MB / 473.9 MB, free: 33.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3617, allocations: 0 / 473.9 MB, free: 33.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3617, allocations: 3.188 kB / 473.9 MB, free: 33.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.3618, allocations: 0 / 473.9 MB, free: 33.27 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.008116/0.3699, allocations: 4.229 MB / 478.1 MB, free: 30.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.37, allocations: 15.8 kB / 478.1 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.3856, allocations: 2.428 MB / 480.5 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/0.3914, allocations: 2.446 MB / 483 MB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3915, allocations: 201 kB / 483.2 MB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006432/0.3922, allocations: 272.8 kB / 483.4 MB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.4065, allocations: 8.577 MB / 492 MB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.4067, allocations: 40.19 kB / 492.1 MB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.4071, allocations: 124.1 kB / 492.2 MB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003106/0.4102, allocations: 1.735 MB / 493.9 MB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/0.4298, allocations: 7.291 MB / 0.4895 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04175/0.4716, allocations: 34.18 MB / 0.5228 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009072/0.4807, allocations: 3.48 MB / 0.5262 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.4833, allocations: 1.716 MB / 0.5279 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.4963, allocations: 7.437 MB / 0.5352 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.4964, allocations: 45.98 kB / 0.5352 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.962e-06/0.4964, allocations: 0 / 0.5352 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=188): time 0.06748/0.5639, allocations: 19.62 MB / 0.5544 GB, free: 9.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.5641, allocations: 205.2 kB / 0.5546 GB, free: 9.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007051/0.5711, allocations: 3.757 MB / 0.5582 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004396/0.5716, allocations: 49.7 kB / 0.5583 GB, free: 5.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002518/0.5741, allocations: 2.812 MB / 0.561 GB, free: 2.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.5754, allocations: 0.7132 MB / 0.5617 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003118/0.5785, allocations: 1.2 MB / 0.5629 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5787, allocations: 305.1 kB / 0.5632 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003949/0.5826, allocations: 2.198 MB / 0.5653 GB, free: 14.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006736/0.5894, allocations: 5.762 MB / 0.571 GB, free: 6.957 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.601, allocations: 8.59 MB / 0.5794 GB, free: 12.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.6012, allocations: 40 kB / 0.5794 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02118/0.6224, allocations: 9.176 MB / 0.5884 GB, free: 3.406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.6225, allocations: 59.66 kB / 0.5884 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/0.6227, allocations: 124 kB / 0.5885 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005665/0.6284, allocations: 1.668 MB / 0.5902 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/0.6331, allocations: 1.326 MB / 0.5915 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.6486, allocations: 9.926 MB / 0.6012 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/0.6531, allocations: 307.6 kB / 0.6014 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/0.6542, allocations: 366.9 kB / 0.6018 GB, free: 5.508 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.003789/0.658, allocations: 1.904 MB / 0.6037 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008147/0.6588, allocations: 335.7 kB / 0.604 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009775/0.6686, allocations: 4.123 MB / 0.608 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.6687, allocations: 27.94 kB / 0.608 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.6687, allocations: 8 kB / 0.608 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.6687, allocations: 7.969 kB / 0.608 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/0.6886, allocations: 8.549 MB / 0.6164 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.6886, allocations: 0 / 0.6164 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.6899, allocations: 247.6 kB / 0.6166 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005303/0.6952, allocations: 1.436 MB / 0.618 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/0.6955, allocations: 35.98 kB / 0.6181 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2141/0.9096, allocations: 9.217 MB / 0.6271 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9096, allocations: 0 / 0.6271 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.9207, allocations: 6.729 MB / 0.6336 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.9223, allocations: 0.6172 MB / 0.6342 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007072/0.923, allocations: 29.62 kB / 0.6343 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.9246, allocations: 91.03 kB / 0.6344 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/0.9249, allocations: 106.5 kB / 0.6345 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9251, allocations: 54.97 kB / 0.6345 GB, free: 142.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003049/0.9281, allocations: 2.332 MB / 0.6368 GB, free: 141.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9281, allocations: 0 / 0.6368 GB, free: 141.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004446/0.9326, allocations: 1 MB / 0.6378 GB, free: 141.4 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.0003693/0.933, allocations: 157.6 kB / 0.6379 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009115/0.9421, allocations: 6.33 MB / 0.6441 GB, free: 139.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.9421, allocations: 0 / 0.6441 GB, free: 139.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.9446, allocations: 1.808 MB / 0.6459 GB, free: 138.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.9472, allocations: 387.3 kB / 0.6462 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.962, allocations: 8.642 MB / 0.6547 GB, free: 135.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/0.9653, allocations: 2.97 MB / 0.6576 GB, free: 133.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005064/0.9704, allocations: 1.812 MB / 0.6593 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/0.9711, allocations: 221.1 kB / 0.6596 GB, free: 133.7 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.9711, allocations: 0 / 0.6596 GB, free: 133.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06554/1.037, allocations: 39.13 MB / 0.6978 GB, free: 107.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (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)