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.01033/0.01033, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001849/0.001849, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3466/0.3466, allocations: 37.99 MB / 307.9 MB, free: 10 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.001493/0.001493, allocations: 68.38 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3521, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01693/0.3691, allocations: 15.04 MB / 0.4927 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.3842, allocations: 5.014 MB / 0.4976 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005793/0.39, allocations: 102.1 kB / 0.4977 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.4003, allocations: 4.02 MB / 0.5016 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00884/0.4092, allocations: 2.352 MB / 0.5039 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.4128, allocations: 1.164 MB / 0.505 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.4253, allocations: 6.162 MB / 0.5111 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008144/0.4335, allocations: 4.704 MB / 0.5157 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006057/0.4396, allocations: 2.229 MB / 0.5178 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006349/0.446, allocations: 3.031 MB / 0.5208 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002188/0.4482, allocations: 460 kB / 0.5212 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004751/0.453, allocations: 1.537 MB / 0.5227 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004801/0.4578, allocations: 2.716 MB / 0.5254 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006587/0.4645, allocations: 3.022 MB / 0.5283 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.4786, allocations: 9.448 MB / 0.5376 GB, free: 6.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.4786, allocations: 7.938 kB / 0.5376 GB, free: 6.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4786, allocations: 0 / 0.5376 GB, free: 6.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000382/0.479, allocations: 0 / 0.5376 GB, free: 6.344 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.02287/0.5019, allocations: 6.757 MB / 0.5442 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.502, allocations: 15.83 kB / 0.5442 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02803/0.53, allocations: 3.297 MB / 0.5474 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.5423, allocations: 4.289 MB / 0.5516 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.5426, allocations: 312.4 kB / 0.5519 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.5447, allocations: 431.5 kB / 0.5523 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/0.5724, allocations: 13.82 MB / 0.5658 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.5726, allocations: 51.53 kB / 0.5658 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006459/0.5732, allocations: 195.8 kB / 0.566 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/0.5775, allocations: 2.531 MB / 0.5685 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/0.6048, allocations: 11.8 MB / 0.58 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08353/0.6884, allocations: 53.48 MB / 0.6323 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3046/0.993, allocations: 5.913 MB / 0.638 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005808/0.9988, allocations: 3.598 MB / 0.6415 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02538/1.024, allocations: 15.42 MB / 0.6566 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.024, allocations: 68.53 kB / 0.6567 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 4.648e-06/1.024, allocations: 1.219 kB / 0.6567 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.08852/1.113, allocations: 28.66 MB / 0.6847 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/1.113, allocations: 264.2 kB / 0.6849 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/1.119, allocations: 5.08 MB / 0.6899 GB, free: 99.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006928/1.12, allocations: 71.33 kB / 0.6899 GB, free: 99.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/1.121, allocations: 3.884 MB / 0.6937 GB, free: 95.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.123, allocations: 1.011 MB / 0.6947 GB, free: 94.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/1.124, allocations: 1.542 MB / 0.6962 GB, free: 92.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/1.124, allocations: 305.1 kB / 0.6965 GB, free: 92.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/1.128, allocations: 3.013 MB / 0.6995 GB, free: 89.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/1.133, allocations: 7.347 MB / 0.7066 GB, free: 79.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.143, allocations: 11.09 MB / 0.7175 GB, free: 66.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.8e-05/1.143, allocations: 44 kB / 0.7175 GB, free: 66.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01879/1.162, allocations: 11.19 MB / 0.7284 GB, free: 55.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.162, allocations: 71.98 kB / 0.7285 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/1.163, allocations: 156.1 kB / 0.7286 GB, free: 55.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.166, allocations: 1.222 MB / 0.7298 GB, free: 53.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.172, allocations: 1.833 MB / 0.7316 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008095/1.18, allocations: 8.363 MB / 0.7398 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/1.187, allocations: 439.4 kB / 0.7402 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.189, allocations: 451.4 kB / 0.7406 GB, free: 42.65 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.00522/1.194, allocations: 2.627 MB / 0.7432 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.195, allocations: 473.9 kB / 0.7437 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008174/1.203, allocations: 5.234 MB / 0.7488 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/1.203, allocations: 32 kB / 0.7488 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.204, allocations: 4 kB / 0.7488 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.204, allocations: 15.95 kB / 0.7488 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.222, allocations: 11.64 MB / 0.7602 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.222, allocations: 0 / 0.7602 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.225, allocations: 0.4992 MB / 0.7607 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/1.228, allocations: 0.9886 MB / 0.7616 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004263/1.228, allocations: 51.92 kB / 0.7617 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/1.236, allocations: 7.71 MB / 0.7692 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.236, allocations: 0 / 0.7692 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.247, allocations: 8.735 MB / 0.7777 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.25, allocations: 0.8777 MB / 0.7786 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009153/1.251, allocations: 47.45 kB / 0.7787 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.253, allocations: 175.7 kB / 0.7788 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/1.254, allocations: 149.7 kB / 0.779 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.254, allocations: 67.98 kB / 0.779 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004487/1.258, allocations: 3.183 MB / 0.7821 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/1.258, allocations: 0 / 0.7821 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006931/1.265, allocations: 1.37 MB / 0.7835 GB, free: 14.38 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.0005487/1.266, allocations: 200 kB / 0.7837 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.278, allocations: 7.319 MB / 0.7908 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.278, allocations: 4 kB / 0.7908 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/1.282, allocations: 2.56 MB / 0.7933 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/1.285, allocations: 0.5925 MB / 0.7939 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/1.31, allocations: 12.78 MB / 0.8064 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005988/1.316, allocations: 4.109 MB / 0.8104 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006261/1.323, allocations: 2.376 MB / 0.8127 GB, free: 376 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.324, allocations: 327.4 kB / 0.813 GB, free: 48 kB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/1.324, allocations: 0 / 0.813 GB, free: 48 kB / 0.5294 GB Notification: Performance of Templates: time 0.3599/1.684, allocations: 47.98 MB / 0.8599 GB, free: 186 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)