Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 111.7 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 180.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 43.94 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2803/0.3941, allocations: 9.029 MB / 384.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008632/0.4028, allocations: 2.665 MB / 386.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.4044, allocations: 48.72 kB / 386.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.4086, allocations: 1.822 MB / 388.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006236/0.4149, allocations: 1.321 MB / 390 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.4157, allocations: 216.1 kB / 390.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005006/0.4207, allocations: 2.372 MB / 392.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.4241, allocations: 2.13 MB / 394.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.4265, allocations: 1.006 MB / 395.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.4308, allocations: 2.34 MB / 398.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008569/0.4316, allocations: 187.2 kB / 398.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.4334, allocations: 484.1 kB / 398.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.4355, allocations: 1.29 MB / 400 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.4382, allocations: 1.591 MB / 401.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008173/0.4464, allocations: 4.864 MB / 406.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4465, allocations: 7.984 kB / 406.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4465, allocations: 0 / 406.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000194/0.4467, allocations: 0 / 406.5 MB, free: 13.49 MB / 334.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.01221/0.4589, allocations: 3.734 MB / 410.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.459, allocations: 8.531 kB / 410.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006144/0.4651, allocations: 1.671 MB / 411.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.4694, allocations: 1.59 MB / 413.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4695, allocations: 162.2 kB / 413.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/0.47, allocations: 193.7 kB / 413.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.4853, allocations: 6.976 MB / 420.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-05/0.4855, allocations: 27.75 kB / 420.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.4858, allocations: 107.9 kB / 421 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.4884, allocations: 1.562 MB / 422.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.5008, allocations: 5.493 MB / 428 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.54, allocations: 27.19 MB / 455.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.5432, allocations: 1.626 MB / 456.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008557/0.5441, allocations: 0.4984 MB / 457.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005419/0.5496, allocations: 2.694 MB / 460 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.5496, allocations: 50.5 kB / 460.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 8.025e-06/0.5497, allocations: 112 / 460.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004131/0.5538, allocations: 1.765 MB / 461.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.5539, allocations: 225.7 kB / 462.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008647/0.5626, allocations: 3.674 MB / 465.7 MB, free: 2.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.563, allocations: 37.7 kB / 465.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003109/0.5662, allocations: 2.796 MB / 468.6 MB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000713/0.5669, allocations: 401.3 kB / 469 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.5683, allocations: 0.9607 MB / 469.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5685, allocations: 305.1 kB / 470.2 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.5708, allocations: 1.208 MB / 471.4 MB, free: 13.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005598/0.5764, allocations: 4.526 MB / 475.9 MB, free: 6.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008862/0.5853, allocations: 6.293 MB / 482.2 MB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.5855, allocations: 36 kB / 482.3 MB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.0128/0.5983, allocations: 5.455 MB / 487.7 MB, free: 9.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.5984, allocations: 56 kB / 487.8 MB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.5986, allocations: 120 kB / 487.9 MB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.5988, allocations: 156.7 kB / 488.1 MB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.6026, allocations: 1.084 MB / 489.1 MB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00022/0.6028, allocations: 239.1 kB / 489.4 MB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/0.6077, allocations: 0.7018 MB / 490.1 MB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007865/0.6085, allocations: 316 kB / 490.4 MB, free: 6.785 MB / 414.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.00319/0.6117, allocations: 1.716 MB / 492.1 MB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007068/0.6125, allocations: 317.8 kB / 492.4 MB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.6135, allocations: 498.9 kB / 492.9 MB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/0.6136, allocations: 20 kB / 492.9 MB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.6136, allocations: 4 kB / 492.9 MB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6136, allocations: 3.984 kB / 492.9 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/0.6203, allocations: 3.15 MB / 496.1 MB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.6204, allocations: 8.031 kB / 496.1 MB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.6209, allocations: 108.1 kB / 496.2 MB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.6209, allocations: 4 kB / 496.2 MB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.621, allocations: 27.94 kB / 496.2 MB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.621, allocations: 11.88 kB / 496.2 MB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.621, allocations: 4 kB / 496.2 MB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.6239, allocations: 2.239 MB / 498.5 MB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.6251, allocations: 438.8 kB / 498.9 MB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004425/0.6256, allocations: 23.92 kB / 498.9 MB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6266, allocations: 31.97 kB / 499 MB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6267, allocations: 43.95 kB / 499 MB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.6268, allocations: 31.94 kB / 499 MB, free: 13.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004587/0.6314, allocations: 2.337 MB / 0.4896 GB, free: 11.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6315, allocations: 0 / 0.4896 GB, free: 11.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005678/0.6371, allocations: 0.8144 MB / 0.4904 GB, free: 10.82 MB / 430.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.0007693/0.638, allocations: 147 kB / 0.4906 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007413/0.6454, allocations: 2.828 MB / 0.4933 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.6454, allocations: 0 / 0.4933 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.6461, allocations: 435.5 kB / 0.4937 GB, free: 7.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.6498, allocations: 379.2 kB / 0.4941 GB, free: 7.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6635, allocations: 6.777 MB / 0.5007 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/0.6674, allocations: 2.691 MB / 0.5033 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003734/0.6712, allocations: 1.486 MB / 0.5048 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/0.6717, allocations: 199.4 kB / 0.505 GB, free: 11.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.984e-06/0.6718, allocations: 4 kB / 0.505 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04998/0.7217, allocations: 19.4 MB / 0.5239 GB, free: 8.375 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches