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.00163/0.00163, allocations: 122.8 kB / 17.78 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.002034/0.002034, allocations: 198 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.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 50.54 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009425/0.326, allocations: 9.004 MB / 417.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.3315, allocations: 2.714 MB / 420.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.3328, allocations: 51.88 kB / 420.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003668/0.3365, allocations: 1.834 MB / 422.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.3407, allocations: 1.346 MB / 423.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008695/0.3416, allocations: 223.6 kB / 423.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003915/0.3456, allocations: 2.328 MB / 426.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/0.3487, allocations: 2.12 MB / 428.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.3507, allocations: 0.9885 MB / 429.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.3539, allocations: 2.455 MB / 431.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006519/0.3546, allocations: 188 kB / 432 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.356, allocations: 0.5033 MB / 432.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.3575, allocations: 1.301 MB / 433.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.3599, allocations: 1.575 MB / 435.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005842/0.3658, allocations: 4.842 MB / 440.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3658, allocations: 4 kB / 440.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3658, allocations: 4 kB / 440.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.366, allocations: 0 / 440.2 MB, free: 1.852 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.008734/0.3748, allocations: 3.721 MB / 444 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3748, allocations: 8.031 kB / 444 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001407/0.3763, allocations: 0.5424 MB / 444.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006402/0.3827, allocations: 1.714 MB / 446.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.3866, allocations: 1.593 MB / 447.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.3867, allocations: 151.8 kB / 448 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007136/0.3875, allocations: 199.9 kB / 448.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.4004, allocations: 6.982 MB / 455.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.4005, allocations: 31.69 kB / 455.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006772/0.4012, allocations: 103.9 kB / 455.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.4036, allocations: 1.551 MB / 456.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.4137, allocations: 5.497 MB / 462.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03406/0.4478, allocations: 27.18 MB / 489.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.4508, allocations: 1.636 MB / 491.1 MB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.4516, allocations: 0.5019 MB / 491.6 MB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004748/0.4564, allocations: 2.702 MB / 494.3 MB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4565, allocations: 50.5 kB / 494.4 MB, free: 9.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.647e-06/0.4565, allocations: 0 / 494.4 MB, free: 9.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004132/0.4606, allocations: 1.772 MB / 496.2 MB, free: 7.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.4608, allocations: 213.6 kB / 496.4 MB, free: 7.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007599/0.4684, allocations: 3.674 MB / 0.4883 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.4686, allocations: 37.7 kB / 0.4884 GB, free: 4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.4711, allocations: 2.785 MB / 0.4911 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000601/0.4717, allocations: 409.3 kB / 0.4915 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.4735, allocations: 0.9724 MB / 0.4924 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.4736, allocations: 301.7 kB / 0.4927 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.4756, allocations: 1.204 MB / 0.4939 GB, free: 14.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004042/0.4796, allocations: 4.53 MB / 0.4983 GB, free: 8.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006322/0.486, allocations: 6.287 MB / 0.5044 GB, free: 104 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/0.4861, allocations: 32 kB / 0.5045 GB, free: 72 kB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009605/0.4957, allocations: 5.452 MB / 0.5098 GB, free: 10.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.4959, allocations: 56.22 kB / 0.5099 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.4961, allocations: 124 kB / 0.51 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.4963, allocations: 156 kB / 0.5101 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/0.4999, allocations: 1.084 MB / 0.5112 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002907/0.5002, allocations: 239.1 kB / 0.5114 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/0.505, allocations: 0.7057 MB / 0.5121 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007176/0.5057, allocations: 315.9 kB / 0.5124 GB, free: 7.949 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.002954/0.5087, allocations: 1.716 MB / 0.5141 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.5093, allocations: 317.8 kB / 0.5144 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.5104, allocations: 498.4 kB / 0.5149 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.313e-05/0.5105, allocations: 16 kB / 0.5149 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.5105, allocations: 8 kB / 0.5149 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5105, allocations: 7.922 kB / 0.5149 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007228/0.5177, allocations: 3.15 MB / 0.518 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.5178, allocations: 4 kB / 0.518 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.5183, allocations: 103.9 kB / 0.5181 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.5183, allocations: 11.88 kB / 0.5181 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.5184, allocations: 16 kB / 0.5181 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.5184, allocations: 4 kB / 0.5181 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5184, allocations: 7.984 kB / 0.5181 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.5209, allocations: 2.228 MB / 0.5203 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/0.5219, allocations: 450.6 kB / 0.5207 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.5223, allocations: 31.97 kB / 0.5207 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5233, allocations: 27.97 kB / 0.5208 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5235, allocations: 51.83 kB / 0.5208 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.5235, allocations: 31.98 kB / 0.5208 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003221/0.5267, allocations: 2.337 MB / 0.5231 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5268, allocations: 0 / 0.5231 GB, free: 12.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003809/0.5306, allocations: 0.7989 MB / 0.5239 GB, free: 12 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.002819/0.5334, allocations: 2.853 MB / 0.5267 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004292/0.5377, allocations: 2.812 MB / 0.5294 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5377, allocations: 1.688 kB / 0.5294 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00056/0.5383, allocations: 440.9 kB / 0.5299 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.5406, allocations: 387.9 kB / 0.5302 GB, free: 5.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2665/0.8071, allocations: 33.25 MB / 0.5627 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.8092, allocations: 2.681 MB / 0.5653 GB, free: 100.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002706/0.8119, allocations: 1.491 MB / 0.5668 GB, free: 99.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/0.8132, allocations: 1.464 MB / 0.5682 GB, free: 97.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.643e-06/0.8132, allocations: 0 / 0.5682 GB, free: 97.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/0.8865, allocations: 47.46 MB / 0.6146 GB, free: 50.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.68, allocations: 11.86 kB / 0.6146 GB, free: 50.76 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.0.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