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.001051/0.001051, allocations: 115.8 kB / 18.4 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.001124/0.001124, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 60.16 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09686, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01081/0.1077, allocations: 8.992 MB / 367.9 MB, free: 4.277 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.1133, allocations: 2.717 MB / 370.6 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.1147, allocations: 59.81 kB / 370.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1546/0.2694, allocations: 1.824 MB / 372.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.2727, allocations: 1.322 MB / 373.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.2734, allocations: 212 kB / 374 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.2768, allocations: 2.333 MB / 376.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.2798, allocations: 2.112 MB / 378.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.2816, allocations: 1.008 MB / 379.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.2847, allocations: 2.443 MB / 381.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.2853, allocations: 187.8 kB / 382.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2864, allocations: 0.4942 MB / 382.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.2877, allocations: 1.28 MB / 383.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.2891, allocations: 1.576 MB / 385.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.2935, allocations: 4.81 MB / 390.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2935, allocations: 0 / 390.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2935, allocations: 0 / 390.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.308e-05/0.2936, allocations: 1.156 kB / 390.3 MB, free: 5.227 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.005576/0.2992, allocations: 3.61 MB / 393.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2992, allocations: 13.72 kB / 393.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/0.3048, allocations: 1.7 MB / 395.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.3077, allocations: 1.58 MB / 397.2 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.3078, allocations: 153.4 kB / 397.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.3082, allocations: 204.2 kB / 397.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009633/0.3178, allocations: 6.985 MB / 404.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/0.3179, allocations: 27.75 kB / 404.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.3182, allocations: 98.78 kB / 404.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.3203, allocations: 1.556 MB / 406.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009919/0.3302, allocations: 5.498 MB / 411.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03274/0.363, allocations: 27.12 MB / 438.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.3656, allocations: 1.638 MB / 440.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.3663, allocations: 0.4929 MB / 440.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004156/0.3705, allocations: 2.675 MB / 443.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3705, allocations: 50.44 kB / 443.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.385e-06/0.3705, allocations: 0 / 443.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003666/0.3742, allocations: 1.759 MB / 445.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3743, allocations: 225.7 kB / 445.6 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004876/0.3792, allocations: 3.666 MB / 449.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.3793, allocations: 37.7 kB / 449.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.3811, allocations: 2.684 MB / 452 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.3815, allocations: 387.9 kB / 452.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.3826, allocations: 0.9592 MB / 453.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3827, allocations: 305.1 kB / 453.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.3844, allocations: 1.212 MB / 454.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/0.3887, allocations: 4.522 MB / 459.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006821/0.3955, allocations: 6.29 MB / 465.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.668e-05/0.3956, allocations: 39.94 kB / 465.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009547/0.4051, allocations: 5.436 MB / 471.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.4052, allocations: 56.28 kB / 471.2 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.4054, allocations: 120 kB / 471.3 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.4055, allocations: 152.8 kB / 471.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.4084, allocations: 1.095 MB / 472.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001582/0.4086, allocations: 231.1 kB / 472.8 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.4119, allocations: 0.6802 MB / 473.5 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003934/0.4123, allocations: 319.6 kB / 473.8 MB, free: 0.7539 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.002322/0.4146, allocations: 1.719 MB / 475.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.4151, allocations: 296.1 kB / 475.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.4159, allocations: 494.1 kB / 476.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/0.4159, allocations: 24 kB / 476.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.416, allocations: 0 / 476.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.416, allocations: 7.984 kB / 476.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/0.4213, allocations: 3.151 MB / 479.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4214, allocations: 4 kB / 479.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.4218, allocations: 103.8 kB / 479.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.4218, allocations: 8 kB / 479.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.4219, allocations: 16 kB / 479.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.4219, allocations: 11.94 kB / 479.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4219, allocations: 7.938 kB / 479.6 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.4241, allocations: 2.218 MB / 481.8 MB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/0.425, allocations: 417 kB / 482.2 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.4252, allocations: 27.83 kB / 482.3 MB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.426, allocations: 35.41 kB / 482.3 MB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.4262, allocations: 47.89 kB / 482.3 MB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.4262, allocations: 28 kB / 482.4 MB, free: 8.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003223/0.4294, allocations: 2.337 MB / 484.7 MB, free: 5.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4295, allocations: 0 / 484.7 MB, free: 5.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003707/0.4332, allocations: 0.7904 MB / 485.5 MB, free: 4.898 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.0002845/0.4335, allocations: 152.2 kB / 485.6 MB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004304/0.4378, allocations: 2.824 MB / 488.5 MB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4378, allocations: 0.5625 kB / 488.5 MB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.4384, allocations: 443.7 kB / 488.9 MB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.4406, allocations: 385.6 kB / 489.3 MB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.4525, allocations: 6.655 MB / 495.9 MB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002953/0.4555, allocations: 2.687 MB / 498.6 MB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003388/0.4589, allocations: 1.49 MB / 0.4884 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.4593, allocations: 199.4 kB / 0.4886 GB, free: 6.02 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4593, allocations: 4 kB / 0.4886 GB, free: 6.016 MB / 414.1 MB Notification: Performance of Templates: time 0.04152/0.5009, allocations: 17.77 MB / 0.5059 GB, free: 4.461 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 -s gbode -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