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.001521/0.001521, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001787/0.001787, allocations: 195 kB / 18 MB, free: 4.965 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 44.02 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.262, allocations: 49.45 MB / 400.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009962/0.272, allocations: 9.017 MB / 409.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005601/0.2776, allocations: 2.666 MB / 411.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.2789, allocations: 47.88 kB / 412 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.2823, allocations: 1.822 MB / 413.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.2853, allocations: 1.354 MB / 415.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.2858, allocations: 203.7 kB / 415.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.2888, allocations: 2.371 MB / 417.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.2913, allocations: 2.121 MB / 419.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.2928, allocations: 1 MB / 420.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.2957, allocations: 2.337 MB / 423.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.2962, allocations: 188 kB / 423.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009934/0.2972, allocations: 499.3 kB / 423.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.2984, allocations: 1.317 MB / 425.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.2998, allocations: 1.595 MB / 426.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.3044, allocations: 4.869 MB / 431.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3044, allocations: 0 / 431.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3045, allocations: 0 / 431.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.973e-05/0.3046, allocations: 7.938 kB / 431.6 MB, free: 9.398 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.006/0.3106, allocations: 3.733 MB / 435.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3106, allocations: 12.03 kB / 435.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006005/0.3112, allocations: 0.5384 MB / 435.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005034/0.3163, allocations: 1.671 MB / 437.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.3194, allocations: 1.593 MB / 439.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3195, allocations: 147.8 kB / 439.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.3198, allocations: 203.8 kB / 439.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/0.329, allocations: 6.986 MB / 446.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.298e-05/0.3291, allocations: 27.75 kB / 446.5 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.3294, allocations: 99.88 kB / 446.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/0.3315, allocations: 1.555 MB / 448.2 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008712/0.3403, allocations: 5.489 MB / 453.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03007/0.3704, allocations: 27.18 MB / 480.9 MB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.3732, allocations: 1.641 MB / 482.5 MB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.374, allocations: 0.5017 MB / 483 MB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004634/0.3786, allocations: 2.694 MB / 485.7 MB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.3787, allocations: 42.5 kB / 485.8 MB, free: 1.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.3787, allocations: 0 / 485.8 MB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003963/0.3827, allocations: 1.778 MB / 487.5 MB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.3828, allocations: 217.6 kB / 487.7 MB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00651/0.3893, allocations: 3.678 MB / 491.4 MB, free: 11.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.3895, allocations: 33.7 kB / 491.5 MB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.3917, allocations: 2.788 MB / 494.2 MB, free: 8.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/0.3922, allocations: 413.3 kB / 494.6 MB, free: 8.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.3937, allocations: 0.9685 MB / 495.6 MB, free: 7.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3938, allocations: 301.1 kB / 495.9 MB, free: 7.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.3957, allocations: 1.204 MB / 497.1 MB, free: 5.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.3999, allocations: 4.526 MB / 0.4899 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/0.4069, allocations: 6.302 MB / 0.496 GB, free: 7.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.407, allocations: 35.94 kB / 0.4961 GB, free: 7.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009454/0.4165, allocations: 5.448 MB / 0.5014 GB, free: 2.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.4167, allocations: 60.03 kB / 0.5014 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/0.4169, allocations: 120 kB / 0.5016 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.4171, allocations: 156 kB / 0.5017 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.4201, allocations: 1.084 MB / 0.5028 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002029/0.4203, allocations: 231.1 kB / 0.503 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/0.4237, allocations: 0.702 MB / 0.5037 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000502/0.4242, allocations: 320 kB / 0.504 GB, free: 15.51 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.00277/0.427, allocations: 1.712 MB / 0.5056 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/0.4277, allocations: 313.9 kB / 0.5059 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.4288, allocations: 498.2 kB / 0.5064 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.917e-05/0.4288, allocations: 20 kB / 0.5064 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4288, allocations: 4 kB / 0.5064 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.4289, allocations: 7.984 kB / 0.5065 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007144/0.436, allocations: 3.154 MB / 0.5095 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4361, allocations: 4 kB / 0.5095 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.4366, allocations: 107.8 kB / 0.5096 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.4366, allocations: 8 kB / 0.5096 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.4367, allocations: 19.98 kB / 0.5097 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.4367, allocations: 7.938 kB / 0.5097 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4367, allocations: 8 kB / 0.5097 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.4393, allocations: 2.226 MB / 0.5119 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.4404, allocations: 450.7 kB / 0.5123 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004954/0.4409, allocations: 27.83 kB / 0.5123 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.442, allocations: 35.95 kB / 0.5123 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4421, allocations: 47.81 kB / 0.5124 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.4421, allocations: 28 kB / 0.5124 GB, free: 6.695 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004347/0.4465, allocations: 2.341 MB / 0.5147 GB, free: 4.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4465, allocations: 0 / 0.5147 GB, free: 4.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004378/0.4509, allocations: 0.8145 MB / 0.5155 GB, free: 3.555 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.00341/0.4543, allocations: 2.853 MB / 0.5183 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004531/0.4589, allocations: 2.819 MB / 0.521 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.4589, allocations: 1.812 kB / 0.521 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.4595, allocations: 440.1 kB / 0.5215 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.462, allocations: 380.7 kB / 0.5218 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2444/0.7064, allocations: 33.27 MB / 0.5543 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.7084, allocations: 2.685 MB / 0.5569 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002595/0.7111, allocations: 1.49 MB / 0.5584 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/0.7124, allocations: 1.468 MB / 0.5598 GB, free: 105.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.844e-06/0.7124, allocations: 0 / 0.5598 GB, free: 105.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/0.7889, allocations: 47.51 MB / 0.6062 GB, free: 57.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.55, allocations: 11.98 kB / 0.6062 GB, free: 57.95 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