Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 197.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008733/0.0008733, allocations: 95.48 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002351/0.0002351, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2084, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02141/0.2299, allocations: 30.4 MB / 442.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.2444, allocations: 8.469 MB / 450.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004704/0.2492, allocations: 139.7 kB / 451.1 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.2508, allocations: 342.4 kB / 451.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.2551, allocations: 1.249 MB / 452.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.2559, allocations: 191.8 kB / 452.8 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005346/0.2612, allocations: 4.594 MB / 457.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.2649, allocations: 3.199 MB / 460.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.266, allocations: 0.8519 MB / 461.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.2679, allocations: 1.514 MB / 463 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.2682, allocations: 96 kB / 463.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.2691, allocations: 419.3 kB / 463.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009555/0.2701, allocations: 1.199 MB / 464.7 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.2714, allocations: 1.499 MB / 466.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.2752, allocations: 4.425 MB / 470.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2753, allocations: 0 / 470.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2753, allocations: 0 / 470.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.099e-05/0.2754, allocations: 0 / 470.6 MB, free: 14.52 MB / 346.7 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.004529/0.2799, allocations: 3.006 MB / 473.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2799, allocations: 15.97 kB / 473.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.2854, allocations: 1.739 MB / 475.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.2882, allocations: 1.569 MB / 477 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.2883, allocations: 151.8 kB / 477.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.2886, allocations: 195.8 kB / 477.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/0.2975, allocations: 6.967 MB / 484.3 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/0.2976, allocations: 27.75 kB / 484.3 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.2978, allocations: 103.8 kB / 484.4 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002033/0.2998, allocations: 1.566 MB / 486 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008849/0.3087, allocations: 5.45 MB / 491.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1972/0.5059, allocations: 27.28 MB / 0.5065 GB, free: 73.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.5083, allocations: 1.578 MB / 0.5081 GB, free: 72.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.5088, allocations: 476.7 kB / 0.5085 GB, free: 72.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002762/0.5116, allocations: 2.579 MB / 0.511 GB, free: 71.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.5116, allocations: 49.12 kB / 0.5111 GB, free: 71.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.5116, allocations: 0 / 0.5111 GB, free: 71.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003182/0.5148, allocations: 1.658 MB / 0.5127 GB, free: 70.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5149, allocations: 194.1 kB / 0.5129 GB, free: 70.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/0.5184, allocations: 3.681 MB / 0.5165 GB, free: 69.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.5185, allocations: 37.34 kB / 0.5165 GB, free: 69.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.5196, allocations: 2.719 MB / 0.5192 GB, free: 67.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.5197, allocations: 368.3 kB / 0.5195 GB, free: 67.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5199, allocations: 89.91 kB / 0.5196 GB, free: 67.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.52, allocations: 0.5043 MB / 0.5201 GB, free: 67.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.5213, allocations: 1.182 MB / 0.5213 GB, free: 66.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.5234, allocations: 4.546 MB / 0.5257 GB, free: 61.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/0.5274, allocations: 6.302 MB / 0.5318 GB, free: 55.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/0.5274, allocations: 32.47 kB / 0.5319 GB, free: 55.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005861/0.5333, allocations: 5.418 MB / 0.5372 GB, free: 50.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.5334, allocations: 56 kB / 0.5372 GB, free: 50.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-05/0.5335, allocations: 132.1 kB / 0.5374 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.705e-05/0.5336, allocations: 156 kB / 0.5375 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.5359, allocations: 1.099 MB / 0.5386 GB, free: 49.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.806e-05/0.536, allocations: 235.1 kB / 0.5388 GB, free: 48.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.5384, allocations: 0.6932 MB / 0.5395 GB, free: 48.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.5387, allocations: 317.3 kB / 0.5398 GB, free: 47.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (597): * Single equations (assignments): 594 * Array equations: 3 * 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.0016/0.5403, allocations: 1.716 MB / 0.5415 GB, free: 46.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.5406, allocations: 300 kB / 0.5417 GB, free: 45.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.5412, allocations: 0.4899 MB / 0.5422 GB, free: 45.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.5412, allocations: 13.8 kB / 0.5422 GB, free: 45.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5412, allocations: 2.25 kB / 0.5422 GB, free: 45.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5412, allocations: 7.984 kB / 0.5422 GB, free: 45.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.545, allocations: 3.116 MB / 0.5453 GB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.545, allocations: 4 kB / 0.5453 GB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.5454, allocations: 108.7 kB / 0.5454 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.5454, allocations: 8 kB / 0.5454 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.5455, allocations: 20.77 kB / 0.5454 GB, free: 41.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5455, allocations: 8 kB / 0.5454 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5455, allocations: 8.812 kB / 0.5454 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.5469, allocations: 2.03 MB / 0.5474 GB, free: 39.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.5474, allocations: 436.8 kB / 0.5478 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.5476, allocations: 16.86 kB / 0.5478 GB, free: 39.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/0.5484, allocations: 31.97 kB / 0.5479 GB, free: 39.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.5485, allocations: 56.66 kB / 0.5479 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.5485, allocations: 24 kB / 0.548 GB, free: 39.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002362/0.5509, allocations: 2.334 MB / 0.5502 GB, free: 37 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5509, allocations: 0 / 0.5502 GB, free: 37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002954/0.5539, allocations: 0.8161 MB / 0.551 GB, free: 36.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.0002526/0.5541, allocations: 156.2 kB / 0.5512 GB, free: 36.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.5574, allocations: 2.753 MB / 0.5539 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5574, allocations: 1.75 kB / 0.5539 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.5578, allocations: 407.8 kB / 0.5543 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.5609, allocations: 364.8 kB / 0.5546 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008216/0.5692, allocations: 8.261 MB / 0.5627 GB, free: 24.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/0.5711, allocations: 2.683 MB / 0.5653 GB, free: 21.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003093/0.5742, allocations: 1.506 MB / 0.5668 GB, free: 20.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.5745, allocations: 199.4 kB / 0.567 GB, free: 19.83 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5745, allocations: 0 / 0.567 GB, free: 19.83 MB / 378.7 MB Notification: Performance of Templates: time 0.03502/0.6095, allocations: 21.34 MB / 0.5878 GB, free: 14.65 MB / 394.7 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.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches