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.001703/0.001703, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001822/0.001822, allocations: 183.1 kB / 18.66 MB, free: 4.41 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.515/1.515, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001596/0.001596, allocations: 63.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09964, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2192/0.3189, allocations: 9.016 MB / 383.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006802/0.3258, allocations: 2.661 MB / 386.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.328, allocations: 52.28 kB / 386.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004073/0.3321, allocations: 1.828 MB / 388.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.3366, allocations: 1.32 MB / 389.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.3374, allocations: 210.9 kB / 389.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.342, allocations: 2.373 MB / 392.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.3454, allocations: 2.126 MB / 394.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.3477, allocations: 1.014 MB / 395.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.3515, allocations: 2.331 MB / 397.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009509/0.3525, allocations: 187.7 kB / 397.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.3541, allocations: 486.2 kB / 398.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.3556, allocations: 1.292 MB / 399.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.3574, allocations: 1.589 MB / 401.1 MB, free: 1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007311/0.3648, allocations: 4.871 MB / 406 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3648, allocations: 0 / 406 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3648, allocations: 5 kB / 406 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.365, allocations: 0 / 406 MB, free: 13.61 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.009558/0.3746, allocations: 3.731 MB / 409.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3747, allocations: 9.594 kB / 409.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/0.3759, allocations: 0.5364 MB / 410.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005887/0.3818, allocations: 1.673 MB / 412 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004837/0.3866, allocations: 1.594 MB / 413.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.3869, allocations: 150.2 kB / 413.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009445/0.3878, allocations: 197.8 kB / 413.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.4016, allocations: 6.986 MB / 420.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.517e-05/0.4017, allocations: 31.69 kB / 420.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.402, allocations: 103.9 kB / 421 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/0.4047, allocations: 1.555 MB / 422.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.4158, allocations: 5.489 MB / 428.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03634/0.4522, allocations: 27.2 MB / 455.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.4554, allocations: 1.626 MB / 456.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008423/0.4563, allocations: 0.4999 MB / 457.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00481/0.4611, allocations: 2.679 MB / 460.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.4612, allocations: 50.5 kB / 460.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.477e-06/0.4612, allocations: 0 / 460.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004573/0.4657, allocations: 1.772 MB / 461.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.4659, allocations: 217.7 kB / 462.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/0.4725, allocations: 3.678 MB / 465.8 MB, free: 2.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.4727, allocations: 37.7 kB / 465.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/0.4752, allocations: 2.792 MB / 468.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005475/0.4758, allocations: 405.2 kB / 469 MB, free: 15.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.4771, allocations: 0.9607 MB / 470 MB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4772, allocations: 305.1 kB / 470.3 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4792, allocations: 1.215 MB / 471.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/0.4839, allocations: 4.526 MB / 476 MB, free: 6.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008145/0.4921, allocations: 6.293 MB / 482.3 MB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.4923, allocations: 39.94 kB / 482.3 MB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01129/0.5036, allocations: 5.455 MB / 487.8 MB, free: 9.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/0.5037, allocations: 59.94 kB / 487.8 MB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.5039, allocations: 116 kB / 488 MB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.504, allocations: 156.7 kB / 488.1 MB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/0.5076, allocations: 1.084 MB / 489.2 MB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002334/0.5078, allocations: 231.4 kB / 489.4 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/0.5123, allocations: 0.698 MB / 490.1 MB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007203/0.513, allocations: 312 kB / 490.4 MB, free: 6.57 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.003415/0.5164, allocations: 1.735 MB / 492.2 MB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/0.5171, allocations: 317.8 kB / 492.5 MB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009752/0.5181, allocations: 483 kB / 492.9 MB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/0.5182, allocations: 27.98 kB / 493 MB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5182, allocations: 0 / 493 MB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.5182, allocations: 7.984 kB / 493 MB, free: 4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/0.5252, allocations: 3.15 MB / 496.1 MB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.5252, allocations: 8.281 kB / 496.1 MB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.5258, allocations: 111.8 kB / 496.2 MB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.5258, allocations: 4 kB / 496.2 MB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.5259, allocations: 19.94 kB / 496.3 MB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.5259, allocations: 8 kB / 496.3 MB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.5259, allocations: 9.5 kB / 496.3 MB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.5289, allocations: 2.236 MB / 498.5 MB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.53, allocations: 438.7 kB / 498.9 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.5303, allocations: 27.81 kB / 499 MB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.5312, allocations: 35.95 kB / 499 MB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5314, allocations: 55.88 kB / 499.1 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.5314, allocations: 28 kB / 499.1 MB, free: 13.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003965/0.5354, allocations: 2.337 MB / 0.4897 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5354, allocations: 0 / 0.4897 GB, free: 11.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003935/0.5394, allocations: 0.8067 MB / 0.4905 GB, free: 10.6 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.003322/0.5427, allocations: 2.861 MB / 0.4933 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005361/0.5481, allocations: 2.817 MB / 0.496 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.5481, allocations: 0.5625 kB / 0.496 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.5488, allocations: 439.8 kB / 0.4964 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.5515, allocations: 382.2 kB / 0.4968 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05619/0.6077, allocations: 33.25 MB / 0.5293 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003985/0.6117, allocations: 2.683 MB / 0.5319 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003461/0.6152, allocations: 1.49 MB / 0.5333 GB, free: 9.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/0.6175, allocations: 1.464 MB / 0.5348 GB, free: 8.406 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6176, allocations: 0 / 0.5348 GB, free: 8.406 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2905/0.9081, allocations: 47.46 MB / 0.5811 GB, free: 164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/17.84, allocations: 5.219 kB / 0.5811 GB, free: 164 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