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.001092/0.001092, allocations: 109.2 kB / 17.73 MB, free: 5.289 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.00101/0.00101, allocations: 188.2 kB / 18.66 MB, free: 4.363 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.457/1.457, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001187/0.001187, allocations: 55.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1007, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2354/0.3362, allocations: 9.021 MB / 384.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.3428, allocations: 2.667 MB / 386.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.3449, allocations: 48.69 kB / 386.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.3488, allocations: 1.822 MB / 388.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.3533, allocations: 1.317 MB / 390 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.3542, allocations: 210.2 kB / 390.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004757/0.359, allocations: 2.375 MB / 392.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/0.3623, allocations: 2.122 MB / 394.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.3648, allocations: 0.9958 MB / 395.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004963/0.3698, allocations: 2.349 MB / 398.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009197/0.3707, allocations: 187.5 kB / 398.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.3723, allocations: 487.4 kB / 398.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001796/0.3741, allocations: 1.32 MB / 400.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.3759, allocations: 1.587 MB / 401.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008032/0.3839, allocations: 4.86 MB / 406.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3839, allocations: 1.188 kB / 406.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.384, allocations: 0 / 406.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.3841, 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.01/0.3941, allocations: 3.629 MB / 410.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3942, allocations: 10.31 kB / 410.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.4001, allocations: 1.648 MB / 411.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.4041, allocations: 1.58 MB / 413.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.4043, allocations: 149.8 kB / 413.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.4047, allocations: 199.2 kB / 413.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.4158, allocations: 6.99 MB / 420.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.4159, allocations: 23.75 kB / 420.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.4162, allocations: 103.9 kB / 420.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/0.4186, allocations: 1.555 MB / 422.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.4289, allocations: 5.493 MB / 427.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/0.4627, allocations: 27.12 MB / 455 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.4659, allocations: 1.643 MB / 456.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.4666, allocations: 0.4939 MB / 457.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004582/0.4712, allocations: 2.682 MB / 459.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4713, allocations: 42.5 kB / 459.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.836e-06/0.4713, allocations: 0 / 459.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003846/0.4751, allocations: 1.752 MB / 461.6 MB, free: 7.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.4753, allocations: 226.3 kB / 461.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006155/0.4814, allocations: 3.669 MB / 465.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.509e-05/0.4815, allocations: 29.7 kB / 465.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/0.4836, allocations: 2.691 MB / 468.2 MB, free: 352 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.484, allocations: 391.5 kB / 468.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.4853, allocations: 0.9559 MB / 469.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4854, allocations: 309.1 kB / 469.9 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.4872, allocations: 1.204 MB / 471.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/0.4917, allocations: 4.526 MB / 475.6 MB, free: 7.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/0.4999, allocations: 6.297 MB / 481.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.5, allocations: 32 kB / 481.9 MB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01079/0.5108, allocations: 5.441 MB / 487.4 MB, free: 9.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.511, allocations: 56 kB / 487.4 MB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/0.5111, allocations: 120.9 kB / 487.5 MB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.5114, allocations: 156 kB / 487.7 MB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.5149, allocations: 1.092 MB / 488.8 MB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/0.5151, allocations: 235.1 kB / 489 MB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.5194, allocations: 0.6764 MB / 489.7 MB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/0.5199, allocations: 321.9 kB / 490 MB, free: 7.148 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.003197/0.5231, allocations: 1.708 MB / 491.7 MB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.5237, allocations: 300 kB / 492 MB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/0.5245, allocations: 0.491 MB / 492.5 MB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/0.5246, allocations: 16 kB / 492.5 MB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5246, allocations: 4 kB / 492.5 MB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5246, allocations: 7.984 kB / 492.5 MB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.5311, allocations: 3.154 MB / 495.7 MB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5311, allocations: 4 kB / 495.7 MB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.5316, allocations: 103.8 kB / 495.8 MB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.5316, allocations: 8 kB / 495.8 MB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.5317, allocations: 16 kB / 495.8 MB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.5317, allocations: 7.938 kB / 495.8 MB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5317, allocations: 8 kB / 495.8 MB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.5341, allocations: 2.218 MB / 498 MB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/0.5349, allocations: 428.9 kB / 498.5 MB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5352, allocations: 23.97 kB / 498.5 MB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.536, allocations: 35.91 kB / 498.5 MB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5361, allocations: 43.95 kB / 498.6 MB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.5362, allocations: 31.98 kB / 498.6 MB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003162/0.5393, allocations: 2.341 MB / 0.4892 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5394, allocations: 3.938 kB / 0.4892 GB, free: 12.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004092/0.5435, allocations: 0.806 MB / 0.49 GB, free: 11.24 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.0003755/0.5438, allocations: 147 kB / 0.4901 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004553/0.5484, allocations: 2.816 MB / 0.4929 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5484, allocations: 3.938 kB / 0.4929 GB, free: 8.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.5491, allocations: 442 kB / 0.4933 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.5512, allocations: 381.6 kB / 0.4937 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.5635, allocations: 6.661 MB / 0.5002 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/0.5666, allocations: 2.691 MB / 0.5028 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003499/0.5701, allocations: 1.49 MB / 0.5042 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.5705, allocations: 199.4 kB / 0.5044 GB, free: 12.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5705, allocations: 0 / 0.5044 GB, free: 12.35 MB / 446.1 MB Notification: Performance of Templates: time 0.04351/0.614, allocations: 19.39 MB / 0.5234 GB, free: 8.926 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