Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009358/0.0009359, allocations: 96.09 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002853, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.05229/0.3117, allocations: 66.39 MB / 473.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03772/0.3495, allocations: 14.01 MB / 487.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01586/0.3654, allocations: 323.2 kB / 488.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.3782, allocations: 3.421 MB / 491.6 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02846/0.4067, allocations: 10.19 MB / 0.4901 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006819/0.4136, allocations: 1.283 MB / 0.4913 GB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.3151/0.7287, allocations: 64.72 MB / 0.5545 GB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.7407, allocations: 6.367 MB / 0.5607 GB, free: 8.422 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006601/0.7474, allocations: 2.258 MB / 0.5629 GB, free: 6.875 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007353/0.7548, allocations: 3.675 MB / 0.5665 GB, free: 4.215 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002193/0.757, allocations: 248 kB / 0.5668 GB, free: 3.973 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.7616, allocations: 1.182 MB / 0.5679 GB, free: 3.031 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005432/0.7671, allocations: 2.993 MB / 0.5708 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.7706, allocations: 1.296 MB / 0.5721 GB, free: 384 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.7842, allocations: 8.52 MB / 0.5804 GB, free: 8.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7843, allocations: 0 / 0.5804 GB, free: 8.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.7843, allocations: 4 kB / 0.5804 GB, free: 8.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005899/0.7849, allocations: 0 / 0.5804 GB, free: 8.977 MB / 410.7 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.02304/0.8079, allocations: 6.925 MB / 0.5872 GB, free: 2.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.808, allocations: 8.031 kB / 0.5872 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02821/0.8362, allocations: 3.762 MB / 0.5909 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.8494, allocations: 5.088 MB / 0.5958 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/0.8498, allocations: 370.6 kB / 0.5962 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.8518, allocations: 0.505 MB / 0.5967 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03726/0.8891, allocations: 16.27 MB / 0.6126 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005979/0.8897, allocations: 80 kB / 0.6127 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002585/0.8923, allocations: 235.9 kB / 0.6129 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005657/0.898, allocations: 2.926 MB / 0.6157 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03422/0.9323, allocations: 13.71 MB / 0.6291 GB, free: 1.453 MB / 442.7 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.3694/1.302, allocations: 64.78 MB / 0.6924 GB, free: 151.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.322, allocations: 7.962 MB / 0.7002 GB, free: 150.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/1.327, allocations: 4.334 MB / 0.7044 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02475/1.352, allocations: 19.36 MB / 0.7233 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.352, allocations: 70.11 kB / 0.7234 GB, free: 139.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 6.052e-06/1.352, allocations: 3.531 kB / 0.7234 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=372): time 0.1538/1.506, allocations: 50.48 MB / 0.7727 GB, free: 89.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/1.506, allocations: 265.8 kB / 0.7729 GB, free: 88.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007792/1.514, allocations: 6.014 MB / 0.7788 GB, free: 82.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005183/1.514, allocations: 81.7 kB / 0.7789 GB, free: 82.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.517, allocations: 4.67 MB / 0.7834 GB, free: 78.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/1.518, allocations: 1.369 MB / 0.7848 GB, free: 76.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/1.519, allocations: 203.9 kB / 0.785 GB, free: 76.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004705/1.519, allocations: 0.7073 MB / 0.7857 GB, free: 75.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005281/1.525, allocations: 4.184 MB / 0.7897 GB, free: 71.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006991/1.532, allocations: 9.417 MB / 0.7989 GB, free: 59.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007257/1.539, allocations: 6.081 MB / 0.8049 GB, free: 53.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/1.539, allocations: 52 kB / 0.8049 GB, free: 53.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03366/1.573, allocations: 17.5 MB / 0.822 GB, free: 36.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/1.573, allocations: 87.95 kB / 0.8221 GB, free: 36.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003576/1.573, allocations: 184 kB / 0.8223 GB, free: 36.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/1.587, allocations: 4.601 MB / 0.8268 GB, free: 31.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006853/1.594, allocations: 2.129 MB / 0.8288 GB, free: 29.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02763/1.621, allocations: 23.74 MB / 0.852 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.628, allocations: 0.5306 MB / 0.8525 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008591/1.629, allocations: 0.5351 MB / 0.8531 GB, free: 4.492 MB / 490.7 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 (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%) 44,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004057/1.633, allocations: 3.122 MB / 0.8561 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008342/1.634, allocations: 0.5631 MB / 0.8567 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2529/1.887, allocations: 10.73 MB / 0.8671 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/1.887, allocations: 39.97 kB / 0.8672 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.887, allocations: 19.59 kB / 0.8672 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/1.887, allocations: 16.55 kB / 0.8672 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03427/1.921, allocations: 20.52 MB / 0.8873 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/1.921, allocations: 1.031 kB / 0.8873 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/1.924, allocations: 0.5414 MB / 0.8878 GB, free: 165.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0122/1.936, allocations: 4.212 MB / 0.8919 GB, free: 162.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000517/1.937, allocations: 67.81 kB / 0.892 GB, free: 162.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02559/1.962, allocations: 21.54 MB / 0.913 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.962, allocations: 3.938 kB / 0.913 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/1.987, allocations: 15.62 MB / 0.9283 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.989, allocations: 0.5952 MB / 0.9288 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000809/1.99, allocations: 65.36 kB / 0.9289 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.992, allocations: 223.7 kB / 0.9291 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/1.993, allocations: 230.1 kB / 0.9293 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.993, allocations: 97 kB / 0.9294 GB, free: 124.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005039/1.998, allocations: 3.741 MB / 0.9331 GB, free: 120.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.998, allocations: 0 / 0.9331 GB, free: 120.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01037/2.008, allocations: 1.928 MB / 0.935 GB, free: 119 MB / 490.7 MB 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 (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.001015/2.01, allocations: 221.5 kB / 0.9352 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01405/2.024, allocations: 10.45 MB / 0.9454 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.024, allocations: 4 kB / 0.9454 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005022/2.029, allocations: 4.123 MB / 0.9494 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00595/2.035, allocations: 0.7466 MB / 0.9501 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/2.06, allocations: 19.54 MB / 0.9692 GB, free: 84.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/2.065, allocations: 4.831 MB / 0.9739 GB, free: 79.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/2.066, allocations: 447.4 kB / 0.9744 GB, free: 78.85 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/2.066, allocations: 0 / 0.9744 GB, free: 78.85 MB / 490.7 MB Notification: Performance of Templates: time 0.3696/2.436, allocations: 152.6 MB / 1.123 GB, free: 80 MB / 490.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches