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.001927/0.001927, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002281/0.002282, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.83 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1027, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01105/0.1138, allocations: 9.006 MB / 366.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005934/0.1197, allocations: 2.718 MB / 369.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1209, allocations: 47.88 kB / 369.3 MB, free: 2.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003606/0.1246, allocations: 1.841 MB / 371.1 MB, free: 396 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1646/0.2892, allocations: 1.31 MB / 372.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.2899, allocations: 214 kB / 372.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.2935, allocations: 2.338 MB / 375 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003047/0.2966, allocations: 2.11 MB / 377.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.2984, allocations: 1.004 MB / 378.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.3019, allocations: 2.449 MB / 380.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000722/0.3027, allocations: 188.4 kB / 380.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.304, allocations: 0.4939 MB / 381.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.3055, allocations: 1.281 MB / 382.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.3069, allocations: 1.569 MB / 384.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.3115, allocations: 4.605 MB / 388.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3115, allocations: 1.094 kB / 388.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3115, allocations: 0 / 388.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001717/0.3117, allocations: 0 / 388.7 MB, free: 5.336 MB / 302.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.006861/0.3186, allocations: 3.618 MB / 392.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3186, allocations: 8.344 kB / 392.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/0.3247, allocations: 1.693 MB / 394 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.3274, allocations: 1.56 MB / 395.6 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.3275, allocations: 146.2 kB / 395.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.3278, allocations: 208.9 kB / 395.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3385, allocations: 6.983 MB / 402.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.682e-05/0.3386, allocations: 27.75 kB / 402.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.3389, allocations: 100.3 kB / 403 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002395/0.3413, allocations: 1.568 MB / 404.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.3517, allocations: 5.485 MB / 410.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.3867, allocations: 27.22 MB / 437.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.3896, allocations: 1.646 MB / 439 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.3903, allocations: 0.4971 MB / 439.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005626/0.396, allocations: 2.678 MB / 442.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.3961, allocations: 49.7 kB / 442.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 3.757e-06/0.3961, allocations: 3.938 kB / 442.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.004165/0.4003, allocations: 1.75 MB / 443.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4004, allocations: 221.5 kB / 444.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/0.406, allocations: 3.665 MB / 447.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.4061, allocations: 33.7 kB / 447.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.4083, allocations: 2.691 MB / 450.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/0.4088, allocations: 388 kB / 450.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.4101, allocations: 0.9559 MB / 451.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4102, allocations: 305.1 kB / 452.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4121, allocations: 1.208 MB / 453.4 MB, free: 7.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/0.4167, allocations: 4.527 MB / 457.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00827/0.425, allocations: 6.29 MB / 464.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.4251, allocations: 36 kB / 464.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01195/0.4371, allocations: 5.437 MB / 469.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4372, allocations: 58.81 kB / 469.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/0.4374, allocations: 120 kB / 469.8 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.4376, allocations: 152 kB / 470 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.441, allocations: 1.092 MB / 471.1 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002402/0.4413, allocations: 227.1 kB / 471.3 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/0.4456, allocations: 0.6846 MB / 472 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008484/0.4465, allocations: 323.5 kB / 472.3 MB, free: 1.43 MB / 382.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.003957/0.4505, allocations: 1.708 MB / 474 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007692/0.4513, allocations: 296.1 kB / 474.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.4526, allocations: 0.4904 MB / 474.8 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/0.4527, allocations: 19.98 kB / 474.8 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.4527, allocations: 8 kB / 474.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4527, allocations: 3.984 kB / 474.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.461, allocations: 3.145 MB / 478 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.461, allocations: 8.031 kB / 478 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.4616, allocations: 107.8 kB / 478.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.4616, allocations: 4 kB / 478.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.4617, allocations: 19.05 kB / 478.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.4617, allocations: 11.94 kB / 478.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.4617, allocations: 7.938 kB / 478.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.4646, allocations: 2.218 MB / 480.3 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/0.4656, allocations: 421 kB / 480.7 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005665/0.4661, allocations: 23.84 kB / 480.8 MB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.4673, allocations: 31.97 kB / 480.8 MB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4674, allocations: 55.39 kB / 480.9 MB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.4675, allocations: 32 kB / 480.9 MB, free: 8.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004541/0.4721, allocations: 2.333 MB / 483.2 MB, free: 6.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4721, allocations: 3.938 kB / 483.2 MB, free: 6.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004602/0.4767, allocations: 0.7944 MB / 484 MB, free: 5.566 MB / 398.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.0004313/0.4771, allocations: 152.5 kB / 484.2 MB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005477/0.4826, allocations: 2.898 MB / 487.1 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4826, allocations: 0 / 487.1 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006733/0.4833, allocations: 442 kB / 487.5 MB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.4863, allocations: 378.8 kB / 487.9 MB, free: 1.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.5025, allocations: 6.752 MB / 494.6 MB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005396/0.508, allocations: 2.68 MB / 497.3 MB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005107/0.5131, allocations: 1.49 MB / 498.8 MB, free: 6.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/0.5139, allocations: 203.4 kB / 499 MB, free: 6.527 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5139, allocations: 0 / 499 MB, free: 6.527 MB / 414.1 MB Notification: Performance of Templates: time 0.0556/0.5695, allocations: 22.09 MB / 0.5089 GB, free: 0.5938 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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