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.0008162/0.0008161, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00086/0.0008599, allocations: 172.7 kB / 15.95 MB, free: 208 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.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3143/0.3143, allocations: 38.03 MB / 308.4 MB, free: 10.22 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.0005639/0.0005639, allocations: 24 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2487/0.3595, allocations: 58 MB / 492 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02729/0.3869, allocations: 12.43 MB / 0.4926 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01269/0.3996, allocations: 284.3 kB / 0.4928 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009205/0.4088, allocations: 2.978 MB / 0.4958 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02585/0.4347, allocations: 8.856 MB / 0.5044 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.4397, allocations: 1.003 MB / 0.5054 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04612/0.4858, allocations: 35.26 MB / 0.5398 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008661/0.4945, allocations: 5.574 MB / 0.5453 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.4985, allocations: 1.841 MB / 0.5471 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/0.5034, allocations: 2.843 MB / 0.5498 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.5046, allocations: 204 kB / 0.55 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.5078, allocations: 1.151 MB / 0.5512 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002605/0.5104, allocations: 2.4 MB / 0.5535 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.5119, allocations: 1.096 MB / 0.5546 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.5205, allocations: 7.221 MB / 0.5616 GB, free: 9.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.5205, allocations: 0 / 0.5616 GB, free: 9.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5205, allocations: 0 / 0.5616 GB, free: 9.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003184/0.5209, allocations: 3.938 kB / 0.5616 GB, free: 9.598 MB / 430.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.01365/0.5345, allocations: 5.669 MB / 0.5672 GB, free: 3.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5346, allocations: 16.03 kB / 0.5672 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02084/0.5554, allocations: 3.374 MB / 0.5705 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00916/0.5646, allocations: 4.116 MB / 0.5745 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/0.5651, allocations: 315.9 kB / 0.5748 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.5671, allocations: 427.6 kB / 0.5752 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/0.5969, allocations: 13.82 MB / 0.5887 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002408/0.5972, allocations: 59.45 kB / 0.5887 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/0.5977, allocations: 199.8 kB / 0.5889 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/0.6015, allocations: 2.527 MB / 0.5914 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.6258, allocations: 11.77 MB / 0.6029 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.283/0.9088, allocations: 53.75 MB / 0.6554 GB, free: 113.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.923, allocations: 5.911 MB / 0.6612 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004669/0.9277, allocations: 3.583 MB / 0.6647 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02378/0.9515, allocations: 15.44 MB / 0.6797 GB, free: 103.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.9516, allocations: 53.94 kB / 0.6798 GB, free: 103.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 6.081e-06/0.9516, allocations: 7.797 kB / 0.6798 GB, free: 103.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08212/1.034, allocations: 28.69 MB / 0.7078 GB, free: 94.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/1.034, allocations: 260.6 kB / 0.7081 GB, free: 94.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008143/1.042, allocations: 5.049 MB / 0.713 GB, free: 92.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004678/1.043, allocations: 72.86 kB / 0.7131 GB, free: 92.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.045, allocations: 3.889 MB / 0.7169 GB, free: 89.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001284/1.046, allocations: 1.004 MB / 0.7179 GB, free: 88.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006674/1.047, allocations: 151.8 kB / 0.718 GB, free: 88.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004833/1.047, allocations: 0.6328 MB / 0.7186 GB, free: 87.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004582/1.052, allocations: 2.978 MB / 0.7215 GB, free: 85.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006924/1.059, allocations: 7.315 MB / 0.7287 GB, free: 76.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007266/1.066, allocations: 4.529 MB / 0.7331 GB, free: 71.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001862/1.066, allocations: 44 kB / 0.7331 GB, free: 71.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01796/1.084, allocations: 11.13 MB / 0.744 GB, free: 60.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.084, allocations: 68 kB / 0.7441 GB, free: 60.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/1.085, allocations: 152 kB / 0.7442 GB, free: 60.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/1.087, allocations: 1.238 MB / 0.7454 GB, free: 59.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005772/1.093, allocations: 1.829 MB / 0.7472 GB, free: 57.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008193/1.101, allocations: 7.774 MB / 0.7548 GB, free: 49.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/1.108, allocations: 431.4 kB / 0.7552 GB, free: 49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.109, allocations: 456 kB / 0.7556 GB, free: 48.55 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 (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 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00553/1.115, allocations: 2.628 MB / 0.7582 GB, free: 45.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.116, allocations: 469.9 kB / 0.7587 GB, free: 45.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/1.125, allocations: 5.223 MB / 0.7638 GB, free: 40.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/1.125, allocations: 32 kB / 0.7638 GB, free: 40.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/1.125, allocations: 7.953 kB / 0.7638 GB, free: 40.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/1.125, allocations: 11.95 kB / 0.7638 GB, free: 40.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.147, allocations: 11.75 MB / 0.7753 GB, free: 28.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.147, allocations: 0 / 0.7753 GB, free: 28.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.149, allocations: 0.4992 MB / 0.7758 GB, free: 27.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.152, allocations: 0.9898 MB / 0.7767 GB, free: 26.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/1.152, allocations: 44.56 kB / 0.7768 GB, free: 26.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006677/1.159, allocations: 7.115 MB / 0.7837 GB, free: 19.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.159, allocations: 0 / 0.7837 GB, free: 19.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.17, allocations: 8.694 MB / 0.7922 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.172, allocations: 0.8932 MB / 0.7931 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.174, allocations: 44 kB / 0.7931 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/1.176, allocations: 188.3 kB / 0.7933 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/1.177, allocations: 145.8 kB / 0.7934 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/1.177, allocations: 71.98 kB / 0.7935 GB, free: 9.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005841/1.183, allocations: 3.154 MB / 0.7966 GB, free: 6.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.9e-07/1.183, allocations: 0 / 0.7966 GB, free: 6.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008439/1.191, allocations: 1.37 MB / 0.7979 GB, free: 4.863 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 (227): * Single equations (assignments): 222 * 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.00086/1.192, allocations: 183.5 kB / 0.7981 GB, free: 4.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.204, allocations: 7.27 MB / 0.8052 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.204, allocations: 3.938 kB / 0.8052 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.208, allocations: 2.555 MB / 0.8077 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.214, allocations: 0.5773 MB / 0.8083 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2323/1.446, allocations: 15.02 MB / 0.8229 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004827/1.451, allocations: 4.118 MB / 0.827 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005496/1.456, allocations: 2.368 MB / 0.8293 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.457, allocations: 319.1 kB / 0.8296 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/1.457, allocations: 3.188 kB / 0.8296 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.08374/1.541, allocations: 48.43 MB / 0.8769 GB, free: 131.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: