Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01024/0.01024, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001552/0.001552, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3755/0.3755, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.001443/0.001443, allocations: 63.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 56.88 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01611/0.3561, allocations: 17.38 MB / 0.4981 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.3702, allocations: 5.497 MB / 0.5035 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004539/0.3748, allocations: 121.2 kB / 0.5036 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00861/0.3834, allocations: 4.372 MB / 0.5078 GB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.3942, allocations: 2.754 MB / 0.5105 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.3982, allocations: 1.46 MB / 0.512 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.4114, allocations: 8.15 MB / 0.5199 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009085/0.4205, allocations: 5.378 MB / 0.5252 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007078/0.4276, allocations: 2.698 MB / 0.5278 GB, free: 396 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007582/0.4352, allocations: 3.848 MB / 0.5316 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002855/0.4381, allocations: 0.5352 MB / 0.5321 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00549/0.4436, allocations: 1.623 MB / 0.5337 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005519/0.4492, allocations: 3.343 MB / 0.5369 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009241/0.4584, allocations: 3.663 MB / 0.5405 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.4777, allocations: 11.28 MB / 0.5515 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4777, allocations: 0 / 0.5515 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4777, allocations: 0 / 0.5515 GB, free: 8.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000504/0.4783, allocations: 4 kB / 0.5515 GB, free: 8.004 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02582/0.5041, allocations: 8.445 MB / 0.5598 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.5042, allocations: 11.89 kB / 0.5598 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/0.5338, allocations: 3.725 MB / 0.5634 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.547, allocations: 5.612 MB / 0.5689 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.5474, allocations: 369.8 kB / 0.5693 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.5494, allocations: 0.5141 MB / 0.5698 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/0.5814, allocations: 16.25 MB / 0.5856 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/0.5816, allocations: 79.36 kB / 0.5857 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007071/0.5824, allocations: 235.8 kB / 0.5859 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005159/0.5875, allocations: 2.919 MB / 0.5888 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/0.6192, allocations: 13.72 MB / 0.6022 GB, free: 2.848 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4165/1.036, allocations: 64.64 MB / 0.6653 GB, free: 83.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02315/1.059, allocations: 7.858 MB / 0.673 GB, free: 81.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006713/1.066, allocations: 4.351 MB / 0.6772 GB, free: 79.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02951/1.095, allocations: 19.41 MB / 0.6962 GB, free: 68.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/1.095, allocations: 67.12 kB / 0.6963 GB, free: 68.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 5.931e-06/1.095, allocations: 0 / 0.6963 GB, free: 68.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=372): time 0.1494/1.245, allocations: 50.26 MB / 0.7453 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.245, allocations: 271.3 kB / 0.7456 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006965/1.252, allocations: 6.109 MB / 0.7516 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007335/1.253, allocations: 81.7 kB / 0.7516 GB, free: 20 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/1.255, allocations: 4.862 MB / 0.7564 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002073/1.257, allocations: 1.431 MB / 0.7578 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/1.26, allocations: 1.925 MB / 0.7597 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/1.26, allocations: 301.1 kB / 0.76 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/1.265, allocations: 4.224 MB / 0.7641 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008785/1.274, allocations: 9.455 MB / 0.7733 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01991/1.294, allocations: 14.63 MB / 0.7876 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/1.294, allocations: 52 kB / 0.7877 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04011/1.334, allocations: 17.59 MB / 0.8048 GB, free: 8.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.334, allocations: 84.97 kB / 0.8049 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/1.334, allocations: 182.2 kB / 0.8051 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.349, allocations: 4.547 MB / 0.8095 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008072/1.358, allocations: 2.125 MB / 0.8116 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03934/1.397, allocations: 25.41 MB / 0.8364 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008805/1.406, allocations: 0.5229 MB / 0.8369 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/1.408, allocations: 0.539 MB / 0.8375 GB, free: 7.059 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007094/1.415, allocations: 3.121 MB / 0.8405 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/1.416, allocations: 0.5976 MB / 0.8411 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02384/1.44, allocations: 10.71 MB / 0.8515 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.022e-05/1.44, allocations: 39.94 kB / 0.8516 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-05/1.44, allocations: 23.98 kB / 0.8516 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-05/1.441, allocations: 15.94 kB / 0.8516 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3207/1.761, allocations: 20.37 MB / 0.8715 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/1.761, allocations: 4.875 kB / 0.8715 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/1.764, allocations: 0.532 MB / 0.872 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/1.778, allocations: 4.178 MB / 0.8761 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007046/1.778, allocations: 63.36 kB / 0.8762 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03109/1.809, allocations: 23.14 MB / 0.8988 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.809, allocations: 5 kB / 0.8988 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02563/1.835, allocations: 15.66 MB / 0.9141 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/1.838, allocations: 1.209 MB / 0.9152 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007983/1.839, allocations: 61.8 kB / 0.9153 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.842, allocations: 218.3 kB / 0.9155 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007519/1.842, allocations: 230.8 kB / 0.9157 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.843, allocations: 99.41 kB / 0.9158 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005159/1.848, allocations: 3.803 MB / 0.9195 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.848, allocations: 0 / 0.9195 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007712/1.856, allocations: 1.942 MB / 0.9214 GB, free: 172.4 MB / 0.5919 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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/1.856, allocations: 220 kB / 0.9217 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01424/1.87, allocations: 10.53 MB / 0.9319 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.87, allocations: 0 / 0.9319 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005412/1.876, allocations: 4.128 MB / 0.936 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/1.882, allocations: 0.7747 MB / 0.9367 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.908, allocations: 16.52 MB / 0.9529 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005077/1.913, allocations: 4.89 MB / 0.9576 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006038/1.919, allocations: 2.785 MB / 0.9604 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.92, allocations: 383.4 kB / 0.9607 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/1.92, allocations: 0 / 0.9607 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1162/2.036, allocations: 80.27 MB / 1.039 GB, free: 52.16 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)