Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_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.001962/0.001962, allocations: 96.78 kB / 17.58 MB, free: 5.418 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.002503/0.002503, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.322/2.322, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 47.92 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1536, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01685/0.1706, allocations: 9.038 MB / 336.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008305/0.1789, allocations: 2.656 MB / 339.1 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.181, allocations: 47.88 kB / 339.1 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.1866, allocations: 1.818 MB / 340.9 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.192, allocations: 1.315 MB / 342.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1932, allocations: 215.6 kB / 342.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005147/0.1984, allocations: 2.367 MB / 344.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.203, allocations: 2.133 MB / 347 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.2056, allocations: 1.012 MB / 348 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004724/0.2104, allocations: 2.33 MB / 350.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.2116, allocations: 188 kB / 350.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.2136, allocations: 487.4 kB / 351 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.2159, allocations: 1.289 MB / 352.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.2188, allocations: 1.587 MB / 353.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008109/0.227, allocations: 4.629 MB / 358.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.227, allocations: 0 / 358.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.2271, allocations: 0 / 358.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002376/0.2273, allocations: 0 / 358.5 MB, free: 5.117 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.01498/0.2423, allocations: 3.622 MB / 362.1 MB, free: 1.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.2424, allocations: 12.03 kB / 362.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001991/0.2444, allocations: 0.5346 MB / 362.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009202/0.2536, allocations: 1.653 MB / 364.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/0.2591, allocations: 1.565 MB / 365.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.2594, allocations: 147.8 kB / 366 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008285/0.2603, allocations: 199.8 kB / 366.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.2774, allocations: 6.982 MB / 373.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.2776, allocations: 31.73 kB / 373.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/0.2781, allocations: 99.88 kB / 373.3 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/0.2818, allocations: 1.555 MB / 374.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2574/0.5392, allocations: 5.487 MB / 380.4 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.584, allocations: 27.22 MB / 407.6 MB, free: 27.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/0.5882, allocations: 1.643 MB / 409.2 MB, free: 26.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.5895, allocations: 0.4954 MB / 409.7 MB, free: 26.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00678/0.5963, allocations: 2.673 MB / 412.4 MB, free: 24.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5963, allocations: 46.41 kB / 412.4 MB, free: 24.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=89): time 5.401e-06/0.5964, allocations: 0 / 412.4 MB, free: 24.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=89): time 0.007366/0.6037, allocations: 1.766 MB / 414.2 MB, free: 23.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.6039, allocations: 221.5 kB / 414.4 MB, free: 23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008322/0.6122, allocations: 3.67 MB / 418.1 MB, free: 21.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.6124, allocations: 33.64 kB / 418.1 MB, free: 21.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.6145, allocations: 2.688 MB / 420.8 MB, free: 18.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.6151, allocations: 386.5 kB / 421.2 MB, free: 18.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/0.6168, allocations: 0.9598 MB / 422.1 MB, free: 17.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.6169, allocations: 305.1 kB / 422.4 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.62, allocations: 1.212 MB / 423.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/0.6247, allocations: 4.526 MB / 428.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.6351, allocations: 6.291 MB / 434.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001852/0.6353, allocations: 36 kB / 434.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.02183/0.6572, allocations: 5.431 MB / 439.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.6575, allocations: 60 kB / 440 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003592/0.6579, allocations: 116 kB / 440.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.6583, allocations: 156.8 kB / 440.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006718/0.665, allocations: 1.084 MB / 441.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005144/0.6656, allocations: 239.1 kB / 441.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008262/0.6738, allocations: 0.6764 MB / 442.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/0.6755, allocations: 319.7 kB / 442.6 MB, free: 9.566 MB / 334.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.007395/0.6829, allocations: 1.712 MB / 444.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.6841, allocations: 300 kB / 444.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.6861, allocations: 0.4931 MB / 445.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/0.6862, allocations: 20 kB / 445.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.6862, allocations: 3.625 kB / 445.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/0.6863, allocations: 15.92 kB / 445.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.6974, allocations: 3.149 MB / 448.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.6975, allocations: 4 kB / 448.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.6984, allocations: 103.8 kB / 448.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.6984, allocations: 8 kB / 448.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/0.6985, allocations: 12.05 kB / 448.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-05/0.6986, allocations: 11.98 kB / 448.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/0.6986, allocations: 8.922 kB / 448.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.7037, allocations: 2.225 MB / 450.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/0.7054, allocations: 421 kB / 451 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/0.706, allocations: 31.77 kB / 451.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.7076, allocations: 32.03 kB / 451.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.7078, allocations: 47.83 kB / 451.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.708, allocations: 38.41 kB / 451.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.006843/0.7148, allocations: 2.333 MB / 453.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.7149, allocations: 4 kB / 453.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.008102/0.723, allocations: 0.8009 MB / 454.3 MB, free: 13.68 MB / 350.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.004798/0.7278, allocations: 2.841 MB / 457.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.008194/0.7361, allocations: 2.902 MB / 460.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/0.7361, allocations: 0 / 460.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.7372, allocations: 437.6 kB / 460.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/0.7418, allocations: 379.7 kB / 460.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09127/0.833, allocations: 37.04 MB / 497.9 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006872/0.84, allocations: 2.683 MB / 0.4889 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007721/0.8478, allocations: 1.49 MB / 0.4903 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00429/0.8521, allocations: 1.468 MB / 0.4917 GB, free: 6.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.164e-06/0.8522, allocations: 0 / 0.4917 GB, free: 6.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4132/1.265, allocations: 50.64 MB / 0.5412 GB, free: 148.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.01, allocations: 8.125 kB / 0.5412 GB, free: 148.4 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches