Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001276/0.001276, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3208, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01127/0.3321, allocations: 8.998 MB / 417.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006162/0.3383, allocations: 2.716 MB / 420.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.3397, allocations: 47.88 kB / 420.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.3436, allocations: 1.841 MB / 422.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.3472, allocations: 1.318 MB / 423.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.3478, allocations: 219.6 kB / 423.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003457/0.3513, allocations: 2.336 MB / 426.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.354, allocations: 2.101 MB / 428.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.3558, allocations: 1.016 MB / 429.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/0.3591, allocations: 2.447 MB / 431.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.3597, allocations: 188 kB / 432 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3608, allocations: 0.4915 MB / 432.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.3621, allocations: 1.278 MB / 433.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.3637, allocations: 1.575 MB / 435.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.3698, allocations: 4.838 MB / 440.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3698, allocations: 4 kB / 440.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3698, allocations: 0 / 440.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001089/0.3699, allocations: 0 / 440.2 MB, free: 1.957 MB / 350.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.007267/0.3772, allocations: 3.714 MB / 443.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.3773, allocations: 19.91 kB / 443.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007808/0.3781, allocations: 0.5346 MB / 444.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.384, allocations: 1.722 MB / 446.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.388, allocations: 1.589 MB / 447.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3882, allocations: 155.8 kB / 447.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004809/0.3886, allocations: 199.9 kB / 448.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.4005, allocations: 6.986 MB / 455.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.235e-05/0.4007, allocations: 27.75 kB / 455.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.401, allocations: 99.89 kB / 455.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002356/0.4033, allocations: 1.559 MB / 456.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.4135, allocations: 5.493 MB / 462.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/0.446, allocations: 27.19 MB / 489.5 MB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.449, allocations: 1.626 MB / 491.1 MB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.4498, allocations: 0.4941 MB / 491.6 MB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004539/0.4544, allocations: 2.694 MB / 494.3 MB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.4544, allocations: 50.5 kB / 494.3 MB, free: 9.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.4544, allocations: 0 / 494.3 MB, free: 9.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004265/0.4587, allocations: 1.783 MB / 496.1 MB, free: 8.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.4589, allocations: 213.8 kB / 496.3 MB, free: 7.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006082/0.465, allocations: 3.677 MB / 500 MB, free: 4.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.4651, allocations: 37.7 kB / 0.4883 GB, free: 4.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.4676, allocations: 2.788 MB / 0.491 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.4681, allocations: 405.1 kB / 0.4914 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.4694, allocations: 0.9646 MB / 0.4924 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4695, allocations: 305.7 kB / 0.4927 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.4714, allocations: 1.208 MB / 0.4938 GB, free: 14.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/0.4758, allocations: 4.53 MB / 0.4983 GB, free: 8.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007155/0.483, allocations: 6.289 MB / 0.5044 GB, free: 204 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-05/0.4831, allocations: 36 kB / 0.5044 GB, free: 168 kB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009503/0.4926, allocations: 5.45 MB / 0.5098 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/0.4927, allocations: 56 kB / 0.5098 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.4929, allocations: 120 kB / 0.5099 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.493, allocations: 152.8 kB / 0.5101 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.4961, allocations: 1.088 MB / 0.5111 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001799/0.4963, allocations: 235.1 kB / 0.5114 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.4994, allocations: 0.6941 MB / 0.512 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/0.4998, allocations: 323.9 kB / 0.5123 GB, free: 8.051 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.002907/0.5028, allocations: 1.719 MB / 0.514 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/0.5034, allocations: 313.8 kB / 0.5143 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.5044, allocations: 498.5 kB / 0.5148 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/0.5045, allocations: 16 kB / 0.5148 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.5045, allocations: 4 kB / 0.5148 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5045, allocations: 11.86 kB / 0.5148 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005553/0.5101, allocations: 3.154 MB / 0.5179 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.5101, allocations: 8.062 kB / 0.5179 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.5106, allocations: 103.9 kB / 0.518 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.5107, allocations: 7.938 kB / 0.518 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.5107, allocations: 12 kB / 0.518 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.5107, allocations: 11.94 kB / 0.518 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5107, allocations: 4 kB / 0.518 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.5133, allocations: 2.228 MB / 0.5202 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/0.5142, allocations: 442.7 kB / 0.5206 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.5144, allocations: 19.88 kB / 0.5207 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.5153, allocations: 39.89 kB / 0.5207 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.5154, allocations: 47.95 kB / 0.5207 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.5155, allocations: 35.91 kB / 0.5208 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003677/0.5192, allocations: 2.333 MB / 0.5231 GB, free: 12.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5192, allocations: 0 / 0.5231 GB, free: 12.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004244/0.5234, allocations: 0.8028 MB / 0.5238 GB, free: 12.11 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.003103/0.5265, allocations: 2.856 MB / 0.5266 GB, free: 9.199 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.5312, allocations: 2.805 MB / 0.5294 GB, free: 6.418 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.5313, allocations: 4 kB / 0.5294 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.5319, allocations: 436.3 kB / 0.5298 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.5341, allocations: 397.4 kB / 0.5302 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2746/0.8087, allocations: 33.25 MB / 0.5626 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.8108, allocations: 2.678 MB / 0.5653 GB, free: 98.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00278/0.8136, allocations: 1.494 MB / 0.5667 GB, free: 97.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/0.815, allocations: 1.464 MB / 0.5681 GB, free: 96.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.815, allocations: 0 / 0.5681 GB, free: 96.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08302/0.898, allocations: 47.45 MB / 0.6145 GB, free: 48.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/19.61, allocations: 11.19 kB / 0.6145 GB, free: 48.9 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches