Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009285/0.009285, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001437/0.001437, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.528/1.528, 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.3211/0.3211, allocations: 38 MB / 307.9 MB, free: 10.03 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.001532/0.001532, allocations: 75.84 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0151/0.3394, allocations: 15.04 MB / 0.4927 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.3521, allocations: 5.01 MB / 0.4976 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.3569, allocations: 101.3 kB / 0.4977 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009169/0.3661, allocations: 4.024 MB / 0.5016 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009578/0.3757, allocations: 2.422 MB / 0.504 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004703/0.3805, allocations: 1.164 MB / 0.5051 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.3937, allocations: 6.171 MB / 0.5111 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00886/0.4026, allocations: 4.708 MB / 0.5157 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/0.4077, allocations: 2.212 MB / 0.5179 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005458/0.4132, allocations: 3.042 MB / 0.5209 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.4148, allocations: 460 kB / 0.5213 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.4193, allocations: 1.541 MB / 0.5228 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004361/0.4237, allocations: 2.767 MB / 0.5255 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005488/0.4292, allocations: 3.022 MB / 0.5285 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.4412, allocations: 9.46 MB / 0.5377 GB, free: 6.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4412, allocations: 0 / 0.5377 GB, free: 6.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4413, allocations: 0 / 0.5377 GB, free: 6.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003746/0.4416, allocations: 3.938 kB / 0.5377 GB, free: 6.211 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02034/0.462, allocations: 6.757 MB / 0.5443 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.4621, allocations: 11.89 kB / 0.5443 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02476/0.4868, allocations: 3.301 MB / 0.5475 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.4972, allocations: 4.289 MB / 0.5517 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.4976, allocations: 316.3 kB / 0.552 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.4993, allocations: 423.6 kB / 0.5524 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/0.5274, allocations: 13.82 MB / 0.5659 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004451/0.5279, allocations: 55.52 kB / 0.566 GB, free: 8.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/0.5301, allocations: 199.8 kB / 0.5662 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004625/0.5348, allocations: 2.531 MB / 0.5686 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.5613, allocations: 11.8 MB / 0.5802 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07383/0.6352, allocations: 53.48 MB / 0.6324 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2365/0.8718, allocations: 5.913 MB / 0.6382 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/0.877, allocations: 3.592 MB / 0.6417 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02472/0.9017, allocations: 15.43 MB / 0.6567 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.9018, allocations: 63.06 kB / 0.6568 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 6.301e-06/0.9019, allocations: 0 / 0.6568 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.07913/0.981, allocations: 28.65 MB / 0.6848 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.9811, allocations: 266.8 kB / 0.685 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005631/0.9868, allocations: 5.081 MB / 0.69 GB, free: 99.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004908/0.9873, allocations: 69.7 kB / 0.6901 GB, free: 98.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.9889, allocations: 3.887 MB / 0.6939 GB, free: 95.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009361/0.9899, allocations: 1.01 MB / 0.6948 GB, free: 94.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/0.9916, allocations: 1.547 MB / 0.6964 GB, free: 92.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.9916, allocations: 301.1 kB / 0.6966 GB, free: 92.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.9949, allocations: 3.006 MB / 0.6996 GB, free: 89.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/0.9995, allocations: 7.354 MB / 0.7068 GB, free: 79.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008752/1.008, allocations: 11.09 MB / 0.7176 GB, free: 66.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.724e-05/1.008, allocations: 47.94 kB / 0.7176 GB, free: 66.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01508/1.023, allocations: 11.2 MB / 0.7286 GB, free: 55.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/1.024, allocations: 68 kB / 0.7286 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/1.024, allocations: 152 kB / 0.7288 GB, free: 55.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/1.026, allocations: 1.225 MB / 0.73 GB, free: 53.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/1.032, allocations: 1.833 MB / 0.7318 GB, free: 52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/1.039, allocations: 8.365 MB / 0.7399 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.045, allocations: 427.3 kB / 0.7403 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/1.046, allocations: 448 kB / 0.7408 GB, free: 42.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (954): * Single equations (assignments): 949 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004273/1.051, allocations: 2.635 MB / 0.7433 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.052, allocations: 468 kB / 0.7438 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00854/1.06, allocations: 5.238 MB / 0.7489 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/1.06, allocations: 31.98 kB / 0.7489 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.06, allocations: 4 kB / 0.7489 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/1.06, allocations: 11.95 kB / 0.7489 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/1.079, allocations: 11.64 MB / 0.7603 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.079, allocations: 4 kB / 0.7603 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.082, allocations: 0.4914 MB / 0.7608 GB, free: 21.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/1.084, allocations: 0.9848 MB / 0.7618 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/1.084, allocations: 51.92 kB / 0.7618 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006981/1.091, allocations: 7.699 MB / 0.7693 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.091, allocations: 4 kB / 0.7693 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.102, allocations: 8.749 MB / 0.7779 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.104, allocations: 0.8777 MB / 0.7787 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006644/1.105, allocations: 44.09 kB / 0.7788 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.107, allocations: 175.7 kB / 0.7789 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/1.107, allocations: 149.7 kB / 0.7791 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.107, allocations: 71.98 kB / 0.7792 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004149/1.111, allocations: 3.178 MB / 0.7823 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/1.111, allocations: 0 / 0.7823 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006235/1.118, allocations: 1.37 MB / 0.7836 GB, free: 14.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005154/1.118, allocations: 194.7 kB / 0.7838 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.13, allocations: 7.331 MB / 0.7909 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.13, allocations: 384 / 0.7909 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.134, allocations: 2.566 MB / 0.7934 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/1.14, allocations: 0.5975 MB / 0.794 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.163, allocations: 12.78 MB / 0.8065 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006149/1.169, allocations: 4.109 MB / 0.8105 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006309/1.176, allocations: 2.369 MB / 0.8128 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.177, allocations: 319.4 kB / 0.8131 GB, free: 15.93 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/1.177, allocations: 7.938 kB / 0.8131 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Templates: time 0.3009/1.478, allocations: 47.99 MB / 0.86 GB, free: 185.9 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)