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.001608/0.001608, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001698/0.001698, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.396/1.396, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.001443/0.001443, allocations: 47.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.1005, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01132/0.1118, allocations: 9.069 MB / 426.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006658/0.1185, allocations: 2.693 MB / 429.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.1198, allocations: 51.88 kB / 429.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.1236, allocations: 1.83 MB / 431.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.1269, allocations: 1.358 MB / 432.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.1275, allocations: 207.6 kB / 433 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.1307, allocations: 2.362 MB / 435.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.1329, allocations: 1.79 MB / 437.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.1341, allocations: 1 MB / 438.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.1372, allocations: 2.462 MB / 440.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.1376, allocations: 188 kB / 440.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009388/0.1385, allocations: 0.5032 MB / 441.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.1397, allocations: 1.34 MB / 442.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.1412, allocations: 1.595 MB / 444.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1913/0.3325, allocations: 4.877 MB / 449.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3325, allocations: 0 / 449.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3325, allocations: 0 / 449.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3326, allocations: 0 / 449.1 MB, free: 14.26 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.005073/0.3377, allocations: 3.733 MB / 452.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3377, allocations: 10.17 kB / 452.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005327/0.3383, allocations: 0.542 MB / 453.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.3429, allocations: 1.667 MB / 455.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/0.346, allocations: 1.594 MB / 456.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.3461, allocations: 157.1 kB / 456.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.3465, allocations: 200 kB / 457 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008178/0.3547, allocations: 6.979 MB / 464 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.3547, allocations: 25.44 kB / 464 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.355, allocations: 100.4 kB / 464.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001894/0.3568, allocations: 1.564 MB / 465.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008055/0.3649, allocations: 5.487 MB / 471.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02813/0.393, allocations: 27.18 MB / 498.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.3957, allocations: 1.581 MB / 499.9 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/0.3963, allocations: 473.4 kB / 0.4887 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004694/0.401, allocations: 2.693 MB / 0.4913 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4011, allocations: 45.84 kB / 0.4913 GB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/0.4011, allocations: 0 / 0.4913 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003935/0.405, allocations: 1.769 MB / 0.4931 GB, free: 12.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.4052, allocations: 227 kB / 0.4933 GB, free: 12.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/0.4104, allocations: 3.671 MB / 0.4969 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.4105, allocations: 37.69 kB / 0.4969 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.4127, allocations: 2.8 MB / 0.4996 GB, free: 5.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/0.4131, allocations: 406 kB / 0.5 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.4143, allocations: 0.9607 MB / 0.501 GB, free: 4.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4144, allocations: 301.1 kB / 0.5012 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.4162, allocations: 1.208 MB / 0.5024 GB, free: 2.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/0.4211, allocations: 4.531 MB / 0.5068 GB, free: 12.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007631/0.4287, allocations: 6.299 MB / 0.513 GB, free: 5.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.934e-05/0.4288, allocations: 35.88 kB / 0.513 GB, free: 5.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01079/0.4396, allocations: 5.457 MB / 0.5184 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.4397, allocations: 56 kB / 0.5184 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.4399, allocations: 121.8 kB / 0.5185 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.4401, allocations: 156.8 kB / 0.5187 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/0.4435, allocations: 1.084 MB / 0.5197 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000259/0.4438, allocations: 244.6 kB / 0.52 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.4477, allocations: 0.6961 MB / 0.5207 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007466/0.4485, allocations: 315.4 kB / 0.521 GB, free: 13.16 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.003587/0.4521, allocations: 1.72 MB / 0.5226 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008019/0.4529, allocations: 314.6 kB / 0.5229 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.4543, allocations: 491.9 kB / 0.5234 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.956e-05/0.4543, allocations: 22.81 kB / 0.5234 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.4543, allocations: 0 / 0.5234 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.4544, allocations: 7.984 kB / 0.5234 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008784/0.4631, allocations: 3.154 MB / 0.5265 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.4632, allocations: 8.875 kB / 0.5265 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.4637, allocations: 101.5 kB / 0.5266 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.4637, allocations: 8 kB / 0.5266 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/0.4638, allocations: 16 kB / 0.5266 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/0.4638, allocations: 11.94 kB / 0.5267 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/0.4639, allocations: 7.938 kB / 0.5267 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.4669, allocations: 2.23 MB / 0.5288 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.4682, allocations: 438.7 kB / 0.5293 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006094/0.4688, allocations: 22.83 kB / 0.5293 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.47, allocations: 35.91 kB / 0.5293 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4701, allocations: 47.83 kB / 0.5294 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.4702, allocations: 28 kB / 0.5294 GB, free: 4.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004929/0.4751, allocations: 2.348 MB / 0.5317 GB, free: 2.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4751, allocations: 0 / 0.5317 GB, free: 2.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004791/0.4799, allocations: 0.8156 MB / 0.5325 GB, free: 1.242 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.003752/0.4837, allocations: 2.856 MB / 0.5353 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005259/0.4889, allocations: 2.705 MB / 0.5379 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.4889, allocations: 0 / 0.5379 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000717/0.4896, allocations: 409.1 kB / 0.5383 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/0.4927, allocations: 377.8 kB / 0.5387 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05898/0.5517, allocations: 33.28 MB / 0.5712 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003987/0.5557, allocations: 2.683 MB / 0.5738 GB, free: 2.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003562/0.5593, allocations: 1.494 MB / 0.5752 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/0.5616, allocations: 1.486 MB / 0.5767 GB, free: 15.27 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5616, allocations: 0 / 0.5767 GB, free: 15.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/0.667, allocations: 47.8 MB / 0.6234 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.08, allocations: 6.984 kB / 0.6234 GB, free: 15.82 MB / 0.5294 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.336965376045555]