Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001182/0.001182, allocations: 106.2 kB / 17.06 MB, free: 6.098 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.001083/0.001083, allocations: 200.1 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009613/0.0009617, allocations: 47.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2495, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009771/0.2593, allocations: 9.023 MB / 409.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.2647, allocations: 2.659 MB / 412.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.266, allocations: 51.94 kB / 412.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.2695, allocations: 1.822 MB / 414.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.2729, allocations: 1.327 MB / 415.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.2736, allocations: 207.6 kB / 415.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.2768, allocations: 2.372 MB / 418.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.2793, allocations: 2.121 MB / 420.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.2808, allocations: 1 MB / 421.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.2844, allocations: 2.337 MB / 423.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008165/0.2853, allocations: 188 kB / 423.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.2865, allocations: 491.4 kB / 424.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.2877, allocations: 1.293 MB / 425.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.2894, allocations: 1.587 MB / 427.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005098/0.2945, allocations: 4.873 MB / 432.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2945, allocations: 3.938 kB / 432.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2945, allocations: 4 kB / 432.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.446e-05/0.2946, allocations: 0 / 432.1 MB, free: 9.383 MB / 350.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.006663/0.3013, allocations: 3.733 MB / 435.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3013, allocations: 8.031 kB / 435.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/0.3065, allocations: 1.675 MB / 437.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.3096, allocations: 1.589 MB / 439.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3098, allocations: 151.8 kB / 439.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.3102, allocations: 199.8 kB / 439.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009761/0.32, allocations: 6.982 MB / 446.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.167e-05/0.3201, allocations: 31.69 kB / 446.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.3203, allocations: 99.88 kB / 446.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/0.3227, allocations: 1.562 MB / 448.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009677/0.3324, allocations: 5.489 MB / 453.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02895/0.3613, allocations: 27.17 MB / 480.8 MB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.3642, allocations: 1.645 MB / 482.4 MB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.3649, allocations: 0.5016 MB / 482.9 MB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003703/0.3687, allocations: 2.69 MB / 485.6 MB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3687, allocations: 50.55 kB / 485.7 MB, free: 1.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 2.485e-06/0.3687, allocations: 0 / 485.7 MB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003829/0.3725, allocations: 1.771 MB / 487.4 MB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3727, allocations: 213.8 kB / 487.6 MB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004767/0.3774, allocations: 3.682 MB / 491.3 MB, free: 12.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.3775, allocations: 33.7 kB / 491.3 MB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.3793, allocations: 2.796 MB / 494.1 MB, free: 9.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.3796, allocations: 405.2 kB / 494.5 MB, free: 8.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.3807, allocations: 0.9685 MB / 495.5 MB, free: 7.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.3808, allocations: 301.1 kB / 495.8 MB, free: 7.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.3825, allocations: 1.212 MB / 497 MB, free: 6.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.3863, allocations: 4.522 MB / 0.4898 GB, free: 176 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/0.3928, allocations: 6.292 MB / 0.4959 GB, free: 8.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.925e-05/0.3929, allocations: 39.94 kB / 0.496 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008861/0.4018, allocations: 5.451 MB / 0.5013 GB, free: 2.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.4019, allocations: 56 kB / 0.5013 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.402, allocations: 116 kB / 0.5014 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.4021, allocations: 156.8 kB / 0.5016 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.405, allocations: 1.088 MB / 0.5027 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001592/0.4052, allocations: 243 kB / 0.5029 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/0.4084, allocations: 0.6979 MB / 0.5036 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/0.4088, allocations: 312 kB / 0.5039 GB, free: 60 kB / 430.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.002247/0.411, allocations: 1.719 MB / 0.5055 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006295/0.4117, allocations: 309.9 kB / 0.5058 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009924/0.4127, allocations: 0.4905 MB / 0.5063 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/0.4127, allocations: 24 kB / 0.5063 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4127, allocations: 0 / 0.5063 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4128, allocations: 7.984 kB / 0.5064 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/0.4182, allocations: 3.15 MB / 0.5094 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4182, allocations: 8.031 kB / 0.5094 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.4188, allocations: 103.9 kB / 0.5095 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4188, allocations: 7.984 kB / 0.5095 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.4188, allocations: 23.92 kB / 0.5096 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.4189, allocations: 8 kB / 0.5096 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4189, allocations: 4 kB / 0.5096 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.4212, allocations: 2.232 MB / 0.5118 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.4219, allocations: 434.7 kB / 0.5122 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.4222, allocations: 23.89 kB / 0.5122 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.423, allocations: 43.89 kB / 0.5122 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4231, allocations: 51.88 kB / 0.5123 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.4232, allocations: 32 kB / 0.5123 GB, free: 7.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003576/0.4268, allocations: 2.337 MB / 0.5146 GB, free: 4.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.415e-06/0.4268, allocations: 0 / 0.5146 GB, free: 4.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003979/0.4308, allocations: 0.8144 MB / 0.5154 GB, free: 4.09 MB / 446.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.0004069/0.4312, allocations: 151.8 kB / 0.5155 GB, free: 3.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0054/0.4366, allocations: 2.82 MB / 0.5183 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.4367, allocations: 0 / 0.5183 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.4373, allocations: 443.4 kB / 0.5187 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.4397, allocations: 362.7 kB / 0.5191 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.4513, allocations: 6.795 MB / 0.5257 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.4541, allocations: 2.683 MB / 0.5283 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003183/0.4574, allocations: 1.486 MB / 0.5298 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.4577, allocations: 199.4 kB / 0.53 GB, free: 5.082 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4577, allocations: 4 kB / 0.53 GB, free: 5.078 MB / 462.1 MB Notification: Performance of Templates: time 0.2329/0.6907, allocations: 19.44 MB / 0.549 GB, free: 123.6 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches