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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 116.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 56.55 kB / 342.3 MB, free: 9.965 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1014, allocations: 49.13 MB / 391.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01335/0.1148, allocations: 9.068 MB / 400.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006501/0.1213, allocations: 2.671 MB / 403.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.1229, allocations: 55.75 kB / 403.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.1275, allocations: 1.853 MB / 405.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004347/0.1318, allocations: 1.342 MB / 406.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.1326, allocations: 211.6 kB / 406.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.1364, allocations: 2.379 MB / 409 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.1391, allocations: 1.79 MB / 410.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.1411, allocations: 1.02 MB / 411.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/0.145, allocations: 2.458 MB / 414.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005402/0.1455, allocations: 188 kB / 414.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.1466, allocations: 0.4915 MB / 415 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.1481, allocations: 1.347 MB / 416.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.1499, allocations: 1.587 MB / 417.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006053/0.156, allocations: 4.881 MB / 422.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.156, allocations: 0 / 422.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.156, allocations: 0 / 422.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.1561, allocations: 0 / 422.8 MB, free: 9.176 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.007695/0.1638, allocations: 3.745 MB / 426.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1639, allocations: 8.031 kB / 426.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000948/0.1648, allocations: 0.5385 MB / 427.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005714/0.1705, allocations: 1.675 MB / 428.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.1742, allocations: 1.589 MB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.1743, allocations: 147.8 kB / 430.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.1748, allocations: 195.9 kB / 430.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.1862, allocations: 6.99 MB / 437.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.1863, allocations: 27.75 kB / 437.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/0.1866, allocations: 99.86 kB / 437.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/0.1892, allocations: 1.559 MB / 439.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.2005, allocations: 5.497 MB / 444.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2435/0.444, allocations: 27.17 MB / 472 MB, free: 42.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.4469, allocations: 1.581 MB / 473.6 MB, free: 42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.4476, allocations: 481.4 kB / 474.1 MB, free: 41.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004297/0.4519, allocations: 2.684 MB / 476.7 MB, free: 40.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4519, allocations: 44.86 kB / 476.8 MB, free: 40.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.906e-06/0.4519, allocations: 3.312 kB / 476.8 MB, free: 40.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003919/0.4558, allocations: 1.773 MB / 478.6 MB, free: 40.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.4559, allocations: 218.3 kB / 478.8 MB, free: 39.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/0.4613, allocations: 3.678 MB / 482.4 MB, free: 38.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.4614, allocations: 39.55 kB / 482.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4627, allocations: 2.793 MB / 485.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4631, allocations: 406.9 kB / 485.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009223/0.464, allocations: 0.9585 MB / 486.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.464, allocations: 303 kB / 486.9 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4657, allocations: 1.207 MB / 488.1 MB, free: 35.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.4683, allocations: 4.529 MB / 492.7 MB, free: 30.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.4731, allocations: 6.296 MB / 499 MB, free: 24.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.632e-05/0.4732, allocations: 38.91 kB / 499 MB, free: 24.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007455/0.4807, allocations: 5.463 MB / 0.4926 GB, free: 21.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.4807, allocations: 56 kB / 0.4927 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.4808, allocations: 123.9 kB / 0.4928 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.4809, allocations: 156 kB / 0.493 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.4835, allocations: 1.084 MB / 0.494 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001193/0.4837, allocations: 232.5 kB / 0.4942 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.4871, allocations: 0.7058 MB / 0.4949 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/0.4875, allocations: 314.8 kB / 0.4952 GB, free: 19.08 MB / 382.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.002052/0.4896, allocations: 1.708 MB / 0.4969 GB, free: 17.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/0.49, allocations: 317.9 kB / 0.4972 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.4907, allocations: 494.8 kB / 0.4977 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.134e-05/0.4908, allocations: 27.98 kB / 0.4977 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.4908, allocations: 0 / 0.4977 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4908, allocations: 4 kB / 0.4977 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.4955, allocations: 3.154 MB / 0.5008 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4955, allocations: 4 kB / 0.5008 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.496, allocations: 104.1 kB / 0.5009 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.496, allocations: 12 kB / 0.5009 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.496, allocations: 23.66 kB / 0.5009 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.496, allocations: 8 kB / 0.5009 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.496, allocations: 7.938 kB / 0.5009 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.4978, allocations: 2.235 MB / 0.5031 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/0.4985, allocations: 438.7 kB / 0.5035 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.4987, allocations: 19.95 kB / 0.5036 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/0.4995, allocations: 35.91 kB / 0.5036 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4996, allocations: 51.88 kB / 0.5036 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.4997, allocations: 31.44 kB / 0.5037 GB, free: 10.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002866/0.5026, allocations: 2.337 MB / 0.506 GB, free: 7.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5026, allocations: 0 / 0.506 GB, free: 7.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00429/0.5069, allocations: 0.8145 MB / 0.5067 GB, free: 7.152 MB / 382.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.00223/0.5091, allocations: 2.853 MB / 0.5095 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00438/0.5135, allocations: 2.708 MB / 0.5122 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.5135, allocations: 8 kB / 0.5122 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.5139, allocations: 399.8 kB / 0.5126 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.5164, allocations: 375.8 kB / 0.5129 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05292/0.5694, allocations: 33.25 MB / 0.5454 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/0.5726, allocations: 2.683 MB / 0.548 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003439/0.5761, allocations: 1.49 MB / 0.5495 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/0.5782, allocations: 1.468 MB / 0.5509 GB, free: 5.156 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5782, allocations: 4 kB / 0.5509 GB, free: 5.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.6865, allocations: 47.75 MB / 0.5975 GB, free: 5.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/18.34, allocations: 3.938 kB / 0.5976 GB, free: 5.34 MB / 478.1 MB " [Timeout remaining time 642] (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.0009996 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable prismatic.s in file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.959592805986176]