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.001451/0.001451, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001867, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.356, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01907/0.3751, allocations: 17.27 MB / 0.5485 GB, free: 0 / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.3884, allocations: 5.495 MB / 0.5539 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.3921, allocations: 119.6 kB / 0.554 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008951/0.4011, allocations: 4.349 MB / 0.5583 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008215/0.4094, allocations: 2.707 MB / 0.5609 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.4131, allocations: 1.455 MB / 0.5623 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.013/0.4261, allocations: 8.643 MB / 0.5708 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008522/0.4347, allocations: 5.373 MB / 0.576 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005034/0.4398, allocations: 2.652 MB / 0.5786 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006286/0.4461, allocations: 3.84 MB / 0.5824 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002466/0.4486, allocations: 0.5352 MB / 0.5829 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.4531, allocations: 1.611 MB / 0.5845 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005006/0.4581, allocations: 3.367 MB / 0.5877 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007074/0.4652, allocations: 3.627 MB / 0.5913 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.48, allocations: 11.14 MB / 0.6022 GB, free: 9.227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4801, allocations: 4 kB / 0.6022 GB, free: 9.223 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4801, allocations: 0 / 0.6022 GB, free: 9.223 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003934/0.4805, allocations: 0 / 0.6022 GB, free: 9.223 MB / 462.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.0215/0.502, allocations: 8.195 MB / 0.6102 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5021, allocations: 12.03 kB / 0.6102 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02994/0.532, allocations: 3.67 MB / 0.6138 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.5465, allocations: 5.281 MB / 0.6189 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.547, allocations: 373.8 kB / 0.6193 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/0.5495, allocations: 0.5152 MB / 0.6198 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03219/0.5817, allocations: 16.25 MB / 0.6357 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000333/0.5821, allocations: 75.36 kB / 0.6357 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/0.5836, allocations: 239.8 kB / 0.636 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00483/0.5885, allocations: 2.927 MB / 0.6388 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03018/0.6187, allocations: 13.72 MB / 0.6522 GB, free: 4.688 MB / 0.4981 GB 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.09091/0.7096, allocations: 64.53 MB / 0.7152 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3055/1.015, allocations: 7.87 MB / 0.7229 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/1.021, allocations: 4.355 MB / 0.7272 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02876/1.05, allocations: 19.46 MB / 0.7462 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/1.05, allocations: 64.38 kB / 0.7462 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 6.231e-06/1.05, allocations: 0 / 0.7462 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.161/1.211, allocations: 49.83 MB / 0.7949 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.211, allocations: 273.8 kB / 0.7952 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009106/1.22, allocations: 6.042 MB / 0.8011 GB, free: 94.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009155/1.221, allocations: 81.7 kB / 0.8011 GB, free: 94.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/1.224, allocations: 4.665 MB / 0.8057 GB, free: 89.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.226, allocations: 1.371 MB / 0.807 GB, free: 88.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005007/1.231, allocations: 1.905 MB / 0.8089 GB, free: 86.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/1.231, allocations: 309.1 kB / 0.8092 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005989/1.237, allocations: 4.231 MB / 0.8133 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008602/1.246, allocations: 9.469 MB / 0.8226 GB, free: 69.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/1.261, allocations: 14.65 MB / 0.8369 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.261, allocations: 52 kB / 0.8369 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03579/1.297, allocations: 17.56 MB / 0.8541 GB, free: 34.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/1.297, allocations: 84.97 kB / 0.8541 GB, free: 34.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/1.297, allocations: 180 kB / 0.8543 GB, free: 34.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/1.311, allocations: 4.547 MB / 0.8588 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00719/1.319, allocations: 2.129 MB / 0.8608 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03219/1.351, allocations: 25.37 MB / 0.8856 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007286/1.358, allocations: 0.5383 MB / 0.8861 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.36, allocations: 0.5327 MB / 0.8867 GB, free: 1.203 MB / 0.5606 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.005971/1.366, allocations: 3.132 MB / 0.8897 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.367, allocations: 0.5669 MB / 0.8903 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02548/1.393, allocations: 10.72 MB / 0.9007 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.567e-05/1.393, allocations: 36 kB / 0.9008 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.395e-05/1.393, allocations: 20 kB / 0.9008 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.427e-05/1.393, allocations: 19.92 kB / 0.9008 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05183/1.445, allocations: 20.35 MB / 0.9207 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-05/1.445, allocations: 7.875 kB / 0.9207 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003204/1.448, allocations: 0.5383 MB / 0.9212 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.463, allocations: 4.187 MB / 0.9253 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00092/1.464, allocations: 63.98 kB / 0.9254 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03697/1.501, allocations: 23.13 MB / 0.948 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.501, allocations: 4 kB / 0.948 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3183/1.819, allocations: 15.64 MB / 0.9632 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.821, allocations: 0.5899 MB / 0.9638 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.822, allocations: 62.45 kB / 0.9639 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/1.826, allocations: 220.4 kB / 0.9641 GB, free: 200.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008875/1.827, allocations: 223.9 kB / 0.9643 GB, free: 200.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000343/1.827, allocations: 104.7 kB / 0.9644 GB, free: 200.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005331/1.833, allocations: 3.765 MB / 0.9681 GB, free: 199.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.71e-07/1.833, allocations: 0 / 0.9681 GB, free: 199.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007839/1.841, allocations: 1.904 MB / 0.9699 GB, free: 199.2 MB / 0.6231 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.000722/1.841, allocations: 220.8 kB / 0.9701 GB, free: 199.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01421/1.856, allocations: 10.54 MB / 0.9804 GB, free: 195.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.856, allocations: 0 / 0.9804 GB, free: 195.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005378/1.861, allocations: 4.126 MB / 0.9845 GB, free: 193.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004762/1.866, allocations: 0.7728 MB / 0.9852 GB, free: 193.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/1.892, allocations: 16.84 MB / 1.002 GB, free: 178.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/1.896, allocations: 4.827 MB / 1.006 GB, free: 174.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.898, allocations: 451.3 kB / 1.007 GB, free: 173.9 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/1.898, allocations: 0 / 1.007 GB, free: 173.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.1781/2.076, allocations: 154.9 MB / 1.158 GB, free: 19.2 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches