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.001288/0.001288, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001476/0.001476, allocations: 213 kB / 23.73 MB, free: 4.523 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001609/0.001609, allocations: 51.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01018/0.2383, allocations: 7.961 MB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.2441, allocations: 2.593 MB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.2452, allocations: 55.75 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.249, allocations: 1.795 MB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.2529, allocations: 1.373 MB / 444.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.2535, allocations: 223.5 kB / 445.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.2568, allocations: 2.328 MB / 447.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.2591, allocations: 1.742 MB / 449.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.2613, allocations: 1.016 MB / 450.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.265, allocations: 2.583 MB / 452.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000714/0.2658, allocations: 188 kB / 452.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2668, allocations: 427.5 kB / 453.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.2681, allocations: 1.332 MB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.2695, allocations: 1.121 MB / 455.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.275, allocations: 4.873 MB / 460.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.275, allocations: 0 / 460.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.275, allocations: 0 / 460.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.328e-05/0.2751, allocations: 0 / 460.7 MB, free: 8.883 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.007627/0.2827, allocations: 3.646 MB / 464.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.2828, allocations: 8.031 kB / 464.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009615/0.2837, allocations: 0.5385 MB / 464.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006177/0.2899, allocations: 1.722 MB / 466.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.2937, allocations: 1.529 MB / 468.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.2938, allocations: 155.8 kB / 468.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.2943, allocations: 191.9 kB / 468.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.3043, allocations: 6.986 MB / 475.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.775e-05/0.3044, allocations: 31.75 kB / 475.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.3047, allocations: 99.88 kB / 475.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.3069, allocations: 1.566 MB / 477.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009525/0.3165, allocations: 5.477 MB / 482.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03077/0.3472, allocations: 26.09 MB / 0.4968 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.3498, allocations: 1.139 MB / 0.4979 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.3506, allocations: 469.6 kB / 0.4984 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004192/0.3548, allocations: 2.039 MB / 0.5003 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3548, allocations: 50.5 kB / 0.5004 GB, free: 3.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/0.3548, allocations: 4 kB / 0.5004 GB, free: 3.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003983/0.3588, allocations: 1.776 MB / 0.5021 GB, free: 1.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.3589, allocations: 217.6 kB / 0.5023 GB, free: 1.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005574/0.3645, allocations: 3.871 MB / 0.5061 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3646, allocations: 29.7 kB / 0.5061 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/0.367, allocations: 2.788 MB / 0.5089 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.3674, allocations: 409.1 kB / 0.5093 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.3686, allocations: 0.9685 MB / 0.5102 GB, free: 9.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3688, allocations: 301.3 kB / 0.5105 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.3706, allocations: 1.208 MB / 0.5117 GB, free: 7.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/0.3751, allocations: 4.53 MB / 0.5161 GB, free: 1.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/0.3826, allocations: 6.293 MB / 0.5222 GB, free: 9.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/0.3827, allocations: 32 kB / 0.5223 GB, free: 9.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01047/0.3931, allocations: 5.45 MB / 0.5276 GB, free: 4.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.06e-05/0.3932, allocations: 56 kB / 0.5276 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/0.3934, allocations: 127.9 kB / 0.5278 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.3935, allocations: 156.8 kB / 0.5279 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/0.3967, allocations: 1.076 MB / 0.529 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001925/0.3969, allocations: 239.1 kB / 0.5292 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/0.4003, allocations: 0.7018 MB / 0.5299 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/0.4009, allocations: 320 kB / 0.5302 GB, free: 1.477 MB / 446.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.003051/0.4039, allocations: 1.716 MB / 0.5319 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007084/0.4046, allocations: 313.8 kB / 0.5322 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4057, allocations: 498.1 kB / 0.5326 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/0.4057, allocations: 20 kB / 0.5327 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.4057, allocations: 0 / 0.5327 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4058, allocations: 7.984 kB / 0.5327 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00673/0.4125, allocations: 3.009 MB / 0.5356 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.4125, allocations: 0 / 0.5356 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.413, allocations: 107.8 kB / 0.5357 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.413, allocations: 11.94 kB / 0.5357 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.4131, allocations: 16 kB / 0.5357 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.4131, allocations: 8 kB / 0.5357 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4131, allocations: 7.938 kB / 0.5357 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.4158, allocations: 2.226 MB / 0.5379 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.4168, allocations: 369.6 kB / 0.5383 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.417, allocations: 23.88 kB / 0.5383 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.4179, allocations: 36.22 kB / 0.5383 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.418, allocations: 47.81 kB / 0.5384 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.418, allocations: 35.98 kB / 0.5384 GB, free: 8.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003696/0.4217, allocations: 2.333 MB / 0.5407 GB, free: 6.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4217, allocations: 0 / 0.5407 GB, free: 6.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003675/0.4254, allocations: 0.8027 MB / 0.5415 GB, free: 5.781 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.003093/0.4285, allocations: 2.855 MB / 0.5443 GB, free: 2.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004399/0.4329, allocations: 2.702 MB / 0.5469 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4329, allocations: 1.75 kB / 0.5469 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2139/0.6468, allocations: 397.6 kB / 0.5473 GB, free: 117.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.6494, allocations: 385.4 kB / 0.5476 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/0.6823, allocations: 33.26 MB / 0.5801 GB, free: 87.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.6844, allocations: 2.126 MB / 0.5822 GB, free: 85.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002779/0.6872, allocations: 1.49 MB / 0.5837 GB, free: 83.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.6886, allocations: 1.468 MB / 0.5851 GB, free: 82.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6886, allocations: 0 / 0.5851 GB, free: 82.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/0.7695, allocations: 49.54 MB / 0.6335 GB, free: 33.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.46, allocations: 11.19 kB / 0.6335 GB, free: 33.54 MB / 462.1 MB " [Timeout remaining time 644] (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: 18.07150494598318]