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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.002216/0.002216, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.128/2.128, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 43.88 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1523, allocations: 49.45 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01126/0.1636, allocations: 9.008 MB / 359.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00679/0.1705, allocations: 2.671 MB / 361.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.172, allocations: 47.88 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00492/0.177, allocations: 1.814 MB / 363.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.1834, allocations: 1.334 MB / 365 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1845, allocations: 207.7 kB / 365.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.1899, allocations: 2.366 MB / 367.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004821/0.1948, allocations: 2.121 MB / 369.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3132/0.508, allocations: 0.996 MB / 370.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005933/0.514, allocations: 2.332 MB / 373.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.5154, allocations: 187.7 kB / 373.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.5174, allocations: 497.2 kB / 373.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002543/0.52, allocations: 1.299 MB / 375 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003567/0.5236, allocations: 1.583 MB / 376.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008802/0.5324, allocations: 4.627 MB / 381.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.5325, allocations: 1.125 kB / 381.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5325, allocations: 0 / 381.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002889/0.5328, allocations: 0 / 381.2 MB, free: 9.43 MB / 302.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.01628/0.5491, allocations: 3.63 MB / 384.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.979e-05/0.5492, allocations: 9.531 kB / 384.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002253/0.5514, allocations: 0.5375 MB / 385.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006784/0.5582, allocations: 1.654 MB / 387.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.5627, allocations: 1.553 MB / 388.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.563, allocations: 156.6 kB / 388.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005998/0.5636, allocations: 204.8 kB / 389 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.5783, allocations: 6.975 MB / 396 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.5785, allocations: 33.5 kB / 396 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000452/0.579, allocations: 101.4 kB / 396.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003136/0.5821, allocations: 1.548 MB / 397.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.5943, allocations: 5.498 MB / 403.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/0.6469, allocations: 27.24 MB / 430.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.6507, allocations: 1.63 MB / 432 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008931/0.6517, allocations: 0.4934 MB / 432.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00784/0.6595, allocations: 2.68 MB / 435.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/0.6597, allocations: 53.66 kB / 435.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 7.534e-06/0.6597, allocations: 0 / 435.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.007321/0.667, allocations: 1.759 MB / 437 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/0.6673, allocations: 217.8 kB / 437.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01382/0.6812, allocations: 3.665 MB / 440.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003223/0.6816, allocations: 37.7 kB / 440.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004524/0.6861, allocations: 2.686 MB / 443.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.6874, allocations: 392.6 kB / 444 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002851/0.6903, allocations: 0.9575 MB / 444.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6905, allocations: 308.3 kB / 445.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/0.6945, allocations: 1.208 MB / 446.4 MB, free: 492 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009053/0.7036, allocations: 4.525 MB / 451 MB, free: 10.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/0.7177, allocations: 6.296 MB / 457.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003069/0.7181, allocations: 32 kB / 457.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.02351/0.7416, allocations: 5.439 MB / 462.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004078/0.7421, allocations: 59.28 kB / 462.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004706/0.7427, allocations: 121.5 kB / 462.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.7432, allocations: 156 kB / 463.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007531/0.7507, allocations: 1.084 MB / 464.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000398/0.7513, allocations: 231.1 kB / 464.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/0.7614, allocations: 0.6801 MB / 465 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00213/0.7636, allocations: 327.9 kB / 465.4 MB, free: 10.67 MB / 382.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.009478/0.7731, allocations: 1.704 MB / 467.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/0.7751, allocations: 308 kB / 467.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/0.7787, allocations: 499.6 kB / 467.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001662/0.7789, allocations: 17.56 kB / 467.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.189e-05/0.7789, allocations: 7.984 kB / 467.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.779, allocations: 0 / 467.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/0.8013, allocations: 3.152 MB / 471 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.186e-05/0.8015, allocations: 4 kB / 471 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.8027, allocations: 104.8 kB / 471.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.458e-05/0.8028, allocations: 8 kB / 471.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/0.803, allocations: 18.64 kB / 471.2 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.749e-05/0.8031, allocations: 11.88 kB / 471.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.8031, allocations: 4 kB / 471.2 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007745/0.8109, allocations: 2.211 MB / 473.4 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003265/0.8142, allocations: 436.9 kB / 473.8 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/0.8162, allocations: 16.81 kB / 473.8 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/0.819, allocations: 38 kB / 473.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.8194, allocations: 47.88 kB / 473.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8196, allocations: 28 kB / 473.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.01158/0.8312, allocations: 2.337 MB / 476.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.8313, allocations: 0 / 476.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.01095/0.8423, allocations: 0.8161 MB / 477.1 MB, free: 14.79 MB / 398.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.006606/0.849, allocations: 2.844 MB / 479.9 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009508/0.8585, allocations: 2.903 MB / 482.8 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/0.8586, allocations: 0 / 482.8 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.8598, allocations: 441.3 kB / 483.3 MB, free: 8.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005255/0.8651, allocations: 373.8 kB / 483.6 MB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1364/1.002, allocations: 37.08 MB / 0.5085 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009578/1.011, allocations: 2.683 MB / 0.5111 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008512/1.02, allocations: 1.49 MB / 0.5126 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005149/1.025, allocations: 1.476 MB / 0.514 GB, free: 7.332 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/1.025, allocations: 0 / 0.514 GB, free: 7.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/1.534, allocations: 50.69 MB / 0.5635 GB, free: 125.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.84, allocations: 8.844 kB / 0.5635 GB, free: 125.6 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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.002 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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