Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001946/0.001946, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.0024/0.0024, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 44.08 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09743, allocations: 53.34 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2011/0.2986, allocations: 9.031 MB / 435.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005515/0.3041, allocations: 2.733 MB / 438.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.3055, allocations: 57.19 kB / 438.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.309, allocations: 1.864 MB / 440.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.313, allocations: 1.342 MB / 441.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.3137, allocations: 219.2 kB / 442.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004287/0.318, allocations: 2.34 MB / 444.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.3204, allocations: 1.781 MB / 446.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.3224, allocations: 1.012 MB / 447.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.3264, allocations: 2.57 MB / 449.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000797/0.3272, allocations: 187.9 kB / 449.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3285, allocations: 0.5186 MB / 450.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.3298, allocations: 1.338 MB / 451.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.3313, allocations: 1.57 MB / 453.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005931/0.3372, allocations: 4.871 MB / 458.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3373, allocations: 0 / 458.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3373, allocations: 0 / 458.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.3374, allocations: 1.156 kB / 458.2 MB, free: 12.12 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.007604/0.345, allocations: 3.714 MB / 462 MB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.345, allocations: 9.781 kB / 462 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007227/0.3523, allocations: 1.716 MB / 463.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.3564, allocations: 1.594 MB / 465.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.3566, allocations: 159 kB / 465.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.357, allocations: 193.1 kB / 465.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.3683, allocations: 6.983 MB / 472.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/0.3684, allocations: 31.7 kB / 472.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.3687, allocations: 103.9 kB / 472.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/0.3712, allocations: 1.559 MB / 474.3 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.3826, allocations: 5.489 MB / 479.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03977/0.4224, allocations: 27.18 MB / 0.4951 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.4258, allocations: 1.586 MB / 0.4966 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.4266, allocations: 473.9 kB / 0.4971 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004896/0.4315, allocations: 2.694 MB / 0.4997 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.4316, allocations: 46.48 kB / 0.4998 GB, free: 9.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.476e-06/0.4316, allocations: 0 / 0.4998 GB, free: 9.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004741/0.4363, allocations: 1.779 MB / 0.5015 GB, free: 7.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.4365, allocations: 217.6 kB / 0.5017 GB, free: 7.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008227/0.4447, allocations: 3.674 MB / 0.5053 GB, free: 3.863 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.4449, allocations: 37.7 kB / 0.5053 GB, free: 3.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003051/0.4479, allocations: 2.788 MB / 0.508 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/0.4486, allocations: 413.3 kB / 0.5084 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/0.4508, allocations: 0.9607 MB / 0.5094 GB, free: 15.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4509, allocations: 301.1 kB / 0.5097 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.4534, allocations: 1.208 MB / 0.5108 GB, free: 14.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/0.4593, allocations: 4.526 MB / 0.5153 GB, free: 7.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009342/0.4686, allocations: 6.283 MB / 0.5214 GB, free: 15.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.4687, allocations: 36 kB / 0.5214 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01352/0.4823, allocations: 5.461 MB / 0.5268 GB, free: 10.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4825, allocations: 60.03 kB / 0.5268 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002827/0.4827, allocations: 120.9 kB / 0.5269 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.483, allocations: 156 kB / 0.5271 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.4868, allocations: 1.084 MB / 0.5281 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003503/0.4872, allocations: 231.1 kB / 0.5284 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/0.4915, allocations: 0.698 MB / 0.5291 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007116/0.4923, allocations: 316 kB / 0.5294 GB, free: 7.781 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.003555/0.4958, allocations: 1.711 MB / 0.531 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007773/0.4966, allocations: 321.8 kB / 0.5313 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.4981, allocations: 489.8 kB / 0.5318 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.018e-05/0.4981, allocations: 31.98 kB / 0.5318 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.4981, allocations: 0.875 kB / 0.5318 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.4981, allocations: 7.984 kB / 0.5318 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008792/0.5069, allocations: 3.146 MB / 0.5349 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.507, allocations: 4 kB / 0.5349 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.5075, allocations: 107.8 kB / 0.535 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.5075, allocations: 11.38 kB / 0.535 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.5076, allocations: 16.88 kB / 0.535 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.5076, allocations: 11.92 kB / 0.5351 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5076, allocations: 12.22 kB / 0.5351 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.5108, allocations: 2.22 MB / 0.5372 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.5119, allocations: 454.8 kB / 0.5377 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000608/0.5125, allocations: 19.94 kB / 0.5377 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5137, allocations: 35.16 kB / 0.5377 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5139, allocations: 43.89 kB / 0.5378 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.5139, allocations: 31.98 kB / 0.5378 GB, free: 14.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005245/0.5192, allocations: 2.34 MB / 0.5401 GB, free: 12.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5192, allocations: 0 / 0.5401 GB, free: 12.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004781/0.524, allocations: 0.8028 MB / 0.5409 GB, free: 11.84 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.0004336/0.5244, allocations: 143.8 kB / 0.541 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00538/0.5298, allocations: 2.712 MB / 0.5436 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5298, allocations: 0 / 0.5436 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.5305, allocations: 404.2 kB / 0.544 GB, free: 8.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.5336, allocations: 391.3 kB / 0.5444 GB, free: 8.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.549, allocations: 6.784 MB / 0.551 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004933/0.5539, allocations: 2.68 MB / 0.5536 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004001/0.5579, allocations: 1.486 MB / 0.5551 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.5585, allocations: 199.4 kB / 0.5553 GB, free: 13 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5585, allocations: 4 kB / 0.5553 GB, free: 13 MB / 478.1 MB Notification: Performance of Templates: time 0.0529/0.6114, allocations: 19.7 MB / 0.5745 GB, free: 9.387 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.866701148450375]