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.005458/0.005458, allocations: 100.6 kB / 21.96 MB, free: 5.199 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.001536/0.001536, allocations: 218 kB / 25.26 MB, free: 3.137 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.312/1.312, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.001636/0.001636, allocations: 55.91 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007774/0.2483, allocations: 7.931 MB / 405.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.2533, allocations: 2.536 MB / 407.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.2544, allocations: 57 kB / 407.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.2576, allocations: 1.788 MB / 409.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.2605, allocations: 1.364 MB / 410.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.261, allocations: 219.4 kB / 411 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.2639, allocations: 2.361 MB / 413.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.266, allocations: 1.751 MB / 415.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.2676, allocations: 1.024 MB / 416.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.2709, allocations: 2.48 MB / 418.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.2714, allocations: 188.2 kB / 418.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.2723, allocations: 414.5 kB / 419.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.2736, allocations: 1.345 MB / 420.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.2749, allocations: 1.132 MB / 421.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005529/0.2805, allocations: 4.896 MB / 426.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2805, allocations: 0 / 426.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2805, allocations: 0 / 426.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.555e-05/0.2806, allocations: 0 / 426.6 MB, free: 5.547 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.005726/0.2863, allocations: 3.666 MB / 430.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.2863, allocations: 11.98 kB / 430.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.327e-05/0.2864, allocations: 72.11 kB / 430.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006374/0.2871, allocations: 0.5385 MB / 430.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.2919, allocations: 1.671 MB / 432.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.2947, allocations: 1.536 MB / 434.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.2948, allocations: 155.8 kB / 434.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/0.2952, allocations: 191.9 kB / 434.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009578/0.3047, allocations: 6.99 MB / 441.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-05/0.3048, allocations: 31.69 kB / 441.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.3051, allocations: 99.88 kB / 441.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.3073, allocations: 1.558 MB / 443.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009797/0.3171, allocations: 5.497 MB / 448.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/0.3466, allocations: 26.08 MB / 474.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.3491, allocations: 1.123 MB / 475.8 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.3498, allocations: 470.3 kB / 476.3 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003576/0.3534, allocations: 2.051 MB / 478.3 MB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3534, allocations: 46.55 kB / 478.4 MB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.076e-06/0.3534, allocations: 0 / 478.4 MB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003742/0.3571, allocations: 1.768 MB / 480.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.3573, allocations: 217.6 kB / 480.4 MB, free: 14.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.3622, allocations: 3.678 MB / 484 MB, free: 10.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.3623, allocations: 33.7 kB / 484.1 MB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.3644, allocations: 2.796 MB / 486.9 MB, free: 7.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.3648, allocations: 405.1 kB / 487.3 MB, free: 7.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.3659, allocations: 0.9687 MB / 488.2 MB, free: 6.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.366, allocations: 305.1 kB / 488.5 MB, free: 5.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.3678, allocations: 1.212 MB / 489.7 MB, free: 4.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.3724, allocations: 4.53 MB / 494.3 MB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/0.3797, allocations: 6.298 MB / 0.4888 GB, free: 6.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9e-05/0.3798, allocations: 36 kB / 0.4889 GB, free: 6.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00869/0.3885, allocations: 5.451 MB / 0.4942 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.3886, allocations: 56.94 kB / 0.4942 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.3887, allocations: 120 kB / 0.4944 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.3888, allocations: 152 kB / 0.4945 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.3916, allocations: 1.092 MB / 0.4956 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000189/0.3918, allocations: 227.1 kB / 0.4958 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.3948, allocations: 0.698 MB / 0.4965 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/0.3952, allocations: 324 kB / 0.4968 GB, free: 14.25 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.002312/0.3975, allocations: 1.716 MB / 0.4985 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/0.398, allocations: 313.8 kB / 0.4988 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008837/0.3989, allocations: 498.8 kB / 0.4992 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/0.399, allocations: 19.98 kB / 0.4992 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.399, allocations: 4 kB / 0.4993 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.399, allocations: 3.984 kB / 0.4993 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.4041, allocations: 3.005 MB / 0.5022 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4042, allocations: 4 kB / 0.5022 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.4046, allocations: 107.8 kB / 0.5023 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.4046, allocations: 11.88 kB / 0.5023 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.4047, allocations: 23.98 kB / 0.5023 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/0.4047, allocations: 7.984 kB / 0.5023 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4047, allocations: 7.938 kB / 0.5023 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.4071, allocations: 2.235 MB / 0.5045 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.4077, allocations: 365.5 kB / 0.5049 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.408, allocations: 27.92 kB / 0.5049 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/0.4088, allocations: 27.97 kB / 0.5049 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4089, allocations: 51.8 kB / 0.505 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.4089, allocations: 32 kB / 0.505 GB, free: 5.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003196/0.4121, allocations: 2.337 MB / 0.5073 GB, free: 3.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4121, allocations: 4.062 kB / 0.5073 GB, free: 3.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003537/0.4157, allocations: 0.8106 MB / 0.5081 GB, free: 2.523 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.003013/0.4187, allocations: 2.853 MB / 0.5109 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004579/0.4233, allocations: 2.715 MB / 0.5135 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4233, allocations: 0 / 0.5135 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.4239, allocations: 409.1 kB / 0.5139 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.426, allocations: 380.8 kB / 0.5143 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04462/0.4706, allocations: 33.25 MB / 0.5468 GB, free: 6.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/0.4733, allocations: 2.125 MB / 0.5488 GB, free: 3.992 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003159/0.4764, allocations: 1.494 MB / 0.5503 GB, free: 2.492 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/0.4782, allocations: 1.464 MB / 0.5517 GB, free: 1.027 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4782, allocations: 4 kB / 0.5517 GB, free: 1.023 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.734, allocations: 49.29 MB / 0.5999 GB, free: 148.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/19.34, allocations: 6.578 kB / 0.5999 GB, free: 148.2 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.29683189210482]