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.00128/0.00128, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001455/0.001455, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001576/0.001576, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2423, allocations: 53.38 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01033/0.2526, allocations: 7.953 MB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005218/0.2578, allocations: 2.597 MB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006633/0.2585, allocations: 55.75 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.2621, allocations: 1.799 MB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.265, allocations: 1.366 MB / 444.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.2655, allocations: 223.5 kB / 445.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.2685, allocations: 2.339 MB / 447.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.2707, allocations: 1.734 MB / 449.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.272, allocations: 1.012 MB / 450.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.2757, allocations: 2.591 MB / 452.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.2761, allocations: 188 kB / 452.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008788/0.277, allocations: 419.5 kB / 453.4 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.2783, allocations: 1.34 MB / 454.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.2796, allocations: 1.113 MB / 455.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.2851, allocations: 4.881 MB / 460.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2851, allocations: 0 / 460.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2851, allocations: 0 / 460.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.567e-05/0.2851, allocations: 0 / 460.7 MB, free: 8.875 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.005987/0.2911, allocations: 3.646 MB / 464.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2912, allocations: 8.031 kB / 464.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006454/0.2918, allocations: 0.5385 MB / 464.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006061/0.2979, allocations: 1.714 MB / 466.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.3014, allocations: 1.533 MB / 468.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3015, allocations: 151.8 kB / 468.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.3019, allocations: 195.9 kB / 468.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.3123, allocations: 6.99 MB / 475.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.071e-05/0.3124, allocations: 31.75 kB / 475.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.3127, allocations: 95.88 kB / 475.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/0.315, allocations: 1.555 MB / 477.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009666/0.3247, allocations: 5.493 MB / 482.6 MB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.3558, allocations: 26.08 MB / 0.4968 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.3585, allocations: 1.135 MB / 0.4979 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.3591, allocations: 477.5 kB / 0.4984 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004051/0.3632, allocations: 2.035 MB / 0.5003 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3632, allocations: 46.61 kB / 0.5004 GB, free: 3.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.3632, allocations: 7.938 kB / 0.5004 GB, free: 3.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003923/0.3672, allocations: 1.774 MB / 0.5021 GB, free: 1.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3673, allocations: 217.6 kB / 0.5023 GB, free: 1.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/0.3726, allocations: 3.867 MB / 0.5061 GB, free: 13.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3727, allocations: 37.7 kB / 0.5061 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002238/0.3749, allocations: 2.788 MB / 0.5089 GB, free: 10.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.3754, allocations: 405.1 kB / 0.5093 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.3766, allocations: 0.9685 MB / 0.5102 GB, free: 9.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3767, allocations: 305.3 kB / 0.5105 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.3785, allocations: 1.208 MB / 0.5117 GB, free: 7.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.3832, allocations: 4.522 MB / 0.5161 GB, free: 1.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007449/0.3907, allocations: 6.3 MB / 0.5222 GB, free: 9.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-05/0.3908, allocations: 32 kB / 0.5223 GB, free: 9.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009451/0.4002, allocations: 5.454 MB / 0.5276 GB, free: 4.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.4003, allocations: 56 kB / 0.5277 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.4004, allocations: 120 kB / 0.5278 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.4006, allocations: 156.8 kB / 0.5279 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.4037, allocations: 1.084 MB / 0.529 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/0.4039, allocations: 239.1 kB / 0.5292 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/0.4072, allocations: 0.694 MB / 0.5299 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/0.4077, allocations: 316 kB / 0.5302 GB, free: 1.473 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.002513/0.4102, allocations: 1.716 MB / 0.5319 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/0.4108, allocations: 317.8 kB / 0.5322 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009476/0.4117, allocations: 497 kB / 0.5326 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.374e-05/0.4118, allocations: 20 kB / 0.5327 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4118, allocations: 4.281 kB / 0.5327 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4118, allocations: 3.984 kB / 0.5327 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006257/0.4181, allocations: 3.009 MB / 0.5356 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.4181, allocations: 7.938 kB / 0.5356 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.4186, allocations: 107.8 kB / 0.5357 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.4186, allocations: 7.938 kB / 0.5357 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.4187, allocations: 16 kB / 0.5357 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.4187, allocations: 4 kB / 0.5357 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4187, allocations: 7.984 kB / 0.5357 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.4213, allocations: 2.238 MB / 0.5379 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009488/0.4223, allocations: 369.6 kB / 0.5383 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.4225, allocations: 19.88 kB / 0.5383 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/0.4234, allocations: 31.97 kB / 0.5383 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4235, allocations: 59.78 kB / 0.5384 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.4236, allocations: 31.98 kB / 0.5384 GB, free: 8.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003824/0.4274, allocations: 2.333 MB / 0.5407 GB, free: 6.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4274, allocations: 0 / 0.5407 GB, free: 6.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003795/0.4312, allocations: 0.8027 MB / 0.5415 GB, free: 5.766 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.003019/0.4342, allocations: 2.849 MB / 0.5443 GB, free: 2.855 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004384/0.4386, allocations: 2.702 MB / 0.5469 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4386, allocations: 1.812 kB / 0.5469 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1792/0.6178, allocations: 398.7 kB / 0.5473 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.6201, allocations: 386.2 kB / 0.5477 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03236/0.6525, allocations: 33.25 MB / 0.5801 GB, free: 87.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.6544, allocations: 2.128 MB / 0.5822 GB, free: 85.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002696/0.6571, allocations: 1.49 MB / 0.5837 GB, free: 83.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.6584, allocations: 1.472 MB / 0.5851 GB, free: 82.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6584, allocations: 0 / 0.5851 GB, free: 82.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08017/0.7386, allocations: 49.55 MB / 0.6335 GB, free: 33.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.74, allocations: 15.8 kB / 0.6335 GB, free: 33.64 MB / 462.1 MB " [Timeout remaining time 645] (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: 17.42093334000674]