Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009131/0.0009131, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001329/0.001329, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8976/0.8976, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.049e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006476/0.006496, allocations: 7.975 MB / 332.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.01061, allocations: 2.605 MB / 335.2 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.01117, allocations: 55.75 kB / 335.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.01311, allocations: 1.868 MB / 337.1 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.01487, allocations: 1.415 MB / 338.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.01519, allocations: 223.6 kB / 338.7 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.01747, allocations: 3.438 MB / 342.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.0188, allocations: 2.054 MB / 344.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.01989, allocations: 1.531 MB / 345.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.02137, allocations: 1.804 MB / 347.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.02154, allocations: 188 kB / 347.7 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.02205, allocations: 467.3 kB / 348.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006796/0.02273, allocations: 1.383 MB / 349.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.02325, allocations: 0.8094 MB / 350.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.02615, allocations: 4.714 MB / 355.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02616, allocations: 0 / 355.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.02616, allocations: 0 / 355.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.399e-05/0.0262, allocations: 0 / 355.1 MB, free: 1.266 MB / 314.7 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.003569/0.02977, allocations: 3.599 MB / 358.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.02981, allocations: 12.03 kB / 358.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000385/0.03019, allocations: 0.5385 MB / 359.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.03312, allocations: 1.734 MB / 361 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.03484, allocations: 1.544 MB / 362.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.03491, allocations: 147.8 kB / 362.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.03513, allocations: 199.9 kB / 362.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005308/0.04044, allocations: 6.982 MB / 369.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.04048, allocations: 35.69 kB / 369.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.04065, allocations: 103.9 kB / 370 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.04188, allocations: 1.559 MB / 371.5 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005689/0.04757, allocations: 5.493 MB / 377 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.0656, allocations: 26.11 MB / 403.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.06714, allocations: 1.17 MB / 404.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.0677, allocations: 466.8 kB / 404.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002054/0.06975, allocations: 2.071 MB / 406.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.06978, allocations: 50.48 kB / 406.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.06978, allocations: 0 / 406.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002206/0.07199, allocations: 1.835 MB / 408.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.07205, allocations: 217.6 kB / 408.9 MB, free: 9.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.07513, allocations: 3.874 MB / 412.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.07517, allocations: 37.69 kB / 412.8 MB, free: 5.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.07631, allocations: 2.761 MB / 415.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.0765, allocations: 401.2 kB / 416 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006759/0.07717, allocations: 0.9451 MB / 416.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.07724, allocations: 301.1 kB / 417.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.07832, allocations: 1.208 MB / 418.4 MB, free: 124 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.08086, allocations: 4.53 MB / 423 MB, free: 9.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.08503, allocations: 6.297 MB / 429.3 MB, free: 1.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-05/0.08507, allocations: 32 kB / 429.3 MB, free: 1.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005168/0.09023, allocations: 5.457 MB / 434.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.09029, allocations: 56 kB / 434.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-05/0.09037, allocations: 124 kB / 434.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-05/0.09046, allocations: 156.8 kB / 435.1 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.09204, allocations: 1.08 MB / 436.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001106/0.09215, allocations: 239.1 kB / 436.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.09387, allocations: 0.698 MB / 437.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.0941, allocations: 312 kB / 437.4 MB, free: 9.777 MB / 410.7 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.001914/0.09601, allocations: 1.719 MB / 439.1 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.09624, allocations: 321.8 kB / 439.4 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.09672, allocations: 498.1 kB / 439.9 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.09675, allocations: 20 kB / 439.9 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.09675, allocations: 0 / 439.9 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.09676, allocations: 7.984 kB / 440 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.09988, allocations: 3.036 MB / 443 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.09989, allocations: 4 kB / 443 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.1001, allocations: 108.1 kB / 443.1 MB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1001, allocations: 8 kB / 443.1 MB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.1002, allocations: 16 kB / 443.1 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.1002, allocations: 11.88 kB / 443.1 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1002, allocations: 7.938 kB / 443.1 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.1018, allocations: 2.228 MB / 445.4 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.1022, allocations: 357.6 kB / 445.7 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1023, allocations: 23.95 kB / 445.7 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.1028, allocations: 39.89 kB / 445.8 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.1029, allocations: 43.88 kB / 445.8 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.1029, allocations: 39.97 kB / 445.9 MB, free: 1.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1558/0.2587, allocations: 2.332 MB / 448.2 MB, free: 110.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2587, allocations: 0 / 448.2 MB, free: 110.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002631/0.2614, allocations: 0.8 MB / 449 MB, free: 110.4 MB / 410.7 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.001677/0.263, allocations: 2.847 MB / 451.8 MB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.2654, allocations: 2.705 MB / 454.5 MB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2654, allocations: 0 / 454.5 MB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.2656, allocations: 408.8 kB / 454.9 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.2668, allocations: 386 kB / 455.3 MB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.288, allocations: 32.96 MB / 488.3 MB, free: 74.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.2893, allocations: 2.131 MB / 490.4 MB, free: 72.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001643/0.291, allocations: 1.494 MB / 491.9 MB, free: 71.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/0.2918, allocations: 1.465 MB / 493.4 MB, free: 69.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2918, allocations: 0 / 493.4 MB, free: 69.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.3375, allocations: 47.49 MB / 0.5282 GB, free: 22.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.417/9.755, allocations: 4.062 kB / 0.5282 GB, free: 22.96 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.639626264572144]