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.001691/0.001691, allocations: 112.1 kB / 17.07 MB, free: 5.992 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.00176/0.00176, allocations: 197.3 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 51.91 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 49.43 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01076/0.2855, allocations: 9.028 MB / 409.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005804/0.2914, allocations: 2.655 MB / 411.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.2925, allocations: 47.88 kB / 412 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.2963, allocations: 1.822 MB / 413.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.3007, allocations: 1.333 MB / 415.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.3015, allocations: 207.6 kB / 415.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003795/0.3053, allocations: 2.361 MB / 417.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.3081, allocations: 2.128 MB / 419.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.3099, allocations: 1.008 MB / 420.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.3129, allocations: 2.334 MB / 423.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004668/0.3134, allocations: 188 kB / 423.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3144, allocations: 495.3 kB / 423.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.3156, allocations: 1.293 MB / 425.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.3172, allocations: 1.583 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.3227, allocations: 4.873 MB / 431.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3227, allocations: 4 kB / 431.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3227, allocations: 0 / 431.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.3229, allocations: 0 / 431.6 MB, free: 9.309 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.006566/0.3294, allocations: 3.729 MB / 435.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3295, allocations: 8.031 kB / 435.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006839/0.3302, allocations: 0.5463 MB / 435.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.3354, allocations: 1.66 MB / 437.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.3382, allocations: 1.605 MB / 439.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.3383, allocations: 151.8 kB / 439.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/0.3387, allocations: 199.8 kB / 439.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009703/0.3484, allocations: 6.979 MB / 446.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/0.3485, allocations: 27.75 kB / 446.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.3488, allocations: 103.9 kB / 446.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/0.3511, allocations: 1.566 MB / 448.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009932/0.3611, allocations: 5.485 MB / 453.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.3938, allocations: 27.17 MB / 480.8 MB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.3968, allocations: 1.649 MB / 482.5 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.3975, allocations: 0.5017 MB / 483 MB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004195/0.4017, allocations: 2.694 MB / 485.7 MB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.4018, allocations: 46.5 kB / 485.7 MB, free: 1.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.106e-06/0.4018, allocations: 4 kB / 485.7 MB, free: 1.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004068/0.4059, allocations: 1.763 MB / 487.5 MB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.406, allocations: 217.6 kB / 487.7 MB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/0.4113, allocations: 3.678 MB / 491.4 MB, free: 11.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.4114, allocations: 33.7 kB / 491.4 MB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002236/0.4137, allocations: 2.8 MB / 494.2 MB, free: 8.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004233/0.4141, allocations: 413.2 kB / 494.6 MB, free: 8.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.4153, allocations: 0.9568 MB / 495.6 MB, free: 7.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4154, allocations: 301.1 kB / 495.8 MB, free: 6.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.4172, allocations: 1.204 MB / 497 MB, free: 5.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004569/0.4218, allocations: 4.53 MB / 0.4898 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007357/0.4292, allocations: 6.299 MB / 0.496 GB, free: 7.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.263e-05/0.4293, allocations: 32 kB / 0.496 GB, free: 7.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009356/0.4387, allocations: 5.453 MB / 0.5013 GB, free: 2.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.4388, allocations: 56 kB / 0.5014 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.4389, allocations: 127.9 kB / 0.5015 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.4391, allocations: 156 kB / 0.5017 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/0.4421, allocations: 1.084 MB / 0.5027 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002/0.4423, allocations: 231.1 kB / 0.5029 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.4457, allocations: 0.7098 MB / 0.5036 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004395/0.4461, allocations: 312 kB / 0.5039 GB, free: 15.42 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.002584/0.4487, allocations: 1.708 MB / 0.5056 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/0.4492, allocations: 317.9 kB / 0.5059 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008939/0.4501, allocations: 492.1 kB / 0.5064 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-05/0.4502, allocations: 27.98 kB / 0.5064 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4502, allocations: 4 kB / 0.5064 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4502, allocations: 4 kB / 0.5064 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005614/0.4558, allocations: 3.15 MB / 0.5095 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4559, allocations: 4 kB / 0.5095 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.4564, allocations: 107.8 kB / 0.5096 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.4564, allocations: 11.94 kB / 0.5096 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.4565, allocations: 19.98 kB / 0.5096 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.4565, allocations: 7.938 kB / 0.5096 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4565, allocations: 8.281 kB / 0.5096 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.4593, allocations: 2.224 MB / 0.5118 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.4604, allocations: 446.8 kB / 0.5122 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.4607, allocations: 31.88 kB / 0.5123 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.4616, allocations: 28.25 kB / 0.5123 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4617, allocations: 51.81 kB / 0.5123 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.4618, allocations: 31.94 kB / 0.5124 GB, free: 6.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003952/0.4657, allocations: 2.344 MB / 0.5147 GB, free: 4.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4657, allocations: 0 / 0.5147 GB, free: 4.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004076/0.4698, allocations: 0.8184 MB / 0.5155 GB, free: 3.457 MB / 446.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.003136/0.473, allocations: 2.851 MB / 0.5182 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004784/0.4778, allocations: 2.821 MB / 0.521 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4778, allocations: 0 / 0.521 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.4784, allocations: 440.2 kB / 0.5214 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.4807, allocations: 381.1 kB / 0.5218 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2481/0.7288, allocations: 33.26 MB / 0.5543 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.7307, allocations: 2.681 MB / 0.5569 GB, free: 107.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002525/0.7332, allocations: 1.488 MB / 0.5583 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.7345, allocations: 1.471 MB / 0.5598 GB, free: 104.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7345, allocations: 0 / 0.5598 GB, free: 104.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07524/0.8097, allocations: 47.51 MB / 0.6062 GB, free: 57.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/17.52, allocations: 18.91 kB / 0.6062 GB, free: 57.79 MB / 462.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