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.001588/0.001588, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001591/0.001591, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.468/1.468, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001524/0.001524, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2787, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01165/0.2904, allocations: 9.098 MB / 430 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.2964, allocations: 2.688 MB / 432.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.2973, allocations: 47.88 kB / 432.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.3009, allocations: 1.857 MB / 434.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.3039, allocations: 1.354 MB / 435.9 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.3044, allocations: 203.7 kB / 436.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.3073, allocations: 2.381 MB / 438.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.309, allocations: 1.536 MB / 440 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3102, allocations: 0.9925 MB / 441 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.3132, allocations: 2.474 MB / 443.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004069/0.3136, allocations: 188 kB / 443.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009579/0.3146, allocations: 0.4993 MB / 444.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.3159, allocations: 1.351 MB / 445.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.3174, allocations: 1.591 MB / 447.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005151/0.3225, allocations: 4.873 MB / 452 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3226, allocations: 4 kB / 452 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3226, allocations: 4 kB / 452 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.245e-05/0.3226, allocations: 3.984 kB / 452 MB, free: 15.83 MB / 366.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.005837/0.3285, allocations: 3.729 MB / 455.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3285, allocations: 15.97 kB / 455.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/0.3336, allocations: 1.668 MB / 457.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.3364, allocations: 1.597 MB / 459 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3365, allocations: 155.8 kB / 459.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/0.3369, allocations: 199.8 kB / 459.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00994/0.3468, allocations: 6.979 MB / 466.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/0.3469, allocations: 27.75 kB / 466.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.3471, allocations: 103.9 kB / 466.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.3495, allocations: 1.559 MB / 468 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.3598, allocations: 5.489 MB / 473.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/0.3916, allocations: 27.18 MB / 0.489 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.3944, allocations: 1.587 MB / 0.4905 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.3951, allocations: 469.7 kB / 0.491 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003802/0.3989, allocations: 2.69 MB / 0.4936 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.3989, allocations: 50.5 kB / 0.4936 GB, free: 8.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.274e-06/0.3989, allocations: 0 / 0.4936 GB, free: 8.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003778/0.4027, allocations: 1.772 MB / 0.4954 GB, free: 6.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.4029, allocations: 225.7 kB / 0.4956 GB, free: 6.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.4076, allocations: 3.674 MB / 0.4992 GB, free: 2.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.4077, allocations: 37.7 kB / 0.4992 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002083/0.4098, allocations: 2.8 MB / 0.502 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.4101, allocations: 405.1 kB / 0.5023 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.4112, allocations: 0.9646 MB / 0.5033 GB, free: 14.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4114, allocations: 301.1 kB / 0.5036 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.4131, allocations: 1.212 MB / 0.5048 GB, free: 12.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/0.4176, allocations: 4.526 MB / 0.5092 GB, free: 6.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/0.4249, allocations: 6.284 MB / 0.5153 GB, free: 14.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.607e-05/0.425, allocations: 39.75 kB / 0.5153 GB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009026/0.434, allocations: 5.449 MB / 0.5207 GB, free: 9.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.4341, allocations: 56 kB / 0.5207 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/0.4342, allocations: 123.9 kB / 0.5208 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.4344, allocations: 152 kB / 0.521 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/0.4375, allocations: 1.088 MB / 0.522 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002055/0.4377, allocations: 235.1 kB / 0.5223 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/0.4414, allocations: 0.7019 MB / 0.523 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/0.4419, allocations: 320 kB / 0.5233 GB, free: 6.586 MB / 446.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.003025/0.4449, allocations: 1.715 MB / 0.5249 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/0.4455, allocations: 309.9 kB / 0.5252 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009218/0.4464, allocations: 0.4974 MB / 0.5257 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/0.4465, allocations: 16 kB / 0.5257 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.4465, allocations: 4 kB / 0.5257 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4465, allocations: 3.984 kB / 0.5257 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.4524, allocations: 3.154 MB / 0.5288 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4524, allocations: 4.281 kB / 0.5288 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.4529, allocations: 115.8 kB / 0.5289 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.4529, allocations: 7.938 kB / 0.5289 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.4529, allocations: 16 kB / 0.529 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/0.4529, allocations: 7.984 kB / 0.529 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.4529, allocations: 7.984 kB / 0.529 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.4554, allocations: 2.234 MB / 0.5312 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007696/0.4562, allocations: 438.7 kB / 0.5316 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.4564, allocations: 31.81 kB / 0.5316 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.4573, allocations: 27.97 kB / 0.5316 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4574, allocations: 59.89 kB / 0.5317 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.4574, allocations: 31.98 kB / 0.5317 GB, free: 13.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003308/0.4607, allocations: 2.333 MB / 0.534 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4607, allocations: 0 / 0.534 GB, free: 11.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003459/0.4642, allocations: 0.8067 MB / 0.5348 GB, free: 10.62 MB / 462.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.0002915/0.4645, allocations: 151.8 kB / 0.5349 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.4686, allocations: 2.712 MB / 0.5376 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4686, allocations: 0 / 0.5376 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.4692, allocations: 403.7 kB / 0.538 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.4711, allocations: 380.3 kB / 0.5383 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.4823, allocations: 6.797 MB / 0.545 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2741/0.7564, allocations: 2.673 MB / 0.5476 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003456/0.7599, allocations: 1.496 MB / 0.549 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7603, allocations: 199.1 kB / 0.5492 GB, free: 119.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7603, allocations: 0 / 0.5492 GB, free: 119.3 MB / 462.1 MB Notification: Performance of Templates: time 0.03687/0.7972, allocations: 20.77 MB / 0.5695 GB, free: 106 MB / 462.1 MB " [Timeout remaining time 659] 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: 5.695939414203167]