Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006861/0.006861, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.443/1.443, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.3186/0.3186, allocations: 40 MB / 310.7 MB, free: 9.453 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.001036/0.001036, allocations: 12 kB / 379.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1345, allocations: 57.96 MB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.3217/0.4563, allocations: 71.45 MB / 0.4969 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04283/0.4992, allocations: 14.64 MB / 0.5112 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01858/0.5178, allocations: 320.9 kB / 0.5115 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.5207, allocations: 0.6297 MB / 0.5121 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.5315, allocations: 2.603 MB / 0.5147 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.5363, allocations: 1.357 MB / 0.516 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.022/0.5584, allocations: 11.41 MB / 0.5272 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.5732, allocations: 7.119 MB / 0.5341 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007516/0.5807, allocations: 2.08 MB / 0.5361 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008619/0.5894, allocations: 3.683 MB / 0.5397 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002278/0.5917, allocations: 244 kB / 0.54 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005531/0.5973, allocations: 1.412 MB / 0.5413 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006534/0.6039, allocations: 3.035 MB / 0.5443 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008056/0.612, allocations: 3.285 MB / 0.5475 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.6289, allocations: 10.44 MB / 0.5577 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.629, allocations: 0 / 0.5577 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.629, allocations: 0 / 0.5577 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004983/0.6295, allocations: 0 / 0.5577 GB, free: 12.2 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02067/0.6502, allocations: 6.815 MB / 0.5644 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6502, allocations: 8.031 kB / 0.5644 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03228/0.6825, allocations: 3.771 MB / 0.5681 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.6962, allocations: 5.477 MB / 0.5734 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.6967, allocations: 377.8 kB / 0.5738 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002065/0.6987, allocations: 0.5154 MB / 0.5743 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03562/0.7344, allocations: 16.29 MB / 0.5902 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/0.7347, allocations: 87.2 kB / 0.5903 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.7361, allocations: 235.8 kB / 0.5905 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004818/0.7409, allocations: 2.919 MB / 0.5933 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/0.7725, allocations: 13.75 MB / 0.6068 GB, free: 8.695 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.3203/1.093, allocations: 64.75 MB / 0.67 GB, free: 97.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/1.114, allocations: 7.94 MB / 0.6777 GB, free: 96.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005841/1.12, allocations: 4.277 MB / 0.6819 GB, free: 94.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/1.148, allocations: 19.28 MB / 0.7008 GB, free: 84.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.148, allocations: 70.7 kB / 0.7008 GB, free: 84.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 5.56e-06/1.148, allocations: 0 / 0.7008 GB, free: 84.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1801/1.328, allocations: 52.58 MB / 0.7522 GB, free: 52.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.328, allocations: 269.8 kB / 0.7524 GB, free: 52.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009204/1.338, allocations: 6.091 MB / 0.7584 GB, free: 46.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.339, allocations: 85.69 kB / 0.7585 GB, free: 46.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003095/1.342, allocations: 4.676 MB / 0.763 GB, free: 41.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002455/1.344, allocations: 1.354 MB / 0.7643 GB, free: 40.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/1.346, allocations: 0.8231 MB / 0.7651 GB, free: 39.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.863e-05/1.346, allocations: 301.1 kB / 0.7654 GB, free: 39.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007872/1.354, allocations: 4.2 MB / 0.7695 GB, free: 35.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/1.367, allocations: 9.425 MB / 0.7787 GB, free: 23.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02187/1.389, allocations: 14.58 MB / 0.793 GB, free: 5.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/1.389, allocations: 55.94 kB / 0.793 GB, free: 5.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04614/1.435, allocations: 17.58 MB / 0.8102 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/1.436, allocations: 88.06 kB / 0.8103 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000336/1.436, allocations: 180 kB / 0.8105 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/1.453, allocations: 4.619 MB / 0.815 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008971/1.462, allocations: 2.122 MB / 0.817 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.348/1.811, allocations: 23.78 MB / 0.8403 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009354/1.82, allocations: 0.5298 MB / 0.8408 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/1.822, allocations: 0.5376 MB / 0.8413 GB, free: 149.6 MB / 0.5137 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 (1130): * Single equations (assignments): 1125 * 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,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00628/1.828, allocations: 3.124 MB / 0.8444 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.83, allocations: 0.5679 MB / 0.8449 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02393/1.854, allocations: 10.74 MB / 0.8554 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/1.854, allocations: 36.97 kB / 0.8554 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.586e-05/1.854, allocations: 15.78 kB / 0.8555 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001317/1.854, allocations: 17.55 kB / 0.8555 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05788/1.912, allocations: 20.53 MB / 0.8755 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.486e-05/1.912, allocations: 1.031 kB / 0.8755 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/1.916, allocations: 0.5287 MB / 0.876 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/1.933, allocations: 4.275 MB / 0.8802 GB, free: 137.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/1.934, allocations: 63.47 kB / 0.8803 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03121/1.965, allocations: 21.56 MB / 0.9013 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.965, allocations: 6.844 kB / 0.9013 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02925/1.995, allocations: 15.61 MB / 0.9166 GB, free: 115.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003922/1.999, allocations: 1.188 MB / 0.9177 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/2, allocations: 56 kB / 0.9178 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/2.003, allocations: 238 kB / 0.918 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009253/2.004, allocations: 228.2 kB / 0.9182 GB, free: 113.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/2.005, allocations: 87.98 kB / 0.9183 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006353/2.011, allocations: 3.809 MB / 0.922 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.41e-07/2.011, allocations: 0 / 0.922 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01048/2.021, allocations: 1.935 MB / 0.9239 GB, free: 107.7 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 (266): * Single equations (assignments): 261 * 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.0009008/2.022, allocations: 209.4 kB / 0.9241 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01592/2.038, allocations: 10.44 MB / 0.9343 GB, free: 97.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.038, allocations: 0 / 0.9343 GB, free: 97.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006582/2.045, allocations: 4.081 MB / 0.9383 GB, free: 93.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00685/2.052, allocations: 0.7395 MB / 0.939 GB, free: 92.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/2.085, allocations: 19.74 MB / 0.9583 GB, free: 72.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007268/2.092, allocations: 4.872 MB / 0.9631 GB, free: 67.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008818/2.101, allocations: 2.771 MB / 0.9658 GB, free: 64.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/2.103, allocations: 383.4 kB / 0.9661 GB, free: 64.58 MB / 0.5137 GB Notification: Performance of SimCode: time 2.114e-06/2.103, allocations: 0 / 0.9661 GB, free: 64.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.4737/2.576, allocations: 80.34 MB / 1.045 GB, free: 139 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) Environment - environmentSimulation: