Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.663/1.663, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3297/0.3297, allocations: 37.99 MB / 307.8 MB, free: 10.05 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.002125/0.002125, allocations: 78.55 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1342, allocations: 56.45 MB / 431.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01717/0.1514, allocations: 17.38 MB / 449.1 MB, free: 5.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2602/0.4117, allocations: 5.486 MB / 454.6 MB, free: 35.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004924/0.4166, allocations: 119.1 kB / 454.7 MB, free: 35.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007926/0.4246, allocations: 4.363 MB / 459.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00793/0.4326, allocations: 2.758 MB / 461.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.4361, allocations: 1.461 MB / 463.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.4475, allocations: 8.153 MB / 471.4 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006724/0.4542, allocations: 5.389 MB / 476.8 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.4601, allocations: 2.688 MB / 479.5 MB, free: 31.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006681/0.4668, allocations: 3.85 MB / 483.4 MB, free: 29.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00293/0.4698, allocations: 0.5351 MB / 483.9 MB, free: 29.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.4755, allocations: 1.617 MB / 485.5 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006299/0.4818, allocations: 3.354 MB / 488.9 MB, free: 28.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01189/0.4937, allocations: 3.661 MB / 492.5 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02191/0.5157, allocations: 10.9 MB / 0.4916 GB, free: 21.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5157, allocations: 1.188 kB / 0.4916 GB, free: 21.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.5157, allocations: 0 / 0.4916 GB, free: 21.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000636/0.5164, allocations: 0 / 0.4916 GB, free: 21.28 MB / 382.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.03709/0.5535, allocations: 8.232 MB / 0.4997 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5535, allocations: 15.48 kB / 0.4997 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03169/0.5852, allocations: 3.675 MB / 0.5033 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/0.6007, allocations: 5.496 MB / 0.5086 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.6011, allocations: 368.4 kB / 0.509 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/0.6042, allocations: 0.5125 MB / 0.5095 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/0.6385, allocations: 16.24 MB / 0.5253 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003581/0.6389, allocations: 83.2 kB / 0.5254 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/0.6406, allocations: 238.8 kB / 0.5256 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005163/0.6458, allocations: 2.924 MB / 0.5285 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03547/0.6813, allocations: 13.71 MB / 0.5419 GB, free: 7.484 MB / 414.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.1107/0.792, allocations: 64.85 MB / 0.6052 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02605/0.8181, allocations: 7.856 MB / 0.6129 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008727/0.8269, allocations: 4.346 MB / 0.6171 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3479/1.175, allocations: 19.37 MB / 0.636 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/1.175, allocations: 70.89 kB / 0.6361 GB, free: 142.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.871e-06/1.175, allocations: 0 / 0.6361 GB, free: 142.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1741/1.349, allocations: 49.92 MB / 0.6849 GB, free: 126.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.349, allocations: 272.4 kB / 0.6851 GB, free: 126 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00819/1.357, allocations: 6.088 MB / 0.6911 GB, free: 120.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008992/1.358, allocations: 77.7 kB / 0.6911 GB, free: 120.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/1.361, allocations: 4.675 MB / 0.6957 GB, free: 115.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.362, allocations: 1.377 MB / 0.6971 GB, free: 114.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/1.364, allocations: 1.916 MB / 0.6989 GB, free: 112.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/1.364, allocations: 301.1 kB / 0.6992 GB, free: 112.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004839/1.369, allocations: 4.216 MB / 0.7033 GB, free: 107.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00659/1.376, allocations: 9.462 MB / 0.7126 GB, free: 95.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/1.389, allocations: 14.63 MB / 0.7269 GB, free: 78.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.39, allocations: 52 kB / 0.7269 GB, free: 78.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03183/1.421, allocations: 17.54 MB / 0.744 GB, free: 61.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/1.422, allocations: 84 kB / 0.7441 GB, free: 61.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/1.422, allocations: 180 kB / 0.7443 GB, free: 60.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01331/1.435, allocations: 4.563 MB / 0.7487 GB, free: 56.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00805/1.443, allocations: 2.126 MB / 0.7508 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03222/1.476, allocations: 25.39 MB / 0.7756 GB, free: 28.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009688/1.485, allocations: 0.5265 MB / 0.7761 GB, free: 27.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002015/1.487, allocations: 0.5351 MB / 0.7767 GB, free: 27.41 MB / 494.1 MB 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.00757/1.495, allocations: 3.138 MB / 0.7797 GB, free: 24.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/1.497, allocations: 0.5631 MB / 0.7803 GB, free: 23.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/1.519, allocations: 10.7 MB / 0.7907 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.608e-05/1.519, allocations: 40 kB / 0.7908 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/1.519, allocations: 16 kB / 0.7908 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.915e-05/1.519, allocations: 15.94 kB / 0.7908 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3406/1.86, allocations: 20.53 MB / 0.8108 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.066e-05/1.86, allocations: 3 kB / 0.8108 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/1.863, allocations: 0.5341 MB / 0.8114 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/1.877, allocations: 4.2 MB / 0.8155 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/1.878, allocations: 66.19 kB / 0.8155 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0332/1.911, allocations: 23.13 MB / 0.8381 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.911, allocations: 7.594 kB / 0.8381 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03583/1.947, allocations: 15.63 MB / 0.8534 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004249/1.951, allocations: 1.179 MB / 0.8545 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002517/1.954, allocations: 63.78 kB / 0.8546 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004694/1.959, allocations: 217.9 kB / 0.8548 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/1.96, allocations: 225.8 kB / 0.855 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005353/1.96, allocations: 106.2 kB / 0.8551 GB, free: 128 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00786/1.968, allocations: 3.797 MB / 0.8588 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4e-07/1.968, allocations: 0 / 0.8588 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01186/1.98, allocations: 1.934 MB / 0.8607 GB, free: 126.6 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 (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.0009425/1.981, allocations: 222.6 kB / 0.8609 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02549/2.007, allocations: 15.43 MB / 0.876 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.007, allocations: 7.656 kB / 0.876 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005512/2.012, allocations: 4.12 MB / 0.88 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00612/2.018, allocations: 0.7789 MB / 0.8808 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/2.055, allocations: 16.46 MB / 0.8969 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008652/2.063, allocations: 4.872 MB / 0.9016 GB, free: 95.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007284/2.071, allocations: 2.792 MB / 0.9043 GB, free: 93.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/2.072, allocations: 387.4 kB / 0.9047 GB, free: 92.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/2.072, allocations: 0 / 0.9047 GB, free: 92.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.1329/2.205, allocations: 84.88 MB / 0.9876 GB, free: 7.992 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)