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.001433/0.001433, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.001636/0.001636, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.599/1.599, allocations: 207.7 MB / 236.1 MB, free: 9.77 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [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.001901/0.001901, allocations: 51.92 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3537, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01065/0.3643, allocations: 7.985 MB / 405.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007973/0.3723, allocations: 2.546 MB / 408.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.375, allocations: 57 kB / 408.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00507/0.38, allocations: 1.787 MB / 410 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.3863, allocations: 1.364 MB / 411.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3873, allocations: 214.5 kB / 411.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005384/0.3927, allocations: 2.368 MB / 413.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/0.397, allocations: 1.736 MB / 415.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.4, allocations: 1.023 MB / 416.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/0.4055, allocations: 2.394 MB / 419.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.4067, allocations: 188.3 kB / 419.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.4088, allocations: 411.1 kB / 419.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.4116, allocations: 1.345 MB / 421 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.4153, allocations: 1.135 MB / 422.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007757/0.423, allocations: 4.896 MB / 427 MB, free: 5.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.423, allocations: 0 / 427 MB, free: 5.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.423, allocations: 0 / 427 MB, free: 5.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001517/0.4232, allocations: 4 kB / 427.1 MB, free: 5.641 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.008647/0.4318, allocations: 3.666 MB / 430.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.4319, allocations: 11.98 kB / 430.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005662/0.4375, allocations: 1.671 MB / 432.4 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.4417, allocations: 1.529 MB / 433.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.4418, allocations: 155.8 kB / 434.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003872/0.4422, allocations: 191.9 kB / 434.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.454, allocations: 6.986 MB / 441.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.541e-05/0.454, allocations: 31.7 kB / 441.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.4543, allocations: 107.9 kB / 441.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/0.4569, allocations: 1.555 MB / 442.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.4675, allocations: 5.489 MB / 448.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03599/0.5035, allocations: 25.32 MB / 473.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.5064, allocations: 1.119 MB / 474.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.5072, allocations: 474.6 kB / 475.3 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004571/0.5117, allocations: 2.019 MB / 477.4 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.5118, allocations: 46.5 kB / 477.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.496e-06/0.5118, allocations: 0 / 477.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004076/0.5159, allocations: 1.745 MB / 479.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/0.5161, allocations: 213.6 kB / 479.4 MB, free: 15.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/0.5217, allocations: 3.535 MB / 482.9 MB, free: 12.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.5217, allocations: 37.7 kB / 482.9 MB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/0.5245, allocations: 2.806 MB / 485.7 MB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004465/0.5249, allocations: 405.2 kB / 486.1 MB, free: 8.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.5262, allocations: 0.9685 MB / 487.1 MB, free: 7.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5264, allocations: 301.7 kB / 487.4 MB, free: 7.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.5283, allocations: 1.212 MB / 488.6 MB, free: 6.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005496/0.5338, allocations: 4.522 MB / 493.1 MB, free: 56 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009299/0.5431, allocations: 6.313 MB / 499.4 MB, free: 8.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.5432, allocations: 36 kB / 499.5 MB, free: 8.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01083/0.554, allocations: 5.424 MB / 0.4931 GB, free: 2.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/0.5541, allocations: 56 kB / 0.4931 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/0.5543, allocations: 120 kB / 0.4932 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.5545, allocations: 156 kB / 0.4934 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/0.5577, allocations: 1.088 MB / 0.4944 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002647/0.5579, allocations: 231.1 kB / 0.4947 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.5615, allocations: 0.667 MB / 0.4953 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/0.562, allocations: 316 kB / 0.4956 GB, free: 15.98 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.003259/0.5652, allocations: 1.708 MB / 0.4973 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.5658, allocations: 298 kB / 0.4976 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009388/0.5668, allocations: 472.5 kB / 0.498 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-05/0.5668, allocations: 31.92 kB / 0.498 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.5668, allocations: 0 / 0.498 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5669, allocations: 7.938 kB / 0.4981 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/0.5724, allocations: 2.364 MB / 0.5004 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5724, allocations: 4 kB / 0.5004 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.5729, allocations: 99.89 kB / 0.5005 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.5729, allocations: 11.98 kB / 0.5005 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.573, allocations: 16 kB / 0.5005 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.573, allocations: 11.92 kB / 0.5005 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.573, allocations: 7.938 kB / 0.5005 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.5759, allocations: 2.202 MB / 0.5027 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009326/0.5769, allocations: 337.8 kB / 0.503 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.5771, allocations: 23.92 kB / 0.503 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/0.5779, allocations: 27.97 kB / 0.503 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.578, allocations: 55.8 kB / 0.5031 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.5781, allocations: 31.98 kB / 0.5031 GB, free: 8.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003486/0.5816, allocations: 2.099 MB / 0.5052 GB, free: 6.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5816, allocations: 0 / 0.5052 GB, free: 6.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004567/0.5861, allocations: 0.8376 MB / 0.506 GB, free: 5.211 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.0003808/0.5865, allocations: 154.9 kB / 0.5061 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005082/0.5916, allocations: 2.708 MB / 0.5088 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5916, allocations: 0 / 0.5088 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006376/0.5922, allocations: 412.6 kB / 0.5092 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.5944, allocations: 344.9 kB / 0.5095 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6081, allocations: 7.093 MB / 0.5164 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/0.6112, allocations: 2.132 MB / 0.5185 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.6119, allocations: 227.4 kB / 0.5187 GB, free: 8.066 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.6119, allocations: 3.938 kB / 0.5187 GB, free: 8.062 MB / 446.1 MB Notification: Performance of Templates: time 0.3149/0.9268, allocations: 44.24 MB / 0.5619 GB, free: 142.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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: 11.963832556735724]