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.001369/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001765/0.001765, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.375/1.375, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3011/0.3011, allocations: 39.93 MB / 309.4 MB, free: 9.613 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.001372/0.001372, allocations: 71.89 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1342, allocations: 56.88 MB / 434 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.2803/0.4146, allocations: 73.25 MB / 0.4953 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03581/0.4505, allocations: 14.6 MB / 0.5096 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01927/0.4698, allocations: 327 kB / 0.5099 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009385/0.4793, allocations: 4.19 MB / 0.514 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009508/0.4889, allocations: 2.567 MB / 0.5165 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.4929, allocations: 1.386 MB / 0.5179 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.5085, allocations: 8.36 MB / 0.526 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.521, allocations: 5.671 MB / 0.5316 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00801/0.5291, allocations: 2.764 MB / 0.5343 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007706/0.5368, allocations: 4.253 MB / 0.5384 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002662/0.5395, allocations: 0.5312 MB / 0.5389 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.5448, allocations: 1.635 MB / 0.5405 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.5521, allocations: 3.39 MB / 0.5438 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008623/0.5607, allocations: 3.694 MB / 0.5475 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.5761, allocations: 10.94 MB / 0.5581 GB, free: 9.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5761, allocations: 0 / 0.5581 GB, free: 9.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5762, allocations: 0 / 0.5581 GB, free: 9.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004978/0.5767, allocations: 0 / 0.5581 GB, free: 9.812 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.02349/0.6002, allocations: 8.229 MB / 0.5662 GB, free: 1.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6002, allocations: 15.89 kB / 0.5662 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02726/0.6275, allocations: 3.67 MB / 0.5698 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.6403, allocations: 5.493 MB / 0.5751 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.6408, allocations: 373.8 kB / 0.5755 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/0.6435, allocations: 0.5154 MB / 0.576 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/0.677, allocations: 16.23 MB / 0.5918 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002661/0.6773, allocations: 71.38 kB / 0.5919 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007704/0.6781, allocations: 239.8 kB / 0.5921 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004428/0.6825, allocations: 2.919 MB / 0.595 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.7119, allocations: 13.68 MB / 0.6084 GB, free: 5.102 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.4249/1.137, allocations: 64.76 MB / 0.6716 GB, free: 95.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/1.16, allocations: 7.816 MB / 0.6792 GB, free: 93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007187/1.167, allocations: 4.275 MB / 0.6834 GB, free: 91.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03658/1.204, allocations: 19.28 MB / 0.7022 GB, free: 81.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/1.204, allocations: 64.47 kB / 0.7023 GB, free: 81.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.021e-06/1.204, allocations: 0 / 0.7023 GB, free: 81.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1673/1.371, allocations: 51.95 MB / 0.753 GB, free: 48.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/1.371, allocations: 265.8 kB / 0.7533 GB, free: 47.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/1.378, allocations: 6.099 MB / 0.7592 GB, free: 41.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.379, allocations: 81.7 kB / 0.7593 GB, free: 41.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.382, allocations: 4.677 MB / 0.7639 GB, free: 36.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.383, allocations: 1.346 MB / 0.7652 GB, free: 35.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00236/1.386, allocations: 1.91 MB / 0.7671 GB, free: 33.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/1.386, allocations: 301.1 kB / 0.7674 GB, free: 33.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004843/1.391, allocations: 4.196 MB / 0.7715 GB, free: 29.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007656/1.398, allocations: 9.43 MB / 0.7807 GB, free: 17.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01534/1.414, allocations: 14.58 MB / 0.7949 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001893/1.414, allocations: 52 kB / 0.795 GB, free: 480 kB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04844/1.462, allocations: 17.54 MB / 0.8121 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/1.463, allocations: 84 kB / 0.8122 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/1.463, allocations: 180 kB / 0.8123 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01583/1.479, allocations: 4.593 MB / 0.8168 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008257/1.487, allocations: 2.121 MB / 0.8189 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.381/1.868, allocations: 25.45 MB / 0.8437 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/1.878, allocations: 0.5244 MB / 0.8443 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/1.881, allocations: 0.5379 MB / 0.8448 GB, free: 147.3 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.006959/1.888, allocations: 3.12 MB / 0.8478 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.889, allocations: 0.5652 MB / 0.8484 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02341/1.913, allocations: 10.71 MB / 0.8588 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000151/1.913, allocations: 36.97 kB / 0.8589 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001303/1.913, allocations: 17.06 kB / 0.8589 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001393/1.913, allocations: 17.25 kB / 0.8589 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05786/1.971, allocations: 20.47 MB / 0.8789 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.974e-05/1.971, allocations: 2.25 kB / 0.8789 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/1.975, allocations: 0.5291 MB / 0.8794 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01385/1.988, allocations: 4.249 MB / 0.8836 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/1.99, allocations: 63.33 kB / 0.8836 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0306/2.02, allocations: 23.13 MB / 0.9062 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/2.02, allocations: 0 / 0.9062 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02763/2.048, allocations: 15.59 MB / 0.9214 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004698/2.053, allocations: 1.176 MB / 0.9226 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001756/2.054, allocations: 59.98 kB / 0.9226 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/2.058, allocations: 219.7 kB / 0.9229 GB, free: 106.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009712/2.059, allocations: 221.1 kB / 0.9231 GB, free: 106.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/2.059, allocations: 102.8 kB / 0.9232 GB, free: 106.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006006/2.065, allocations: 3.805 MB / 0.9269 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/2.065, allocations: 0 / 0.9269 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01102/2.076, allocations: 1.924 MB / 0.9288 GB, free: 100.8 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.001058/2.077, allocations: 215.1 kB / 0.929 GB, free: 100.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0251/2.102, allocations: 15.16 MB / 0.9438 GB, free: 85.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/2.102, allocations: 7 kB / 0.9438 GB, free: 85.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005604/2.108, allocations: 4.072 MB / 0.9477 GB, free: 81.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008407/2.116, allocations: 0.7784 MB / 0.9485 GB, free: 80.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/2.151, allocations: 19.65 MB / 0.9677 GB, free: 61.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006493/2.157, allocations: 4.87 MB / 0.9724 GB, free: 56.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007848/2.165, allocations: 2.773 MB / 0.9752 GB, free: 53.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/2.167, allocations: 379.4 kB / 0.9755 GB, free: 53.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/2.167, allocations: 3.391 kB / 0.9755 GB, free: 53.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.5/2.667, allocations: 84.9 MB / 1.058 GB, free: 139.4 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (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)