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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 55.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01088/0.1208, allocations: 9.06 MB / 426.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.1272, allocations: 2.69 MB / 429.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.1287, allocations: 59.75 kB / 429.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003778/0.1325, allocations: 1.837 MB / 431.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.1364, allocations: 1.358 MB / 432.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.1371, allocations: 207.7 kB / 433 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.1407, allocations: 2.362 MB / 435.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.1432, allocations: 1.786 MB / 437.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.1447, allocations: 1.02 MB / 438.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.1478, allocations: 2.458 MB / 440.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005061/0.1483, allocations: 188 kB / 440.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009999/0.1493, allocations: 0.5071 MB / 441.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.1506, allocations: 1.347 MB / 442.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.1522, allocations: 1.587 MB / 444.3 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.212/0.3642, allocations: 4.878 MB / 449.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3642, allocations: 2.406 kB / 449.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3642, allocations: 0 / 449.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.3644, allocations: 0 / 449.1 MB, free: 13.89 MB / 366.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.007581/0.3719, allocations: 3.731 MB / 452.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.372, allocations: 10.19 kB / 452.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009103/0.3729, allocations: 0.5362 MB / 453.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005848/0.3788, allocations: 1.67 MB / 455.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004239/0.383, allocations: 1.593 MB / 456.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.3831, allocations: 158.5 kB / 456.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005707/0.3837, allocations: 201 kB / 457 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.3954, allocations: 6.978 MB / 464 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.3954, allocations: 28.41 kB / 464 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.3957, allocations: 101.5 kB / 464.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/0.3981, allocations: 1.565 MB / 465.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009929/0.408, allocations: 5.488 MB / 471.2 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.4398, allocations: 27.18 MB / 498.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.4427, allocations: 1.592 MB / 500 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006556/0.4433, allocations: 465.3 kB / 0.4887 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004304/0.4476, allocations: 2.688 MB / 0.4913 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4477, allocations: 49.78 kB / 0.4914 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 2.565e-06/0.4477, allocations: 0 / 0.4914 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004236/0.4519, allocations: 1.779 MB / 0.4931 GB, free: 12.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.452, allocations: 217.6 kB / 0.4933 GB, free: 11.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/0.458, allocations: 3.681 MB / 0.4969 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.4581, allocations: 32.44 kB / 0.4969 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.4604, allocations: 2.797 MB / 0.4997 GB, free: 5.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/0.461, allocations: 404.9 kB / 0.5 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.4623, allocations: 0.9674 MB / 0.501 GB, free: 4.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4624, allocations: 301.1 kB / 0.5013 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.4643, allocations: 1.206 MB / 0.5025 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004848/0.4692, allocations: 4.527 MB / 0.5069 GB, free: 12.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/0.4775, allocations: 6.307 MB / 0.513 GB, free: 4.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.4777, allocations: 32 kB / 0.5131 GB, free: 4.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01121/0.4889, allocations: 5.462 MB / 0.5184 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.489, allocations: 56 kB / 0.5185 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.4891, allocations: 120 kB / 0.5186 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.4893, allocations: 156 kB / 0.5187 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.4926, allocations: 1.084 MB / 0.5198 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001916/0.4928, allocations: 231.1 kB / 0.52 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/0.4963, allocations: 0.7002 MB / 0.5207 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005497/0.4969, allocations: 316 kB / 0.521 GB, free: 13.02 MB / 430.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.002632/0.4995, allocations: 1.715 MB / 0.5227 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005543/0.5001, allocations: 321.8 kB / 0.523 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/0.501, allocations: 495 kB / 0.5234 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/0.501, allocations: 20 kB / 0.5235 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.5011, allocations: 3.984 kB / 0.5235 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.5011, allocations: 4 kB / 0.5235 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.5066, allocations: 3.152 MB / 0.5265 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5066, allocations: 5.422 kB / 0.5265 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.5071, allocations: 104.1 kB / 0.5266 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.5071, allocations: 12 kB / 0.5267 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.5071, allocations: 19.98 kB / 0.5267 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.5071, allocations: 11.94 kB / 0.5267 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5072, allocations: 4 kB / 0.5267 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.5097, allocations: 2.228 MB / 0.5289 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/0.5105, allocations: 438.7 kB / 0.5293 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.5107, allocations: 19.95 kB / 0.5293 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.5116, allocations: 38.48 kB / 0.5293 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5117, allocations: 47.94 kB / 0.5294 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.024e-05/0.5118, allocations: 28 kB / 0.5294 GB, free: 4.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003936/0.5157, allocations: 2.346 MB / 0.5317 GB, free: 1.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5157, allocations: 1.969 kB / 0.5317 GB, free: 1.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003934/0.5196, allocations: 0.8171 MB / 0.5325 GB, free: 1.094 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.00341/0.523, allocations: 2.856 MB / 0.5353 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005292/0.5283, allocations: 2.712 MB / 0.5379 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/0.5283, allocations: 4.062 kB / 0.5379 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.529, allocations: 400.1 kB / 0.5383 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.5315, allocations: 379.9 kB / 0.5387 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05059/0.582, allocations: 33.28 MB / 0.5712 GB, free: 4.766 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/0.585, allocations: 2.687 MB / 0.5738 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003286/0.5883, allocations: 1.49 MB / 0.5753 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/0.5904, allocations: 1.476 MB / 0.5767 GB, free: 15.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5904, allocations: 0 / 0.5767 GB, free: 15.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.693, allocations: 47.81 MB / 0.6234 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/18.3, allocations: 9.016 kB / 0.6234 GB, free: 15.63 MB / 0.5294 GB " [Timeout remaining time 642] (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.0009996 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable prismatic.s in file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.043495974037796]