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.004767/0.004767, allocations: 114.2 kB / 21.97 MB, free: 5.227 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.001388/0.001388, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.335/1.335, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",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.001701/0.001701, allocations: 55.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2409, allocations: 49.16 MB / 397.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008523/0.2495, allocations: 9.099 MB / 406.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.2547, allocations: 2.692 MB / 408.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.2564, allocations: 56.44 kB / 409 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.2599, allocations: 1.865 MB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.2639, allocations: 1.36 MB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.2646, allocations: 220.9 kB / 412.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.2683, allocations: 2.37 MB / 414.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.2706, allocations: 1.742 MB / 416.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.2723, allocations: 1.021 MB / 417.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.2756, allocations: 2.476 MB / 420 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.2761, allocations: 188.4 kB / 420.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.2771, allocations: 0.4932 MB / 420.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.2784, allocations: 1.349 MB / 422.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.2801, allocations: 1.586 MB / 423.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.2866, allocations: 4.881 MB / 428.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2867, allocations: 0 / 428.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2867, allocations: 0 / 428.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.174e-05/0.2867, allocations: 0 / 428.5 MB, free: 3.785 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.007017/0.2938, allocations: 3.658 MB / 432.2 MB, free: 76 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2938, allocations: 15.98 kB / 432.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001096/0.2939, allocations: 72.16 kB / 432.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006892/0.2946, allocations: 0.5423 MB / 432.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/0.2997, allocations: 1.675 MB / 434.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.3027, allocations: 1.517 MB / 436 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3028, allocations: 163.7 kB / 436.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.3032, allocations: 195.9 kB / 436.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009437/0.3126, allocations: 6.99 MB / 443.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.3127, allocations: 27.75 kB / 443.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.3129, allocations: 99.89 kB / 443.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.3151, allocations: 1.558 MB / 445 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009302/0.3244, allocations: 5.497 MB / 450.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/0.3584, allocations: 27.07 MB / 477.6 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.3611, allocations: 1.123 MB / 478.7 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/0.3619, allocations: 470.4 kB / 479.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004218/0.3661, allocations: 2.226 MB / 481.4 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.3661, allocations: 50.48 kB / 481.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.557e-06/0.3661, allocations: 0 / 481.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004001/0.3701, allocations: 1.768 MB / 483.2 MB, free: 11.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.3703, allocations: 213.6 kB / 483.4 MB, free: 11.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006181/0.3765, allocations: 3.674 MB / 487.1 MB, free: 7.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.3765, allocations: 37.7 kB / 487.2 MB, free: 7.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/0.3789, allocations: 2.8 MB / 490 MB, free: 4.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.3794, allocations: 405.3 kB / 490.4 MB, free: 4.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/0.3808, allocations: 0.9607 MB / 491.3 MB, free: 3.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3809, allocations: 305.1 kB / 491.6 MB, free: 2.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.3827, allocations: 1.208 MB / 492.8 MB, free: 1.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/0.3873, allocations: 4.541 MB / 497.4 MB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007534/0.3948, allocations: 6.293 MB / 0.4919 GB, free: 3.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.252e-05/0.3949, allocations: 40 kB / 0.4919 GB, free: 3.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009181/0.404, allocations: 5.448 MB / 0.4972 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.4041, allocations: 56.22 kB / 0.4973 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/0.4042, allocations: 124 kB / 0.4974 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.4044, allocations: 152 kB / 0.4975 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.4073, allocations: 1.088 MB / 0.4986 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001932/0.4074, allocations: 227.1 kB / 0.4988 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.4106, allocations: 0.7057 MB / 0.4995 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003718/0.411, allocations: 312 kB / 0.4998 GB, free: 11.31 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.002424/0.4134, allocations: 1.715 MB / 0.5015 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/0.414, allocations: 317.8 kB / 0.5018 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00092/0.4149, allocations: 490.3 kB / 0.5022 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-05/0.4149, allocations: 23.98 kB / 0.5023 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4149, allocations: 4 kB / 0.5023 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4149, allocations: 8.266 kB / 0.5023 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005427/0.4204, allocations: 3.126 MB / 0.5053 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4204, allocations: 0 / 0.5053 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.4208, allocations: 111.8 kB / 0.5054 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.4208, allocations: 8 kB / 0.5054 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.4209, allocations: 16 kB / 0.5055 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.4209, allocations: 15.92 kB / 0.5055 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4209, allocations: 4 kB / 0.5055 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4234, allocations: 2.235 MB / 0.5077 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.4241, allocations: 365.6 kB / 0.508 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.4244, allocations: 27.98 kB / 0.508 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.4252, allocations: 31.97 kB / 0.5081 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4253, allocations: 51.8 kB / 0.5081 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.4253, allocations: 28 kB / 0.5081 GB, free: 2.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003302/0.4286, allocations: 2.341 MB / 0.5104 GB, free: 292 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4286, allocations: 0 / 0.5104 GB, free: 292 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003388/0.432, allocations: 0.8107 MB / 0.5112 GB, free: 15.47 MB / 446.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.002941/0.435, allocations: 2.848 MB / 0.514 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.4393, allocations: 2.71 MB / 0.5166 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4393, allocations: 4 kB / 0.5166 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.4399, allocations: 398.6 kB / 0.517 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.4419, allocations: 389.6 kB / 0.5174 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04503/0.487, allocations: 33.26 MB / 0.5499 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/0.4898, allocations: 2.675 MB / 0.5525 GB, free: 408 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003106/0.4929, allocations: 1.494 MB / 0.554 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/0.4948, allocations: 1.464 MB / 0.5554 GB, free: 13.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4948, allocations: 0 / 0.5554 GB, free: 13.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2507/0.7455, allocations: 51.61 MB / 0.6058 GB, free: 144.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.88/19.63, allocations: 7.906 kB / 0.6058 GB, free: 144.1 MB / 494.1 MB " [Timeout remaining time 640] (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: 22.624613919993863]