Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008774/0.0008774, allocations: 92.28 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 206.3 kB / 18.29 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.4057/0.5607, allocations: 70.92 MB / 0.541 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04351/0.6043, allocations: 14.45 MB / 0.5551 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02204/0.6264, allocations: 325.9 kB / 0.5554 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.6304, allocations: 0.6264 MB / 0.5561 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.6408, allocations: 2.568 MB / 0.5586 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.6448, allocations: 1.351 MB / 0.5599 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01768/0.6625, allocations: 12.06 MB / 0.5717 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.6749, allocations: 7.089 MB / 0.5786 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/0.6803, allocations: 2.066 MB / 0.5806 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007078/0.6874, allocations: 3.668 MB / 0.5842 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.6891, allocations: 252 kB / 0.5844 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.6934, allocations: 1.396 MB / 0.5858 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004891/0.6983, allocations: 3.003 MB / 0.5887 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007501/0.7058, allocations: 3.254 MB / 0.5919 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01824/0.7241, allocations: 10.37 MB / 0.602 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7242, allocations: 0 / 0.602 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.7242, allocations: 0 / 0.602 GB, free: 12.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004188/0.7246, allocations: 0 / 0.602 GB, free: 12.74 MB / 446.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.01742/0.7421, allocations: 6.788 MB / 0.6087 GB, free: 5.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.7421, allocations: 12.88 kB / 0.6087 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03136/0.7735, allocations: 3.771 MB / 0.6124 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.786, allocations: 5.176 MB / 0.6174 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/0.7864, allocations: 369.8 kB / 0.6178 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/0.7886, allocations: 0.5116 MB / 0.6183 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03425/0.8229, allocations: 16.33 MB / 0.6342 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002645/0.8232, allocations: 79.3 kB / 0.6343 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007874/0.824, allocations: 239.8 kB / 0.6345 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004809/0.8288, allocations: 2.915 MB / 0.6374 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.8597, allocations: 13.78 MB / 0.6508 GB, free: 9.5 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.3775/1.237, allocations: 64.82 MB / 0.7141 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02463/1.262, allocations: 7.989 MB / 0.7219 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006349/1.268, allocations: 4.344 MB / 0.7262 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02971/1.298, allocations: 19.45 MB / 0.7452 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.298, allocations: 69.94 kB / 0.7452 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=290): time 5.851e-06/1.298, allocations: 0 / 0.7452 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=372): time 0.1573/1.456, allocations: 50.55 MB / 0.7946 GB, free: 86.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/1.456, allocations: 269.8 kB / 0.7948 GB, free: 86.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00819/1.464, allocations: 6.038 MB / 0.8007 GB, free: 80.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.465, allocations: 83.66 kB / 0.8008 GB, free: 80.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00279/1.468, allocations: 4.66 MB / 0.8054 GB, free: 75.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002435/1.47, allocations: 1.374 MB / 0.8067 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/1.472, allocations: 0.817 MB / 0.8075 GB, free: 73.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/1.472, allocations: 305.1 kB / 0.8078 GB, free: 73.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005688/1.477, allocations: 4.235 MB / 0.8119 GB, free: 68.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008301/1.486, allocations: 9.468 MB / 0.8212 GB, free: 57.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/1.5, allocations: 14.66 MB / 0.8355 GB, free: 40 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.501, allocations: 52 kB / 0.8356 GB, free: 39.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03569/1.536, allocations: 17.61 MB / 0.8527 GB, free: 22.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/1.536, allocations: 81.12 kB / 0.8528 GB, free: 22.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.537, allocations: 192 kB / 0.853 GB, free: 22.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/1.551, allocations: 4.573 MB / 0.8575 GB, free: 17.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007593/1.558, allocations: 2.137 MB / 0.8596 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0331/1.591, allocations: 23.76 MB / 0.8828 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/1.599, allocations: 0.538 MB / 0.8833 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.601, allocations: 0.539 MB / 0.8838 GB, free: 6.219 MB / 0.545 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.006786/1.608, allocations: 3.117 MB / 0.8869 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.609, allocations: 0.567 MB / 0.8874 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/1.635, allocations: 10.77 MB / 0.8979 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-05/1.635, allocations: 42.19 kB / 0.898 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.008e-05/1.635, allocations: 20 kB / 0.898 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.773e-05/1.635, allocations: 19.92 kB / 0.898 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04439/1.679, allocations: 20.56 MB / 0.9181 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.774e-05/1.679, allocations: 7.984 kB / 0.9181 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/1.683, allocations: 0.546 MB / 0.9186 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2577/1.941, allocations: 4.213 MB / 0.9227 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007167/1.941, allocations: 64.88 kB / 0.9228 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03155/1.973, allocations: 21.54 MB / 0.9438 GB, free: 199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.973, allocations: 0 / 0.9438 GB, free: 199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02689/2, allocations: 15.71 MB / 0.9592 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/2.001, allocations: 0.6011 MB / 0.9598 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/2.002, allocations: 55.44 kB / 0.9598 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/2.005, allocations: 232.5 kB / 0.96 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008142/2.006, allocations: 224.9 kB / 0.9603 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/2.006, allocations: 99.14 kB / 0.9604 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004843/2.011, allocations: 3.764 MB / 0.964 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/2.011, allocations: 2.844 kB / 0.964 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007774/2.019, allocations: 1.91 MB / 0.9659 GB, free: 192 MB / 0.5762 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.0006607/2.02, allocations: 203.4 kB / 0.9661 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.033, allocations: 10.54 MB / 0.9764 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/2.033, allocations: 0 / 0.9764 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004979/2.038, allocations: 4.136 MB / 0.9804 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/2.043, allocations: 0.7341 MB / 0.9811 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/2.067, allocations: 19.75 MB / 1 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004382/2.071, allocations: 4.861 MB / 1.005 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006744/2.078, allocations: 2.785 MB / 1.008 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/2.079, allocations: 379.4 kB / 1.008 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/2.079, allocations: 0 / 1.008 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1141/2.193, allocations: 79.88 MB / 1.086 GB, free: 72.82 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches