Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005039/0.005039, allocations: 148.9 kB / 24.68 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8246/0.8246, allocations: 173.4 MB / 201.2 MB, free: 9.059 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 3.984 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.608e-05, allocations: 6.219 kB / 319.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008403/0.008429, allocations: 7.987 MB / 327.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.01191, allocations: 2.546 MB / 330.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.01235, allocations: 55.75 kB / 330.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.01422, allocations: 1.868 MB / 332.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.01569, allocations: 1.406 MB / 333.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.01594, allocations: 243.4 kB / 333.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.01816, allocations: 3.376 MB / 337.2 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.01944, allocations: 2.046 MB / 339.2 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.02048, allocations: 1.535 MB / 340.8 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.02177, allocations: 1.812 MB / 342.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.02194, allocations: 188 kB / 342.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.0224, allocations: 459.4 kB / 343.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.0233, allocations: 1.39 MB / 344.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.02379, allocations: 0.8288 MB / 345.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.02642, allocations: 4.741 MB / 350.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.02643, allocations: 4 kB / 350.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.02643, allocations: 0 / 350.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.02646, allocations: 0 / 350.2 MB, free: 7.18 MB / 314.7 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.003202/0.02966, allocations: 3.615 MB / 353.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.02969, allocations: 8.922 kB / 353.8 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.0322, allocations: 1.687 MB / 355.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.03367, allocations: 1.529 MB / 357 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.03374, allocations: 155.9 kB / 357.2 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.03396, allocations: 199.9 kB / 357.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.03921, allocations: 6.986 MB / 364.4 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.03925, allocations: 31.75 kB / 364.4 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.03941, allocations: 99.89 kB / 364.5 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/0.04084, allocations: 1.562 MB / 366 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/0.04582, allocations: 5.485 MB / 371.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.06136, allocations: 25.33 MB / 396.9 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.06288, allocations: 1.178 MB / 398 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.06329, allocations: 469.7 kB / 398.5 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/0.06532, allocations: 2.043 MB / 400.5 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.06535, allocations: 50.44 kB / 400.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.06535, allocations: 4 kB / 400.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=89): time 0.002427/0.06777, allocations: 1.806 MB / 402.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.06784, allocations: 217.6 kB / 402.6 MB, free: 1.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.07046, allocations: 3.543 MB / 406.2 MB, free: 13.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.07049, allocations: 37.64 kB / 406.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.07185, allocations: 2.779 MB / 409 MB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.07205, allocations: 401.2 kB / 409.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007587/0.07281, allocations: 0.949 MB / 410.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.07289, allocations: 301.3 kB / 410.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.07414, allocations: 1.212 MB / 411.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.07675, allocations: 4.526 MB / 416.3 MB, free: 1.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/0.08082, allocations: 6.29 MB / 422.6 MB, free: 9.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/0.08085, allocations: 36 kB / 422.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004909/0.08576, allocations: 5.432 MB / 428.1 MB, free: 4.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.0858, allocations: 59.94 kB / 428.2 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-05/0.08586, allocations: 120 kB / 428.3 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.59e-05/0.08595, allocations: 152.8 kB / 428.4 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.08744, allocations: 1.088 MB / 429.5 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.704e-05/0.08754, allocations: 235.1 kB / 429.7 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.08912, allocations: 0.6631 MB / 430.4 MB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.08933, allocations: 320 kB / 430.7 MB, free: 1.469 MB / 394.7 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.001564/0.0909, allocations: 1.708 MB / 432.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.09111, allocations: 290 kB / 432.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.09157, allocations: 483.5 kB / 433.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.0916, allocations: 27.98 kB / 433.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.09161, allocations: 0 / 433.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.09162, allocations: 7.984 kB / 433.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.09446, allocations: 2.38 MB / 435.6 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.09446, allocations: 4 kB / 435.6 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.0947, allocations: 99.88 kB / 435.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.0947, allocations: 4 kB / 435.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.09473, allocations: 23.94 kB / 435.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.09474, allocations: 7.984 kB / 435.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.09474, allocations: 4 kB / 435.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.09612, allocations: 2.213 MB / 437.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.09644, allocations: 329.8 kB / 438.3 MB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.09656, allocations: 27.88 kB / 438.3 MB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.09698, allocations: 31.97 kB / 438.3 MB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.09705, allocations: 55.8 kB / 438.4 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.09708, allocations: 28 kB / 438.4 MB, free: 9.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001634/0.09872, allocations: 2.102 MB / 440.5 MB, free: 7.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09872, allocations: 0 / 440.5 MB, free: 7.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002352/0.1011, allocations: 0.8492 MB / 441.4 MB, free: 6.676 MB / 410.7 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.0002872/0.1014, allocations: 139 kB / 441.5 MB, free: 6.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.1037, allocations: 2.715 MB / 444.2 MB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1037, allocations: 0 / 444.2 MB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.1041, allocations: 408.9 kB / 444.6 MB, free: 3.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.1052, allocations: 350.5 kB / 445 MB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1273/0.2325, allocations: 7.018 MB / 452 MB, free: 117.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.2338, allocations: 2.133 MB / 454.1 MB, free: 117.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.2341, allocations: 228 kB / 454.3 MB, free: 117.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2341, allocations: 0 / 454.3 MB, free: 117.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02666/0.2608, allocations: 44.27 MB / 498.6 MB, free: 76.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.189567124471068]