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.001054/0.001054, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.00131/0.00131, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001349/0.001349, allocations: 51.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.09013, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1918/0.2819, allocations: 9.013 MB / 383.7 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.2879, allocations: 2.667 MB / 386.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.2894, allocations: 53.5 kB / 386.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.293, allocations: 1.825 MB / 388.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.2969, allocations: 1.344 MB / 389.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.2976, allocations: 214.8 kB / 389.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.3013, allocations: 2.365 MB / 392.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.3042, allocations: 2.132 MB / 394.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.3064, allocations: 1 MB / 395.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.3103, allocations: 2.336 MB / 397.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.3112, allocations: 189.3 kB / 397.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3127, allocations: 490.3 kB / 398.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.3144, allocations: 1.322 MB / 399.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.3165, allocations: 1.592 MB / 401.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.3232, allocations: 4.872 MB / 406.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3232, allocations: 4 kB / 406.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3233, allocations: 1.219 kB / 406.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002183/0.3235, allocations: 0 / 406.1 MB, free: 13.54 MB / 334.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.009343/0.3328, allocations: 3.733 MB / 409.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3329, allocations: 9.156 kB / 409.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/0.3341, allocations: 0.5432 MB / 410.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/0.3397, allocations: 1.669 MB / 412 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.3439, allocations: 1.6 MB / 413.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.344, allocations: 146.8 kB / 413.8 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007057/0.3447, allocations: 197.7 kB / 414 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3554, allocations: 6.981 MB / 420.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/0.3555, allocations: 27.75 kB / 421 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.3558, allocations: 107.9 kB / 421.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002194/0.358, allocations: 1.555 MB / 422.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009782/0.3677, allocations: 5.494 MB / 428.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03211/0.3999, allocations: 27.19 MB / 455.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.4027, allocations: 1.63 MB / 456.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.4034, allocations: 0.4945 MB / 457.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004177/0.4076, allocations: 2.694 MB / 460.1 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4077, allocations: 42.56 kB / 460.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.356e-06/0.4077, allocations: 0 / 460.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.0038/0.4115, allocations: 1.778 MB / 461.9 MB, free: 6.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.4116, allocations: 221.7 kB / 462.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/0.4168, allocations: 3.674 MB / 465.8 MB, free: 2.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.417, allocations: 37.7 kB / 465.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.4189, allocations: 2.789 MB / 468.7 MB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.4193, allocations: 409.1 kB / 469.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.4204, allocations: 0.9646 MB / 470 MB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.4205, allocations: 309.1 kB / 470.3 MB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.4222, allocations: 1.208 MB / 471.5 MB, free: 12.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/0.426, allocations: 4.522 MB / 476.1 MB, free: 6.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006474/0.4325, allocations: 6.297 MB / 482.4 MB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.036e-05/0.4326, allocations: 36 kB / 482.4 MB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009494/0.4421, allocations: 5.455 MB / 487.8 MB, free: 9.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.4422, allocations: 56.97 kB / 487.9 MB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.4424, allocations: 123.9 kB / 488 MB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.4425, allocations: 152 kB / 488.2 MB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.4456, allocations: 1.092 MB / 489.3 MB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001578/0.4458, allocations: 231.1 kB / 489.5 MB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/0.4494, allocations: 0.6941 MB / 490.2 MB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005287/0.4499, allocations: 323.9 kB / 490.5 MB, free: 6.465 MB / 414.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.002616/0.4526, allocations: 1.715 MB / 492.2 MB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/0.4532, allocations: 313.8 kB / 492.5 MB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008716/0.4541, allocations: 491 kB / 493 MB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/0.4541, allocations: 20 kB / 493 MB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4541, allocations: 4 kB / 493 MB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4542, allocations: 3.984 kB / 493 MB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.4597, allocations: 3.162 MB / 496.2 MB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.4598, allocations: 4 kB / 496.2 MB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.4603, allocations: 107.8 kB / 496.3 MB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.4603, allocations: 7.938 kB / 496.3 MB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.4603, allocations: 23.94 kB / 496.3 MB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.4603, allocations: 7.984 kB / 496.3 MB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4603, allocations: 7.938 kB / 496.3 MB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.4626, allocations: 2.232 MB / 498.6 MB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009514/0.4636, allocations: 434.7 kB / 499 MB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.4639, allocations: 31.84 kB / 499 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.4648, allocations: 36.03 kB / 499.1 MB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4649, allocations: 47.83 kB / 499.1 MB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.465, allocations: 31.98 kB / 499.1 MB, free: 13.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003417/0.4684, allocations: 2.333 MB / 0.4897 GB, free: 11.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4684, allocations: 0 / 0.4897 GB, free: 11.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004093/0.4725, allocations: 0.8107 MB / 0.4905 GB, free: 10.51 MB / 430.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.002806/0.4754, allocations: 2.857 MB / 0.4933 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004569/0.48, allocations: 2.816 MB / 0.4961 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.48, allocations: 0 / 0.4961 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.4806, allocations: 448.9 kB / 0.4965 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.4831, allocations: 383.2 kB / 0.4968 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/0.5283, allocations: 33.24 MB / 0.5293 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/0.5314, allocations: 2.683 MB / 0.5319 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003113/0.5345, allocations: 1.49 MB / 0.5334 GB, free: 9.789 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/0.5365, allocations: 1.472 MB / 0.5348 GB, free: 8.316 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5365, allocations: 0 / 0.5348 GB, free: 8.316 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2639/0.8004, allocations: 47.45 MB / 0.5812 GB, free: 163.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/17.41, allocations: 12.75 kB / 0.5812 GB, free: 163.9 MB / 494.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