Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003908/0.003914, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.504/3.504, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 103.1 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006442/0.0006446, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5173, allocations: 47.58 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.1352/0.6526, allocations: 62.65 MB / 437.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.06457/0.7172, allocations: 14.65 MB / 451.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01965/0.7369, allocations: 323.1 kB / 452.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01753/0.7545, allocations: 3.083 MB / 455.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08547/0.8401, allocations: 8.948 MB / 464.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.8508, allocations: 1.256 MB / 465.4 MB, free: 5.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1174/0.9682, allocations: 27.93 MB / 493.4 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02342/0.9918, allocations: 6.361 MB / 499.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008014/0.9999, allocations: 1.861 MB / 0.4898 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5527/1.553, allocations: 2.652 MB / 0.4924 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003212/1.556, allocations: 247.4 kB / 0.4927 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00705/1.563, allocations: 1.161 MB / 0.4938 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007712/1.571, allocations: 2.778 MB / 0.4965 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005028/1.576, allocations: 1.316 MB / 0.4978 GB, free: 31.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02468/1.601, allocations: 8.883 MB / 0.5065 GB, free: 30.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.601, allocations: 1.969 kB / 0.5065 GB, free: 30.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.378e-06/1.601, allocations: 0 / 0.5065 GB, free: 30.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006512/1.602, allocations: 0.75 kB / 0.5065 GB, free: 30.87 MB / 378.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.05341/1.655, allocations: 7.376 MB / 0.5137 GB, free: 27.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/1.655, allocations: 9.906 kB / 0.5137 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5469/2.202, allocations: 15.11 MB / 0.5284 GB, free: 22.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03678/2.239, allocations: 6.197 MB / 0.5345 GB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007085/2.24, allocations: 369.3 kB / 0.5348 GB, free: 17.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004647/2.244, allocations: 0.5121 MB / 0.5353 GB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08351/2.328, allocations: 16.34 MB / 0.5513 GB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007982/2.329, allocations: 79.83 kB / 0.5514 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005031/2.334, allocations: 240.2 kB / 0.5516 GB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01488/2.349, allocations: 2.925 MB / 0.5545 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07771/2.427, allocations: 13.7 MB / 0.5678 GB, free: 7.727 MB / 394.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.209/2.636, allocations: 64.52 MB / 0.6308 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06505/2.701, allocations: 7.871 MB / 0.6385 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08221/2.783, allocations: 18.92 MB / 0.657 GB, free: 7.996 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/2.783, allocations: 71.92 kB / 0.6571 GB, free: 7.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=287): time 1.286e-05/2.783, allocations: 0 / 0.6571 GB, free: 7.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=370): time 0.9888/3.772, allocations: 51.85 MB / 0.7077 GB, free: 168.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/3.772, allocations: 277.8 kB / 0.708 GB, free: 168.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02551/3.798, allocations: 6.567 MB / 0.7144 GB, free: 162 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001434/3.799, allocations: 81.7 kB / 0.7145 GB, free: 161.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006729/3.806, allocations: 4.54 MB / 0.7189 GB, free: 157.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003489/3.81, allocations: 1.366 MB / 0.7202 GB, free: 156.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0024/3.812, allocations: 184 kB / 0.7204 GB, free: 155.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001419/3.814, allocations: 0.6994 MB / 0.7211 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01688/3.831, allocations: 3.891 MB / 0.7249 GB, free: 151.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0199/3.851, allocations: 9.091 MB / 0.7338 GB, free: 139.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02073/3.872, allocations: 5.754 MB / 0.7394 GB, free: 133.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002413/3.872, allocations: 55.95 kB / 0.7394 GB, free: 133.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.0898/3.962, allocations: 16.11 MB / 0.7552 GB, free: 117.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000237/3.962, allocations: 80 kB / 0.7552 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003907/3.962, allocations: 185.4 kB / 0.7554 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03846/4.001, allocations: 4.118 MB / 0.7594 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02124/4.022, allocations: 2.059 MB / 0.7615 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09242/4.115, allocations: 22.73 MB / 0.7837 GB, free: 88.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01935/4.134, allocations: 0.5071 MB / 0.7842 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00355/4.138, allocations: 0.5273 MB / 0.7847 GB, free: 87.18 MB / 474.7 MB 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 (1088): * Single equations (assignments): 1083 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01492/4.153, allocations: 3.13 MB / 0.7877 GB, free: 84.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003157/4.156, allocations: 0.5785 MB / 0.7883 GB, free: 83.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06312/4.219, allocations: 9.837 MB / 0.7979 GB, free: 73.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/4.219, allocations: 36 kB / 0.7979 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.541e-05/4.219, allocations: 20 kB / 0.7979 GB, free: 73.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/4.22, allocations: 19.94 kB / 0.798 GB, free: 73.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1102/4.33, allocations: 19.63 MB / 0.8171 GB, free: 53.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.975e-05/4.33, allocations: 0 / 0.8171 GB, free: 53.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008969/4.339, allocations: 0.5343 MB / 0.8177 GB, free: 53.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03694/4.376, allocations: 3.664 MB / 0.8212 GB, free: 49.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001552/4.378, allocations: 65.23 kB / 0.8213 GB, free: 49.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08427/4.462, allocations: 20.67 MB / 0.8415 GB, free: 28.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/4.462, allocations: 4 kB / 0.8415 GB, free: 28.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.596/5.058, allocations: 14.58 MB / 0.8557 GB, free: 168.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008292/5.066, allocations: 1.164 MB / 0.8569 GB, free: 168.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0041/5.071, allocations: 61.19 kB / 0.8569 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01125/5.082, allocations: 206.5 kB / 0.8571 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00303/5.085, allocations: 222.3 kB / 0.8573 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001583/5.087, allocations: 99.39 kB / 0.8574 GB, free: 168.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01911/5.106, allocations: 4.177 MB / 0.8615 GB, free: 167 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.733e-06/5.106, allocations: 0 / 0.8615 GB, free: 167 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02147/5.127, allocations: 1.876 MB / 0.8633 GB, free: 166.8 MB / 474.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 (270): * Single equations (assignments): 265 * 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.00301/5.131, allocations: 245.9 kB / 0.8636 GB, free: 166.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04025/5.171, allocations: 9.937 MB / 0.8733 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/5.171, allocations: 3.938 kB / 0.8733 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01706/5.188, allocations: 3.928 MB / 0.8771 GB, free: 161.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/5.199, allocations: 0.728 MB / 0.8778 GB, free: 161 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07964/5.279, allocations: 19.35 MB / 0.8967 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01977/5.299, allocations: 5.024 MB / 0.9016 GB, free: 142.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004928/5.304, allocations: 457.3 kB / 0.9021 GB, free: 141.8 MB / 474.7 MB Notification: Performance of SimCode: time 4.96e-06/5.304, allocations: 3.938 kB / 0.9021 GB, free: 141.8 MB / 474.7 MB Notification: Performance of Templates: time 0.9444/6.248, allocations: 147.1 MB / 1.046 GB, free: 156 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches