Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001277/0.001277, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001459/0.001459, allocations: 213.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 57.8 kB / 347.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2612, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008664/0.2699, allocations: 7.98 MB / 404.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.2748, allocations: 2.55 MB / 406.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.2758, allocations: 55.62 kB / 406.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.2791, allocations: 1.791 MB / 408.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.2824, allocations: 1.361 MB / 410.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.283, allocations: 221.4 kB / 410.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.2862, allocations: 2.369 MB / 412.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2883, allocations: 1.743 MB / 414.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.2902, allocations: 1.019 MB / 415.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.294, allocations: 2.406 MB / 417.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006493/0.2946, allocations: 188.5 kB / 418 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.2957, allocations: 402.4 kB / 418.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.2971, allocations: 1.345 MB / 419.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.2987, allocations: 1.133 MB / 420.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.3051, allocations: 4.896 MB / 425.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3052, allocations: 4 kB / 425.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3052, allocations: 0 / 425.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001876/0.3053, allocations: 3.938 kB / 425.8 MB, free: 5.555 MB / 334.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.007359/0.3127, allocations: 3.658 MB / 429.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.3128, allocations: 15.98 kB / 429.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008694/0.3136, allocations: 0.5346 MB / 430 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00535/0.319, allocations: 1.675 MB / 431.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.3225, allocations: 1.533 MB / 433.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.3226, allocations: 151.8 kB / 433.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.323, allocations: 195.9 kB / 433.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.3336, allocations: 6.986 MB / 440.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.3337, allocations: 35.7 kB / 440.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.3339, allocations: 103.9 kB / 440.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.3364, allocations: 1.547 MB / 442.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3473, allocations: 5.493 MB / 447.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.3793, allocations: 26.08 MB / 473.8 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.382, allocations: 1.123 MB / 474.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/0.3827, allocations: 470.6 kB / 475.4 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003997/0.3867, allocations: 2.047 MB / 477.4 MB, free: 232 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.3867, allocations: 46.5 kB / 477.5 MB, free: 176 kB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 5.109e-06/0.3867, allocations: 8 kB / 477.5 MB, free: 168 kB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003931/0.3907, allocations: 1.764 MB / 479.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.3908, allocations: 213.6 kB / 479.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/0.396, allocations: 3.871 MB / 483.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.3961, allocations: 37.69 kB / 483.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.3983, allocations: 2.8 MB / 486.2 MB, free: 7.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.3987, allocations: 409.1 kB / 486.6 MB, free: 6.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.3999, allocations: 0.9607 MB / 487.5 MB, free: 6.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4, allocations: 301.3 kB / 487.8 MB, free: 5.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.4019, allocations: 1.212 MB / 489 MB, free: 4.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004859/0.4067, allocations: 4.526 MB / 493.6 MB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007898/0.4146, allocations: 6.305 MB / 499.9 MB, free: 6.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.451e-05/0.4147, allocations: 32 kB / 499.9 MB, free: 6.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009835/0.4246, allocations: 5.455 MB / 0.4935 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/0.4246, allocations: 56 kB / 0.4936 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.4248, allocations: 120 kB / 0.4937 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.4249, allocations: 156.8 kB / 0.4938 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.428, allocations: 1.084 MB / 0.4949 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/0.4282, allocations: 239.1 kB / 0.4951 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.4313, allocations: 0.6941 MB / 0.4958 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/0.4317, allocations: 312 kB / 0.4961 GB, free: 14.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.002523/0.4342, allocations: 1.723 MB / 0.4978 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.4347, allocations: 313.8 kB / 0.4981 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.4356, allocations: 0.4987 MB / 0.4986 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/0.4357, allocations: 20 kB / 0.4986 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4357, allocations: 4 kB / 0.4986 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4357, allocations: 3.984 kB / 0.4986 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.4414, allocations: 3.001 MB / 0.5015 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.4414, allocations: 7.984 kB / 0.5015 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.4419, allocations: 103.8 kB / 0.5016 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.4419, allocations: 7.938 kB / 0.5016 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.442, allocations: 27.97 kB / 0.5017 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.442, allocations: 4.281 kB / 0.5017 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.442, allocations: 4 kB / 0.5017 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.4447, allocations: 2.239 MB / 0.5039 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009173/0.4456, allocations: 369.6 kB / 0.5042 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.4458, allocations: 19.89 kB / 0.5042 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000852/0.4467, allocations: 31.97 kB / 0.5043 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4468, allocations: 51.8 kB / 0.5043 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.4469, allocations: 31.98 kB / 0.5043 GB, free: 5.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003552/0.4504, allocations: 2.341 MB / 0.5066 GB, free: 3.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4504, allocations: 0 / 0.5066 GB, free: 3.234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004005/0.4544, allocations: 0.8146 MB / 0.5074 GB, free: 2.418 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.003585/0.458, allocations: 2.845 MB / 0.5102 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005013/0.463, allocations: 2.714 MB / 0.5128 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.463, allocations: 0 / 0.5128 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.4637, allocations: 401.8 kB / 0.5132 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.4661, allocations: 381.8 kB / 0.5136 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0497/0.5158, allocations: 33.26 MB / 0.5461 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/0.5188, allocations: 2.129 MB / 0.5482 GB, free: 3.875 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003402/0.5222, allocations: 1.494 MB / 0.5496 GB, free: 2.375 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/0.5243, allocations: 1.468 MB / 0.5511 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5243, allocations: 0 / 0.5511 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2669/0.7912, allocations: 47.43 MB / 0.5974 GB, free: 150.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.05, allocations: 8.219 kB / 0.5974 GB, free: 150.1 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.802736792713404]