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.0016/0.0016, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001844/0.001845, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.463/1.463, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001271/0.001271, allocations: 55.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2655/0.3717, allocations: 9.026 MB / 384.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.3788, allocations: 2.662 MB / 387.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.3812, allocations: 49.28 kB / 387.6 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004513/0.3858, allocations: 1.822 MB / 389.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.3908, allocations: 1.32 MB / 390.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009661/0.3918, allocations: 209.8 kB / 390.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00463/0.3964, allocations: 2.375 MB / 393.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.3998, allocations: 2.127 MB / 395.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.4023, allocations: 0.9991 MB / 396.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004363/0.4067, allocations: 2.342 MB / 398.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.4077, allocations: 187 kB / 398.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.4093, allocations: 487.4 kB / 399.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.411, allocations: 1.325 MB / 400.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.4131, allocations: 1.583 MB / 402.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.4202, allocations: 4.857 MB / 407.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4202, allocations: 4 kB / 407.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4203, allocations: 0 / 407.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.4205, allocations: 1.469 kB / 407.2 MB, free: 13.52 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.01052/0.431, allocations: 3.626 MB / 410.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4311, allocations: 7.531 kB / 410.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006305/0.4374, allocations: 1.651 MB / 412.5 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.4418, allocations: 1.58 MB / 414 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.4421, allocations: 159.2 kB / 414.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008127/0.4429, allocations: 189.9 kB / 414.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.4552, allocations: 6.986 MB / 421.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-05/0.4554, allocations: 27.75 kB / 421.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.4557, allocations: 95.89 kB / 421.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/0.4581, allocations: 1.57 MB / 423.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.4698, allocations: 5.485 MB / 428.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03973/0.5096, allocations: 27.13 MB / 455.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.5128, allocations: 1.642 MB / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007972/0.5137, allocations: 0.4939 MB / 457.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005066/0.5188, allocations: 2.67 MB / 460.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.5188, allocations: 46.61 kB / 460.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 4.509e-06/0.5188, allocations: 3.938 kB / 460.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004404/0.5233, allocations: 1.763 MB / 462.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.5234, allocations: 217.7 kB / 462.5 MB, free: 6.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008142/0.5316, allocations: 3.665 MB / 466.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.5318, allocations: 37.7 kB / 466.2 MB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.5344, allocations: 2.683 MB / 468.9 MB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/0.5351, allocations: 395.5 kB / 469.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/0.537, allocations: 0.952 MB / 470.2 MB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5372, allocations: 301.1 kB / 470.5 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.5394, allocations: 1.212 MB / 471.7 MB, free: 13.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/0.5443, allocations: 4.522 MB / 476.3 MB, free: 7.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.5522, allocations: 6.304 MB / 482.6 MB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/0.5524, allocations: 36 kB / 482.6 MB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01263/0.5651, allocations: 5.441 MB / 488 MB, free: 9.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.5653, allocations: 56 kB / 488.1 MB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002581/0.5655, allocations: 119.9 kB / 488.2 MB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.5658, allocations: 156.8 kB / 488.4 MB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/0.5697, allocations: 1.08 MB / 489.4 MB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002479/0.5699, allocations: 235.1 kB / 489.7 MB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/0.575, allocations: 0.6842 MB / 490.4 MB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/0.5764, allocations: 312.3 kB / 490.7 MB, free: 7.168 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.00595/0.5824, allocations: 1.704 MB / 492.4 MB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009437/0.5833, allocations: 304 kB / 492.7 MB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.5849, allocations: 0.4944 MB / 493.2 MB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.632e-05/0.585, allocations: 27.97 kB / 493.2 MB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.585, allocations: 0 / 493.2 MB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5851, allocations: 4 kB / 493.2 MB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/0.5932, allocations: 3.15 MB / 496.3 MB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.5932, allocations: 8.062 kB / 496.3 MB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.5937, allocations: 103.8 kB / 496.4 MB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.5938, allocations: 8 kB / 496.5 MB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.5938, allocations: 19.97 kB / 496.5 MB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.5939, allocations: 11.94 kB / 496.5 MB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.5939, allocations: 11.94 kB / 496.5 MB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.5966, allocations: 2.211 MB / 498.7 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.5977, allocations: 428.9 kB / 499.1 MB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006018/0.5983, allocations: 16 kB / 499.1 MB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.5995, allocations: 31.91 kB / 499.2 MB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5996, allocations: 51.94 kB / 499.2 MB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.5997, allocations: 32 kB / 499.3 MB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004531/0.6043, allocations: 2.341 MB / 0.4898 GB, free: 12.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6043, allocations: 0 / 0.4898 GB, free: 12.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004575/0.6089, allocations: 0.8137 MB / 0.4906 GB, free: 11.25 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.0004294/0.6093, allocations: 143 kB / 0.4908 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004951/0.6143, allocations: 2.817 MB / 0.4935 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6143, allocations: 4 kB / 0.4935 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.6149, allocations: 440.3 kB / 0.4939 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.618, allocations: 386.9 kB / 0.4943 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.6337, allocations: 7.021 MB / 0.5012 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004909/0.6387, allocations: 2.699 MB / 0.5038 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009245/0.6396, allocations: 235.4 kB / 0.504 GB, free: 13.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6396, allocations: 0 / 0.504 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Templates: time 0.07414/0.7138, allocations: 44.03 MB / 0.547 GB, free: 1.332 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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