Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001/0.001, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001109/0.001109, allocations: 177.3 kB / 15.94 MB, free: 228 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.446/1.446, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3207/0.3207, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0005353/0.0005353, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.298/0.4197, allocations: 62.66 MB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03253/0.4523, allocations: 14.66 MB / 0.4993 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/0.4675, allocations: 320 kB / 0.4996 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.4811, allocations: 3.09 MB / 0.5026 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03937/0.5205, allocations: 8.926 MB / 0.5113 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005782/0.5263, allocations: 1.265 MB / 0.5125 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04555/0.5719, allocations: 28.1 MB / 0.54 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.5835, allocations: 6.355 MB / 0.5462 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004659/0.5882, allocations: 1.857 MB / 0.548 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004988/0.5932, allocations: 2.637 MB / 0.5506 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.5943, allocations: 248 kB / 0.5508 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.5975, allocations: 1.167 MB / 0.552 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003203/0.6007, allocations: 2.774 MB / 0.5547 GB, free: 320 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.6028, allocations: 1.322 MB / 0.556 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6133, allocations: 8.862 MB / 0.5646 GB, free: 6.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6134, allocations: 0 / 0.5646 GB, free: 6.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.6134, allocations: 0 / 0.5646 GB, free: 6.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004393/0.6138, allocations: 4 kB / 0.5646 GB, free: 6.094 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.01937/0.6332, allocations: 7.376 MB / 0.5718 GB, free: 14.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6332, allocations: 8.031 kB / 0.5718 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1651/0.7984, allocations: 15.11 MB / 0.5866 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/0.8156, allocations: 6.188 MB / 0.5926 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.816, allocations: 373.5 kB / 0.593 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002419/0.8184, allocations: 0.5074 MB / 0.5935 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/0.8553, allocations: 16.34 MB / 0.6094 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/0.8557, allocations: 83.3 kB / 0.6095 GB, free: 6.863 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/0.8569, allocations: 235.8 kB / 0.6097 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005144/0.8621, allocations: 2.919 MB / 0.6126 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03394/0.896, allocations: 13.67 MB / 0.6259 GB, free: 6.012 MB / 494.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.3675/1.264, allocations: 64.43 MB / 0.6889 GB, free: 98.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02594/1.29, allocations: 7.821 MB / 0.6965 GB, free: 96.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03828/1.328, allocations: 18.85 MB / 0.7149 GB, free: 86.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/1.328, allocations: 67.14 kB / 0.715 GB, free: 86.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=281): time 6.783e-06/1.328, allocations: 4.656 kB / 0.715 GB, free: 86.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=362): time 0.1496/1.478, allocations: 47.63 MB / 0.7615 GB, free: 47.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/1.478, allocations: 277.7 kB / 0.7617 GB, free: 46.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.489, allocations: 6.571 MB / 0.7682 GB, free: 40.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.49, allocations: 85.06 kB / 0.7682 GB, free: 40.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00406/1.494, allocations: 4.748 MB / 0.7729 GB, free: 35.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00248/1.497, allocations: 1.335 MB / 0.7742 GB, free: 34.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/1.498, allocations: 191.9 kB / 0.7744 GB, free: 33.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007249/1.499, allocations: 0.6906 MB / 0.775 GB, free: 33.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008585/1.507, allocations: 3.844 MB / 0.7788 GB, free: 29.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01229/1.52, allocations: 9.043 MB / 0.7876 GB, free: 17.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.531, allocations: 5.705 MB / 0.7932 GB, free: 12.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002669/1.532, allocations: 52 kB / 0.7932 GB, free: 11.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.04474/1.576, allocations: 16.3 MB / 0.8092 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002802/1.577, allocations: 84 kB / 0.8092 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003685/1.577, allocations: 184 kB / 0.8094 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/1.592, allocations: 4.13 MB / 0.8135 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008422/1.6, allocations: 2.039 MB / 0.8154 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3259/1.926, allocations: 22.75 MB / 0.8377 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/1.937, allocations: 0.5082 MB / 0.8382 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/1.939, allocations: 0.5316 MB / 0.8387 GB, free: 135.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1080): * Single equations (assignments): 1075 * 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%) 45,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007563/1.946, allocations: 3.126 MB / 0.8417 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.948, allocations: 0.573 MB / 0.8423 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02131/1.969, allocations: 9.795 MB / 0.8519 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.951e-05/1.97, allocations: 36.5 kB / 0.8519 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-05/1.97, allocations: 19.47 kB / 0.8519 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-05/1.97, allocations: 20.45 kB / 0.8519 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05152/2.021, allocations: 19.51 MB / 0.871 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.258e-05/2.021, allocations: 5.219 kB / 0.871 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/2.025, allocations: 0.5165 MB / 0.8715 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01281/2.038, allocations: 3.717 MB / 0.8751 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008653/2.039, allocations: 63.39 kB / 0.8752 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/2.066, allocations: 20.7 MB / 0.8954 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/2.066, allocations: 4.031 kB / 0.8954 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/2.092, allocations: 14.49 MB / 0.9095 GB, free: 98.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004044/2.096, allocations: 1.157 MB / 0.9107 GB, free: 97.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/2.097, allocations: 56 kB / 0.9107 GB, free: 97.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/2.1, allocations: 211.7 kB / 0.9109 GB, free: 97.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/2.1, allocations: 229.7 kB / 0.9112 GB, free: 97.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/2.101, allocations: 95.98 kB / 0.9112 GB, free: 97.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006088/2.107, allocations: 4.179 MB / 0.9153 GB, free: 92.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.82e-07/2.107, allocations: 0 / 0.9153 GB, free: 92.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009089/2.116, allocations: 1.867 MB / 0.9172 GB, free: 91.13 MB / 0.4981 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 (262): * Single equations (assignments): 257 * 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%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008191/2.117, allocations: 231 kB / 0.9174 GB, free: 90.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.131, allocations: 9.82 MB / 0.927 GB, free: 81.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.131, allocations: 0 / 0.927 GB, free: 81.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005053/2.136, allocations: 3.877 MB / 0.9307 GB, free: 77.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/2.141, allocations: 0.7129 MB / 0.9314 GB, free: 76.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/2.171, allocations: 18.52 MB / 0.9495 GB, free: 58.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006947/2.178, allocations: 5 MB / 0.9544 GB, free: 53.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007362/2.185, allocations: 2.796 MB / 0.9571 GB, free: 50.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/2.187, allocations: 391.4 kB / 0.9575 GB, free: 49.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/2.187, allocations: 0 / 0.9575 GB, free: 49.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.398/2.585, allocations: 76.89 MB / 1.033 GB, free: 148.3 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) Environment - environmentSimulation: