Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009385/0.0009385, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9031/0.9031, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.749e-05, allocations: 6.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009384/0.009401, allocations: 7.973 MB / 332.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.01366, allocations: 2.593 MB / 335.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.0143, allocations: 55.75 kB / 335.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.01623, allocations: 1.884 MB / 337 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.01801, allocations: 1.399 MB / 338.4 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.01832, allocations: 239.5 kB / 338.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.02079, allocations: 3.435 MB / 342.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.02242, allocations: 2.046 MB / 344.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.02388, allocations: 1.531 MB / 345.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.02548, allocations: 1.8 MB / 347.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.02568, allocations: 191.9 kB / 347.7 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.02622, allocations: 463.4 kB / 348.1 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006871/0.02691, allocations: 1.379 MB / 349.5 MB, free: 6.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.02746, allocations: 0.8172 MB / 350.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.0305, allocations: 4.714 MB / 355 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.03051, allocations: 0 / 355 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.03051, allocations: 0 / 355 MB, free: 1.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.282e-05/0.03055, allocations: 0 / 355 MB, free: 1.211 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.003551/0.0341, allocations: 3.592 MB / 358.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.03414, allocations: 15.98 kB / 358.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000423/0.03457, allocations: 0.5385 MB / 359.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.03791, allocations: 1.738 MB / 360.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.03961, allocations: 1.532 MB / 362.5 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.03969, allocations: 159.7 kB / 362.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.03992, allocations: 195.9 kB / 362.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.04553, allocations: 6.994 MB / 369.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.04557, allocations: 27.69 kB / 369.8 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.04574, allocations: 99.89 kB / 369.9 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.04695, allocations: 1.555 MB / 371.5 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005764/0.05272, allocations: 5.497 MB / 377 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.06944, allocations: 26.11 MB / 403.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.07122, allocations: 1.168 MB / 404.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.07163, allocations: 477.7 kB / 404.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/0.07373, allocations: 2.068 MB / 406.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.07375, allocations: 50.5 kB / 406.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.254e-06/0.07376, allocations: 0 / 406.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002212/0.07597, allocations: 1.832 MB / 408.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.07604, allocations: 213.6 kB / 408.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.07917, allocations: 3.878 MB / 412.8 MB, free: 5.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.0792, allocations: 37.7 kB / 412.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.08032, allocations: 2.757 MB / 415.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.08051, allocations: 405.1 kB / 415.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/0.0812, allocations: 0.949 MB / 416.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.08126, allocations: 301.1 kB / 417.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.08255, allocations: 1.204 MB / 418.4 MB, free: 64 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/0.08498, allocations: 4.53 MB / 422.9 MB, free: 9.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.08963, allocations: 6.3 MB / 429.2 MB, free: 1.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-05/0.08967, allocations: 32 kB / 429.3 MB, free: 1.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005106/0.09477, allocations: 5.46 MB / 434.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.09482, allocations: 56 kB / 434.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.776e-05/0.09489, allocations: 120 kB / 434.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.508e-05/0.09497, allocations: 156 kB / 435 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.09655, allocations: 1.084 MB / 436.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.09666, allocations: 235.1 kB / 436.4 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.09874, allocations: 0.698 MB / 437 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.09896, allocations: 316 kB / 437.4 MB, free: 9.711 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.001736/0.1007, allocations: 1.708 MB / 439.1 MB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.101, allocations: 321.8 kB / 439.4 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/0.1015, allocations: 0.4942 MB / 439.9 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/0.1015, allocations: 27.97 kB / 439.9 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1015, allocations: 4.281 kB / 439.9 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1015, allocations: 7.984 kB / 439.9 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.1048, allocations: 3.024 MB / 442.9 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1048, allocations: 7.938 kB / 442.9 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.1051, allocations: 103.9 kB / 443 MB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1051, allocations: 12.22 kB / 443.1 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.1051, allocations: 23.98 kB / 443.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1051, allocations: 7.938 kB / 443.1 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1051, allocations: 4 kB / 443.1 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.107, allocations: 2.23 MB / 445.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.1074, allocations: 365.6 kB / 445.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.1075, allocations: 19.95 kB / 445.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.108, allocations: 31.91 kB / 445.7 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.1081, allocations: 51.92 kB / 445.8 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.1081, allocations: 32 kB / 445.8 MB, free: 1.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1393/0.2474, allocations: 2.329 MB / 448.1 MB, free: 110.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2474, allocations: 0 / 448.1 MB, free: 110.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002864/0.2503, allocations: 0.8101 MB / 449 MB, free: 110.3 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.001854/0.2521, allocations: 2.838 MB / 451.8 MB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.2546, allocations: 2.704 MB / 454.5 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2546, allocations: 0 / 454.5 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.2549, allocations: 406.9 kB / 454.9 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2561, allocations: 381.5 kB / 455.3 MB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/0.276, allocations: 32.97 MB / 488.2 MB, free: 74.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.2773, allocations: 2.133 MB / 490.4 MB, free: 72.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00173/0.2791, allocations: 1.492 MB / 491.9 MB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/0.2799, allocations: 1.469 MB / 493.3 MB, free: 69.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2799, allocations: 0 / 493.3 MB, free: 69.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/0.3293, allocations: 47.45 MB / 0.5281 GB, free: 22.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/9.778, allocations: 7.234 kB / 0.5281 GB, free: 22.8 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.654180510900915]