Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001377/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001725/0.001725, allocations: 194.4 kB / 16.14 MB, free: 6.711 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.593/1.593, allocations: 205.1 MB / 222 MB, free: 4.742 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.414/0.414, allocations: 39.94 MB / 309.3 MB, free: 9.609 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.001836/0.001836, allocations: 67.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1449, allocations: 56.88 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3156/0.4605, allocations: 63.95 MB / 497.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04072/0.5013, allocations: 13.1 MB / 0.4989 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02092/0.5224, allocations: 282.1 kB / 0.4992 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009584/0.532, allocations: 4.023 MB / 0.5031 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008485/0.5405, allocations: 2.201 MB / 0.5052 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.5443, allocations: 1.074 MB / 0.5063 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01821/0.5625, allocations: 8.874 MB / 0.5149 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01136/0.5739, allocations: 4.625 MB / 0.5195 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007605/0.5816, allocations: 2.013 MB / 0.5214 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.5922, allocations: 3.241 MB / 0.5246 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003647/0.5959, allocations: 325.7 kB / 0.5249 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005958/0.6019, allocations: 1.493 MB / 0.5264 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00501/0.6069, allocations: 2.615 MB / 0.5289 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007801/0.6147, allocations: 2.908 MB / 0.5318 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.6294, allocations: 9.061 MB / 0.5406 GB, free: 11.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6294, allocations: 0 / 0.5406 GB, free: 11.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6294, allocations: 0 / 0.5406 GB, free: 11.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004846/0.6299, allocations: 4 kB / 0.5406 GB, free: 11.75 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.02571/0.6556, allocations: 6.777 MB / 0.5472 GB, free: 4.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.6557, allocations: 8.031 kB / 0.5472 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.6818, allocations: 3.297 MB / 0.5505 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.6942, allocations: 4.2 MB / 0.5546 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/0.6947, allocations: 308.5 kB / 0.5549 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002312/0.697, allocations: 427.7 kB / 0.5553 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0292/0.7262, allocations: 13.82 MB / 0.5688 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.7265, allocations: 59.47 kB / 0.5688 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005835/0.7271, allocations: 199.8 kB / 0.569 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003958/0.731, allocations: 2.527 MB / 0.5715 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/0.7574, allocations: 11.81 MB / 0.583 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3282/1.086, allocations: 53.73 MB / 0.6355 GB, free: 113.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/1.101, allocations: 5.91 MB / 0.6412 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004451/1.105, allocations: 3.599 MB / 0.6448 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01884/1.124, allocations: 15.44 MB / 0.6598 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.124, allocations: 62.72 kB / 0.6599 GB, free: 104.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 5.44e-06/1.124, allocations: 1.641 kB / 0.6599 GB, free: 104.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.0899/1.214, allocations: 28.63 MB / 0.6878 GB, free: 95.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.214, allocations: 257.3 kB / 0.6881 GB, free: 95.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007456/1.222, allocations: 5.084 MB / 0.6931 GB, free: 93.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006375/1.222, allocations: 68.48 kB / 0.6931 GB, free: 93.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002556/1.225, allocations: 3.886 MB / 0.6969 GB, free: 90.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.226, allocations: 1.014 MB / 0.6979 GB, free: 89.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/1.228, allocations: 1.549 MB / 0.6994 GB, free: 88.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/1.228, allocations: 305.1 kB / 0.6997 GB, free: 88.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.232, allocations: 3.002 MB / 0.7026 GB, free: 87.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00561/1.237, allocations: 7.35 MB / 0.7098 GB, free: 79.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/1.249, allocations: 11.1 MB / 0.7207 GB, free: 67.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000188/1.249, allocations: 44 kB / 0.7207 GB, free: 66.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02114/1.27, allocations: 11.19 MB / 0.7316 GB, free: 55.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.27, allocations: 68 kB / 0.7317 GB, free: 55.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.27, allocations: 152 kB / 0.7318 GB, free: 55.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/1.273, allocations: 1.226 MB / 0.733 GB, free: 54.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006283/1.28, allocations: 1.829 MB / 0.7348 GB, free: 52.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007825/1.287, allocations: 7.779 MB / 0.7424 GB, free: 44.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007535/1.295, allocations: 431.3 kB / 0.7428 GB, free: 44.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.296, allocations: 448 kB / 0.7433 GB, free: 43.61 MB / 494.1 MB 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.004487/1.301, allocations: 2.642 MB / 0.7458 GB, free: 40.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.302, allocations: 466 kB / 0.7463 GB, free: 40.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007361/1.309, allocations: 5.231 MB / 0.7514 GB, free: 35.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/1.309, allocations: 28 kB / 0.7514 GB, free: 35.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.309, allocations: 8 kB / 0.7514 GB, free: 35.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.309, allocations: 11.95 kB / 0.7514 GB, free: 35.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.329, allocations: 11.76 MB / 0.7629 GB, free: 23.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.329, allocations: 0 / 0.7629 GB, free: 23.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.332, allocations: 0.4915 MB / 0.7634 GB, free: 22.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/1.334, allocations: 0.9964 MB / 0.7644 GB, free: 21.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.334, allocations: 44 kB / 0.7644 GB, free: 21.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/1.341, allocations: 7.116 MB / 0.7714 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.341, allocations: 4 kB / 0.7714 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.353, allocations: 8.722 MB / 0.7799 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/1.356, allocations: 0.8738 MB / 0.7807 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009191/1.357, allocations: 59.59 kB / 0.7808 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.359, allocations: 167.8 kB / 0.781 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/1.359, allocations: 147.1 kB / 0.7811 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/1.36, allocations: 75.98 kB / 0.7812 GB, free: 4.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00428/1.364, allocations: 3.174 MB / 0.7843 GB, free: 1.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.364, allocations: 3.938 kB / 0.7843 GB, free: 1.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006741/1.371, allocations: 1.376 MB / 0.7856 GB, free: 15.86 MB / 0.4981 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.0006959/1.371, allocations: 188 kB / 0.7858 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.384, allocations: 7.306 MB / 0.7929 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.384, allocations: 4 kB / 0.7929 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004158/1.388, allocations: 2.557 MB / 0.7954 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/1.392, allocations: 0.5728 MB / 0.796 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.416, allocations: 15.57 MB / 0.8112 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005654/1.422, allocations: 4.113 MB / 0.8152 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007501/1.43, allocations: 2.366 MB / 0.8175 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.431, allocations: 327.4 kB / 0.8178 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/1.431, allocations: 3.938 kB / 0.8178 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.3004/1.732, allocations: 50.27 MB / 0.8669 GB, free: 165.7 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)