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.0009033/0.000903, allocations: 93.3 kB / 16.65 MB, free: 6.598 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.0009909/0.0009909, allocations: 185.1 kB / 17.56 MB, free: 6.199 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.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 96 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 12.7 kB / 301.4 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09633, allocations: 50.42 MB / 351.8 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2038/0.3002, allocations: 32.51 MB / 384.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.3158, allocations: 6.586 MB / 390.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00721/0.3231, allocations: 143 kB / 391.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.3244, allocations: 335.3 kB / 391.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.3281, allocations: 1.263 MB / 392.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.3287, allocations: 191.3 kB / 392.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00647/0.3352, allocations: 4.52 MB / 397.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.3393, allocations: 2.728 MB / 400.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.3409, allocations: 0.7703 MB / 400.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.343, allocations: 1.525 MB / 402.4 MB, free: 268 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003573/0.3433, allocations: 95 kB / 402.5 MB, free: 268 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009787/0.3443, allocations: 426.5 kB / 402.9 MB, free: 64 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.3457, allocations: 1.216 MB / 404.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.3474, allocations: 1.499 MB / 405.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.3525, allocations: 4.419 MB / 410 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3525, allocations: 0 / 410 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3526, allocations: 3.938 kB / 410 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.3527, allocations: 0 / 410 MB, free: 10.05 MB / 318.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.005115/0.3578, allocations: 2.991 MB / 413 MB, free: 7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3579, allocations: 8.031 kB / 413 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.3635, allocations: 1.704 MB / 414.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.3661, allocations: 1.561 MB / 416.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3663, allocations: 159.7 kB / 416.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/0.3667, allocations: 195.8 kB / 416.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.3771, allocations: 6.99 MB / 423.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-05/0.3772, allocations: 27.75 kB / 423.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.3775, allocations: 95.89 kB / 423.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002426/0.3799, allocations: 1.566 MB / 425.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.3903, allocations: 5.485 MB / 430.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03211/0.4224, allocations: 27.27 MB / 458.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.4254, allocations: 1.588 MB / 459.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.4262, allocations: 473.1 kB / 460.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003954/0.4301, allocations: 2.573 MB / 462.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4302, allocations: 46.5 kB / 462.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/0.4302, allocations: 0 / 462.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003923/0.4341, allocations: 1.673 MB / 464.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4343, allocations: 192 kB / 464.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/0.4401, allocations: 3.718 MB / 468.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-05/0.4403, allocations: 33.7 kB / 468.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.4422, allocations: 2.714 MB / 471.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.4425, allocations: 372.1 kB / 471.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/0.443, allocations: 400.3 kB / 471.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4431, allocations: 313.1 kB / 472.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.4449, allocations: 1.2 MB / 473.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/0.4491, allocations: 4.568 MB / 477.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.4559, allocations: 6.305 MB / 484.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.628e-05/0.456, allocations: 32 kB / 484.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009504/0.4655, allocations: 5.454 MB / 489.7 MB, free: 4.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.4657, allocations: 56 kB / 489.8 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001919/0.4659, allocations: 128.2 kB / 489.9 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.4661, allocations: 156 kB / 490 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/0.4691, allocations: 1.107 MB / 491.1 MB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001875/0.4693, allocations: 231.1 kB / 491.4 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.4728, allocations: 0.6919 MB / 492.1 MB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.4733, allocations: 319.9 kB / 492.4 MB, free: 2.238 MB / 398.1 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.002517/0.4758, allocations: 1.723 MB / 494.1 MB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005099/0.4763, allocations: 300.1 kB / 494.4 MB, free: 208 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009853/0.4773, allocations: 498.2 kB / 494.9 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.4773, allocations: 8 kB / 494.9 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.4774, allocations: 8 kB / 494.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4774, allocations: 7.922 kB / 494.9 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005675/0.4831, allocations: 3.127 MB / 498 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4831, allocations: 4 kB / 498 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.4836, allocations: 104.1 kB / 498.1 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.4836, allocations: 12 kB / 498.1 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.4837, allocations: 19.98 kB / 498.2 MB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.4837, allocations: 4 kB / 498.2 MB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4837, allocations: 8.219 kB / 498.2 MB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.486, allocations: 2.041 MB / 0.4885 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/0.4868, allocations: 436.8 kB / 0.4889 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/0.4872, allocations: 19.94 kB / 0.4889 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/0.4882, allocations: 39.95 kB / 0.489 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.4883, allocations: 47.89 kB / 0.489 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.4884, allocations: 27.98 kB / 0.489 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003992/0.4924, allocations: 2.369 MB / 0.4914 GB, free: 7.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4924, allocations: 0 / 0.4914 GB, free: 7.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003987/0.4964, allocations: 0.8138 MB / 0.4921 GB, free: 6.492 MB / 414.1 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.0003626/0.4968, allocations: 143 kB / 0.4923 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004753/0.5015, allocations: 2.768 MB / 0.495 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.5016, allocations: 1.75 kB / 0.495 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.5022, allocations: 412.1 kB / 0.4954 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/0.5065, allocations: 367.8 kB / 0.4957 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.5215, allocations: 8.258 MB / 0.5038 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00374/0.5253, allocations: 2.687 MB / 0.5064 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003855/0.5292, allocations: 1.506 MB / 0.5079 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.5296, allocations: 199.4 kB / 0.5081 GB, free: 6.094 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5296, allocations: 0 / 0.5081 GB, free: 6.094 MB / 430.1 MB Notification: Performance of Templates: time 0.04234/0.572, allocations: 21.32 MB / 0.5289 GB, free: 0.8477 MB / 446.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