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.001476/0.001476, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001614/0.001614, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 7.984 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 39.94 kB / 378.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2166, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01027/0.2269, allocations: 9.068 MB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.2318, allocations: 2.752 MB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.2325, allocations: 55.75 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.2359, allocations: 1.873 MB / 445.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.2386, allocations: 1.366 MB / 447 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.239, allocations: 215.6 kB / 447.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.2419, allocations: 2.35 MB / 449.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.2439, allocations: 1.726 MB / 451.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.2452, allocations: 1.012 MB / 452.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.2484, allocations: 2.591 MB / 454.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.2488, allocations: 188 kB / 455.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000946/0.2497, allocations: 0.515 MB / 455.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.2509, allocations: 1.34 MB / 457 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.2524, allocations: 1.575 MB / 458.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004865/0.2573, allocations: 4.854 MB / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2573, allocations: 0 / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2573, allocations: 0 / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.424e-05/0.2573, allocations: 4 kB / 463.4 MB, free: 7.207 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.005386/0.2627, allocations: 3.638 MB / 467 MB, free: 3.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2627, allocations: 8.031 kB / 467.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.769e-05/0.2628, allocations: 76.11 kB / 467.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005699/0.2634, allocations: 0.5385 MB / 467.7 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00581/0.2692, allocations: 1.722 MB / 469.4 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.272, allocations: 1.521 MB / 470.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.2721, allocations: 151.8 kB / 471.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.2725, allocations: 203.8 kB / 471.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008619/0.2811, allocations: 6.986 MB / 478.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.023e-05/0.2812, allocations: 23.75 kB / 478.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.2814, allocations: 95.89 kB / 478.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/0.2836, allocations: 1.559 MB / 479.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008412/0.292, allocations: 5.493 MB / 485.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.32, allocations: 27.09 MB / 0.5005 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.3225, allocations: 1.127 MB / 0.5016 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.3232, allocations: 475.5 kB / 0.502 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003625/0.3268, allocations: 2.226 MB / 0.5042 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3269, allocations: 46.5 kB / 0.5043 GB, free: 0.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.535e-06/0.3269, allocations: 0 / 0.5043 GB, free: 0.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003739/0.3306, allocations: 1.77 MB / 0.506 GB, free: 14.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.3307, allocations: 225.5 kB / 0.5062 GB, free: 14.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004765/0.3355, allocations: 3.67 MB / 0.5098 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.3356, allocations: 33.7 kB / 0.5098 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.3376, allocations: 2.796 MB / 0.5126 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.338, allocations: 409.1 kB / 0.5129 GB, free: 7.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3391, allocations: 0.9607 MB / 0.5139 GB, free: 6.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3392, allocations: 309 kB / 0.5142 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.341, allocations: 1.208 MB / 0.5154 GB, free: 5.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.3453, allocations: 4.522 MB / 0.5198 GB, free: 14.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/0.3521, allocations: 6.299 MB / 0.5259 GB, free: 6.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.797e-05/0.3522, allocations: 36 kB / 0.526 GB, free: 6.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008616/0.3608, allocations: 5.447 MB / 0.5313 GB, free: 1.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.853e-05/0.3609, allocations: 56 kB / 0.5313 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/0.361, allocations: 116 kB / 0.5314 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.3612, allocations: 156 kB / 0.5316 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.364, allocations: 1.084 MB / 0.5326 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001967/0.3642, allocations: 235 kB / 0.5329 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.3672, allocations: 0.7024 MB / 0.5336 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.3676, allocations: 312 kB / 0.5339 GB, free: 14.75 MB / 462.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.002262/0.3698, allocations: 1.715 MB / 0.5355 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/0.3703, allocations: 317.8 kB / 0.5358 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008773/0.3712, allocations: 0.4885 MB / 0.5363 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/0.3713, allocations: 23.98 kB / 0.5363 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3713, allocations: 0 / 0.5363 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.3713, allocations: 7.984 kB / 0.5363 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/0.377, allocations: 3.118 MB / 0.5394 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.377, allocations: 4 kB / 0.5394 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.3775, allocations: 107.8 kB / 0.5395 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.3775, allocations: 16.25 kB / 0.5395 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.3775, allocations: 20 kB / 0.5395 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.3775, allocations: 8.266 kB / 0.5395 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.3775, allocations: 7.938 kB / 0.5395 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.38, allocations: 2.234 MB / 0.5417 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.3807, allocations: 369.5 kB / 0.5421 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.381, allocations: 23.92 kB / 0.5421 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.3819, allocations: 27.97 kB / 0.5421 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.382, allocations: 55.86 kB / 0.5422 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.382, allocations: 28 kB / 0.5422 GB, free: 6.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003312/0.3853, allocations: 2.333 MB / 0.5445 GB, free: 3.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3853, allocations: 0 / 0.5445 GB, free: 3.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003253/0.3886, allocations: 0.8067 MB / 0.5453 GB, free: 2.926 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.002894/0.3915, allocations: 2.845 MB / 0.548 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1658/0.5572, allocations: 2.705 MB / 0.5507 GB, free: 116.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5573, allocations: 0 / 0.5507 GB, free: 116.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.5577, allocations: 406.8 kB / 0.5511 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.5597, allocations: 396 kB / 0.5515 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/0.5864, allocations: 33.25 MB / 0.5839 GB, free: 85.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.5882, allocations: 2.682 MB / 0.5865 GB, free: 82.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002448/0.5907, allocations: 1.491 MB / 0.588 GB, free: 81.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.5918, allocations: 1.468 MB / 0.5894 GB, free: 79.58 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5918, allocations: 0 / 0.5894 GB, free: 79.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/0.6627, allocations: 51.64 MB / 0.6399 GB, free: 28.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.9/19.56, allocations: 8.047 kB / 0.6399 GB, free: 28.33 MB / 462.1 MB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.576416116033215]