Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2427, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009334/0.2521, allocations: 8.99 MB / 418.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.2574, allocations: 2.717 MB / 421.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2584, allocations: 47.88 kB / 421.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.2619, allocations: 1.834 MB / 423.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.2651, allocations: 1.323 MB / 424.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.2657, allocations: 215.6 kB / 425.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.2686, allocations: 2.336 MB / 427.4 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.2709, allocations: 2.115 MB / 429.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.2721, allocations: 0.9886 MB / 430.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.2749, allocations: 2.451 MB / 433 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000462/0.2754, allocations: 188 kB / 433.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.2765, allocations: 0.5033 MB / 433.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.2775, allocations: 1.301 MB / 434.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.2788, allocations: 1.575 MB / 436.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.2832, allocations: 4.826 MB / 441.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2832, allocations: 3.938 kB / 441.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2832, allocations: 4 kB / 441.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.912e-05/0.2833, allocations: 0 / 441.4 MB, free: 1.996 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.005332/0.2886, allocations: 3.606 MB / 445 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2887, allocations: 11.97 kB / 445 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/0.2947, allocations: 1.696 MB / 446.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.2973, allocations: 1.58 MB / 448.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2974, allocations: 155.8 kB / 448.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.2978, allocations: 195.9 kB / 448.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008975/0.3068, allocations: 6.979 MB / 455.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.507e-05/0.3069, allocations: 35.69 kB / 455.6 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.3071, allocations: 103.9 kB / 455.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.3092, allocations: 1.559 MB / 457.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00935/0.3186, allocations: 5.493 MB / 462.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/0.3478, allocations: 27.12 MB / 489.9 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.3506, allocations: 1.625 MB / 491.5 MB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.3514, allocations: 0.5018 MB / 492 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00421/0.3556, allocations: 2.69 MB / 494.7 MB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.3557, allocations: 54.45 kB / 494.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.148e-06/0.3557, allocations: 7.984 kB / 494.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004071/0.3598, allocations: 1.761 MB / 496.5 MB, free: 8.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.968e-05/0.3599, allocations: 217.6 kB / 496.7 MB, free: 8.605 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.3659, allocations: 3.657 MB / 0.4887 GB, free: 4.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.366, allocations: 33.7 kB / 0.4887 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.3681, allocations: 2.691 MB / 0.4913 GB, free: 2.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/0.3687, allocations: 395.4 kB / 0.4917 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.3702, allocations: 0.952 MB / 0.4926 GB, free: 0.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3703, allocations: 305.2 kB / 0.4929 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.3722, allocations: 1.204 MB / 0.4941 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/0.3762, allocations: 4.526 MB / 0.4985 GB, free: 9.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.383, allocations: 6.298 MB / 0.5047 GB, free: 1.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.3832, allocations: 35.94 kB / 0.5047 GB, free: 1.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009537/0.3927, allocations: 5.429 MB / 0.51 GB, free: 11.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3928, allocations: 56 kB / 0.5101 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/0.393, allocations: 120 kB / 0.5102 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.3932, allocations: 160 kB / 0.5103 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.3963, allocations: 1.084 MB / 0.5114 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002005/0.3965, allocations: 231.1 kB / 0.5116 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/0.4, allocations: 0.6841 MB / 0.5123 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/0.4005, allocations: 316 kB / 0.5126 GB, free: 9.016 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002519/0.403, allocations: 1.715 MB / 0.5142 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/0.4036, allocations: 304.1 kB / 0.5145 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009992/0.4046, allocations: 494.2 kB / 0.515 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-05/0.4046, allocations: 19.98 kB / 0.515 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4047, allocations: 4 kB / 0.515 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4047, allocations: 4 kB / 0.515 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006066/0.4107, allocations: 3.15 MB / 0.5181 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4108, allocations: 4 kB / 0.5181 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.4113, allocations: 103.9 kB / 0.5182 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4113, allocations: 7.938 kB / 0.5182 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.4113, allocations: 23.92 kB / 0.5182 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.4114, allocations: 4 kB / 0.5183 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4114, allocations: 4.281 kB / 0.5183 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.4138, allocations: 2.222 MB / 0.5204 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.4145, allocations: 432.8 kB / 0.5208 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/0.4149, allocations: 19.94 kB / 0.5209 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.416, allocations: 32.03 kB / 0.5209 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.4161, allocations: 51.81 kB / 0.5209 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.4162, allocations: 32 kB / 0.521 GB, free: 248 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003556/0.4197, allocations: 2.329 MB / 0.5232 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4197, allocations: 0 / 0.5232 GB, free: 13.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003707/0.4234, allocations: 0.8098 MB / 0.524 GB, free: 13.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.4238, allocations: 135.1 kB / 0.5242 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004453/0.4283, allocations: 2.808 MB / 0.5269 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4283, allocations: 0 / 0.5269 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.4289, allocations: 444.9 kB / 0.5273 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.4315, allocations: 382.1 kB / 0.5277 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.4453, allocations: 7.029 MB / 0.5346 GB, free: 2.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2163/0.6617, allocations: 2.685 MB / 0.5372 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009244/0.6626, allocations: 239.3 kB / 0.5374 GB, free: 121.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6626, allocations: 0 / 0.5374 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Templates: time 0.05479/0.7174, allocations: 43.99 MB / 0.5804 GB, free: 87.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches