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.001167/0.001167, allocations: 99.86 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.001366/0.001366, 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.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.3352/0.3352, allocations: 40.01 MB / 310.4 MB, free: 9.77 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.0006236/0.0006237, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 57.95 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2287/0.337, allocations: 54.72 MB / 491.5 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02787/0.3649, allocations: 13 MB / 0.4927 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01162/0.3766, allocations: 278.4 kB / 0.4929 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009464/0.3861, allocations: 2.705 MB / 0.4956 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02699/0.4131, allocations: 7.827 MB / 0.5032 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.4178, allocations: 0.9914 MB / 0.5042 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04086/0.4587, allocations: 27.01 MB / 0.5306 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.4691, allocations: 5.537 MB / 0.536 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/0.4729, allocations: 1.499 MB / 0.5374 GB, free: 464 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.4767, allocations: 2.017 MB / 0.5394 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.4779, allocations: 200 kB / 0.5396 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.481, allocations: 1.123 MB / 0.5407 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003155/0.4842, allocations: 2.213 MB / 0.5428 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.4861, allocations: 1.107 MB / 0.5439 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009109/0.4952, allocations: 7.536 MB / 0.5513 GB, free: 2.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4953, allocations: 0 / 0.5513 GB, free: 2.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4953, allocations: 4 kB / 0.5513 GB, free: 2.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005007/0.4958, allocations: 0 / 0.5513 GB, free: 2.215 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.018/0.5138, allocations: 6.107 MB / 0.5573 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5139, allocations: 8.031 kB / 0.5573 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1623/0.6762, allocations: 14.69 MB / 0.5716 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.6897, allocations: 4.531 MB / 0.576 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.6901, allocations: 312 kB / 0.5763 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.6926, allocations: 427.7 kB / 0.5767 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/0.7233, allocations: 13.89 MB / 0.5903 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/0.7235, allocations: 63.44 kB / 0.5904 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/0.725, allocations: 195.8 kB / 0.5905 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004345/0.7294, allocations: 2.523 MB / 0.593 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.7545, allocations: 11.76 MB / 0.6045 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2795/1.034, allocations: 53.36 MB / 0.6566 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.049, allocations: 5.837 MB / 0.6623 GB, free: 110.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02125/1.07, allocations: 14.94 MB / 0.6769 GB, free: 102.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/1.07, allocations: 65.86 kB / 0.677 GB, free: 102.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 7.695e-06/1.07, allocations: 0 / 0.677 GB, free: 102.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=264): time 0.08579/1.156, allocations: 26.7 MB / 0.703 GB, free: 93.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/1.156, allocations: 258.3 kB / 0.7033 GB, free: 93.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009059/1.165, allocations: 5.33 MB / 0.7085 GB, free: 91.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005489/1.166, allocations: 63.98 kB / 0.7085 GB, free: 91.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/1.168, allocations: 3.963 MB / 0.7124 GB, free: 88.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.169, allocations: 0.9906 MB / 0.7134 GB, free: 87.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000596/1.17, allocations: 152.6 kB / 0.7135 GB, free: 87.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004741/1.17, allocations: 0.6133 MB / 0.7141 GB, free: 86.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003862/1.174, allocations: 2.701 MB / 0.7168 GB, free: 85.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.18, allocations: 7.02 MB / 0.7236 GB, free: 78.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/1.185, allocations: 4.237 MB / 0.7278 GB, free: 73.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.185, allocations: 48 kB / 0.7278 GB, free: 73.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01578/1.201, allocations: 10.04 MB / 0.7376 GB, free: 63.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.201, allocations: 72 kB / 0.7377 GB, free: 63.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/1.201, allocations: 152.9 kB / 0.7378 GB, free: 63.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/1.203, allocations: 0.7304 MB / 0.7385 GB, free: 62.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/1.209, allocations: 1.77 MB / 0.7403 GB, free: 61.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/1.215, allocations: 6.47 MB / 0.7466 GB, free: 54.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/1.22, allocations: 407.3 kB / 0.747 GB, free: 54.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.222, allocations: 444 kB / 0.7474 GB, free: 53.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (913): * Single equations (assignments): 908 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005/1.227, allocations: 2.641 MB / 0.75 GB, free: 50.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.228, allocations: 476.2 kB / 0.7504 GB, free: 50.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007036/1.235, allocations: 4.365 MB / 0.7547 GB, free: 46.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.235, allocations: 28 kB / 0.7547 GB, free: 46.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.235, allocations: 4 kB / 0.7547 GB, free: 46.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/1.235, allocations: 19.95 kB / 0.7547 GB, free: 46.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.254, allocations: 10.86 MB / 0.7653 GB, free: 35.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.254, allocations: 0 / 0.7653 GB, free: 35.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.257, allocations: 0.4914 MB / 0.7658 GB, free: 34.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/1.258, allocations: 499.2 kB / 0.7663 GB, free: 34.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.258, allocations: 43.98 kB / 0.7663 GB, free: 34.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/1.264, allocations: 5.814 MB / 0.772 GB, free: 28.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.264, allocations: 11.92 kB / 0.772 GB, free: 28.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009607/1.273, allocations: 7.678 MB / 0.7795 GB, free: 20.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/1.276, allocations: 0.8541 MB / 0.7804 GB, free: 19.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/1.277, allocations: 44 kB / 0.7804 GB, free: 19.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.28, allocations: 167.3 kB / 0.7806 GB, free: 19.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/1.28, allocations: 149.7 kB / 0.7807 GB, free: 19.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.28, allocations: 67.98 kB / 0.7808 GB, free: 19.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005095/1.285, allocations: 3.38 MB / 0.7841 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.285, allocations: 0 / 0.7841 GB, free: 15.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007188/1.292, allocations: 1.318 MB / 0.7854 GB, free: 14.35 MB / 494.1 MB 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 (224): * Single equations (assignments): 219 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008246/1.293, allocations: 203 kB / 0.7856 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01004/1.303, allocations: 6.743 MB / 0.7921 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/1.303, allocations: 0 / 0.7921 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/1.306, allocations: 2.368 MB / 0.7945 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.309, allocations: 0.5591 MB / 0.795 GB, free: 4.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.332, allocations: 14.6 MB / 0.8093 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006704/1.339, allocations: 4.238 MB / 0.8134 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007238/1.346, allocations: 2.381 MB / 0.8157 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.348, allocations: 323.4 kB / 0.816 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/1.348, allocations: 0 / 0.816 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.285/1.633, allocations: 46.82 MB / 0.8618 GB, free: 151.4 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: