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.001417/0.001417, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001858/0.001858, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002096/0.002096, allocations: 55.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 53.32 MB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2399/0.3587, allocations: 9.033 MB / 435.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.3652, allocations: 2.734 MB / 438.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.3668, allocations: 57.59 kB / 438.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004683/0.3715, allocations: 1.855 MB / 440 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.3773, allocations: 1.348 MB / 441.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.3781, allocations: 216.2 kB / 441.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005211/0.3833, allocations: 2.339 MB / 443.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/0.3859, allocations: 1.787 MB / 445.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.3888, allocations: 1.009 MB / 446.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005192/0.394, allocations: 2.577 MB / 449.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.3951, allocations: 188.3 kB / 449.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.3974, allocations: 0.5114 MB / 450 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.399, allocations: 1.345 MB / 451.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.4016, allocations: 1.574 MB / 452.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008367/0.41, allocations: 4.846 MB / 457.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.051e-05/0.41, allocations: 7.938 kB / 457.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.41, allocations: 0 / 457.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002585/0.4103, allocations: 4 kB / 457.8 MB, free: 12.21 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.01118/0.4215, allocations: 3.715 MB / 461.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4215, allocations: 9.625 kB / 461.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001654/0.4232, allocations: 0.5343 MB / 462 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007125/0.4303, allocations: 1.727 MB / 463.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005466/0.4357, allocations: 1.583 MB / 465.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.4359, allocations: 159 kB / 465.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/0.4365, allocations: 197.4 kB / 465.7 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.4493, allocations: 6.987 MB / 472.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.846e-05/0.4494, allocations: 35.7 kB / 472.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.4498, allocations: 99.89 kB / 472.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.4524, allocations: 1.555 MB / 474.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.4634, allocations: 5.495 MB / 479.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03843/0.5018, allocations: 27.18 MB / 0.4951 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.5052, allocations: 1.579 MB / 0.4967 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009085/0.5061, allocations: 469.9 kB / 0.4971 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005511/0.5116, allocations: 2.694 MB / 0.4998 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.5117, allocations: 50.48 kB / 0.4998 GB, free: 9.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.366e-06/0.5117, allocations: 3.938 kB / 0.4998 GB, free: 9.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004447/0.5161, allocations: 1.776 MB / 0.5015 GB, free: 7.508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.5162, allocations: 213.6 kB / 0.5017 GB, free: 7.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007523/0.5238, allocations: 3.677 MB / 0.5053 GB, free: 3.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.5239, allocations: 37.7 kB / 0.5054 GB, free: 3.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002857/0.5268, allocations: 2.788 MB / 0.5081 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.5273, allocations: 409.1 kB / 0.5085 GB, free: 328 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.5287, allocations: 0.9608 MB / 0.5094 GB, free: 15.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5289, allocations: 305.1 kB / 0.5097 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/0.5313, allocations: 1.208 MB / 0.5109 GB, free: 13.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/0.5367, allocations: 4.531 MB / 0.5153 GB, free: 7.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.5456, allocations: 6.283 MB / 0.5215 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002471/0.5459, allocations: 36 kB / 0.5215 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01333/0.5592, allocations: 5.463 MB / 0.5268 GB, free: 10.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.5593, allocations: 56 kB / 0.5269 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.5595, allocations: 116 kB / 0.527 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.5596, allocations: 160 kB / 0.5271 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/0.5633, allocations: 1.084 MB / 0.5282 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001917/0.5635, allocations: 231.1 kB / 0.5284 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/0.5673, allocations: 0.7019 MB / 0.5291 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005882/0.5679, allocations: 312 kB / 0.5294 GB, free: 7.5 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.00278/0.5707, allocations: 1.715 MB / 0.5311 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006042/0.5713, allocations: 317.8 kB / 0.5314 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.5722, allocations: 497.1 kB / 0.5319 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-05/0.5723, allocations: 23.98 kB / 0.5319 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5723, allocations: 0 / 0.5319 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.5723, allocations: 8 kB / 0.5319 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.5781, allocations: 3.15 MB / 0.535 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5781, allocations: 0 / 0.535 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.5786, allocations: 109.8 kB / 0.5351 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.5786, allocations: 8 kB / 0.5351 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.5787, allocations: 19.92 kB / 0.5351 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.5787, allocations: 8 kB / 0.5351 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5787, allocations: 4 kB / 0.5351 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.5813, allocations: 2.232 MB / 0.5373 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008518/0.5822, allocations: 450.6 kB / 0.5377 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.5824, allocations: 19.94 kB / 0.5377 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/0.5833, allocations: 32.03 kB / 0.5378 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5834, allocations: 52.75 kB / 0.5378 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.5835, allocations: 31.94 kB / 0.5378 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004009/0.5875, allocations: 2.333 MB / 0.5401 GB, free: 12.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5875, allocations: 0 / 0.5401 GB, free: 12.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003875/0.5914, allocations: 0.8028 MB / 0.5409 GB, free: 11.56 MB / 462.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.003258/0.5946, allocations: 2.855 MB / 0.5437 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004844/0.5995, allocations: 2.706 MB / 0.5463 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.5995, allocations: 0 / 0.5463 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.6001, allocations: 411.1 kB / 0.5467 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.6025, allocations: 384.8 kB / 0.5471 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05997/0.6625, allocations: 33.25 MB / 0.5796 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/0.6661, allocations: 2.683 MB / 0.5822 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003795/0.6699, allocations: 1.49 MB / 0.5836 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/0.6722, allocations: 1.464 MB / 0.5851 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.6722, allocations: 0 / 0.5851 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3403/1.013, allocations: 47.75 MB / 0.6317 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.28, allocations: 4.156 kB / 0.6317 GB, free: 179.1 MB / 0.5294 GB " [Timeout remaining time 641] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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: 22.231596102996264]