Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2692, allocations: 53.35 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01138/0.2805, allocations: 9.081 MB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.2866, allocations: 2.749 MB / 443 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.288, allocations: 55.75 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.2917, allocations: 1.865 MB / 444.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.2954, allocations: 1.377 MB / 446.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.296, allocations: 211.7 kB / 446.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003475/0.2995, allocations: 2.35 MB / 448.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.3016, allocations: 1.73 MB / 450.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.3031, allocations: 1.016 MB / 451.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003684/0.3067, allocations: 2.587 MB / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006953/0.3074, allocations: 188 kB / 454.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3086, allocations: 0.5228 MB / 454.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.31, allocations: 1.328 MB / 456.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.3116, allocations: 1.575 MB / 457.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005739/0.3174, allocations: 4.857 MB / 462.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3174, allocations: 0 / 462.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3174, allocations: 0 / 462.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.3175, allocations: 0 / 462.6 MB, free: 7.211 MB / 366.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.006628/0.3242, allocations: 3.646 MB / 466.3 MB, free: 3.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3242, allocations: 8.031 kB / 466.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007436/0.3249, allocations: 0.5385 MB / 466.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005882/0.3308, allocations: 1.718 MB / 468.5 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.3346, allocations: 1.525 MB / 470.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3347, allocations: 155.7 kB / 470.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/0.3352, allocations: 199.8 kB / 470.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.3465, allocations: 6.99 MB / 477.4 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-05/0.3465, allocations: 23.75 kB / 477.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/0.3468, allocations: 99.89 kB / 477.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/0.3492, allocations: 1.559 MB / 479.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.3599, allocations: 5.489 MB / 484.6 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.3942, allocations: 27.08 MB / 0.4997 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.3969, allocations: 1.127 MB / 0.5008 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.3976, allocations: 469.9 kB / 0.5012 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004513/0.4021, allocations: 2.23 MB / 0.5034 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4021, allocations: 46.5 kB / 0.5034 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 1.791e-05/0.4022, allocations: 0 / 0.5034 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004053/0.4062, allocations: 1.768 MB / 0.5052 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.4063, allocations: 226.3 kB / 0.5054 GB, free: 14.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005567/0.4119, allocations: 3.666 MB / 0.509 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.412, allocations: 33.7 kB / 0.509 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.4142, allocations: 2.792 MB / 0.5117 GB, free: 8.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.4147, allocations: 409.1 kB / 0.5121 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.4159, allocations: 0.9646 MB / 0.513 GB, free: 6.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.416, allocations: 305.1 kB / 0.5133 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.4179, allocations: 1.212 MB / 0.5145 GB, free: 5.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/0.423, allocations: 4.526 MB / 0.5189 GB, free: 14.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007862/0.4309, allocations: 6.294 MB / 0.5251 GB, free: 6.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.431, allocations: 32 kB / 0.5251 GB, free: 6.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01133/0.4423, allocations: 5.45 MB / 0.5304 GB, free: 1.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/0.4424, allocations: 56 kB / 0.5305 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/0.4426, allocations: 120 kB / 0.5306 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.4427, allocations: 156.8 kB / 0.5308 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.446, allocations: 1.084 MB / 0.5318 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002044/0.4462, allocations: 235.1 kB / 0.532 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/0.4497, allocations: 0.698 MB / 0.5327 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005472/0.4502, allocations: 323.9 kB / 0.533 GB, free: 14.82 MB / 462.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.00251/0.4527, allocations: 1.719 MB / 0.5347 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/0.4533, allocations: 309.9 kB / 0.535 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009058/0.4542, allocations: 498 kB / 0.5355 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.952e-05/0.4542, allocations: 23.98 kB / 0.5355 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4542, allocations: 0 / 0.5355 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4543, allocations: 4 kB / 0.5355 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/0.4604, allocations: 3.122 MB / 0.5386 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4604, allocations: 8.031 kB / 0.5386 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.4609, allocations: 107.8 kB / 0.5387 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.461, allocations: 7.938 kB / 0.5387 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.461, allocations: 16 kB / 0.5387 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.461, allocations: 11.98 kB / 0.5387 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.461, allocations: 7.938 kB / 0.5387 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.4636, allocations: 2.229 MB / 0.5409 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009077/0.4645, allocations: 361.6 kB / 0.5412 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.4648, allocations: 31.84 kB / 0.5413 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008176/0.4656, allocations: 27.97 kB / 0.5413 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.4657, allocations: 55.88 kB / 0.5413 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.4658, allocations: 27.98 kB / 0.5414 GB, free: 6.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003759/0.4695, allocations: 2.337 MB / 0.5436 GB, free: 3.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4695, allocations: 0 / 0.5436 GB, free: 3.809 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004332/0.4739, allocations: 0.7989 MB / 0.5444 GB, free: 3.008 MB / 462.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.003468/0.4773, allocations: 2.855 MB / 0.5472 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2208/0.6981, allocations: 2.706 MB / 0.5499 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6981, allocations: 1.281 kB / 0.5499 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.6987, allocations: 406.1 kB / 0.5502 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.701, allocations: 373.9 kB / 0.5506 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.7359, allocations: 33.26 MB / 0.5831 GB, free: 85.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.7381, allocations: 2.683 MB / 0.5857 GB, free: 82.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002692/0.7408, allocations: 1.487 MB / 0.5872 GB, free: 80.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.7421, allocations: 1.468 MB / 0.5886 GB, free: 79.43 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7421, allocations: 4 kB / 0.5886 GB, free: 79.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08846/0.8306, allocations: 51.61 MB / 0.639 GB, free: 28.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.24/21.07, allocations: 8.062 kB / 0.639 GB, free: 28.18 MB / 462.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable prismatic.s in file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.673977079000906]