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.00287/0.00287, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002795/0.002795, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.613/1.613, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.453e-06/1.453e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.007e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01309/0.01312, allocations: 8.721 MB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006827/0.01995, allocations: 2.659 MB / 283.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.02111, allocations: 55.75 kB / 283.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.02531, allocations: 1.958 MB / 285.7 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.02913, allocations: 1.411 MB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.02972, allocations: 235.5 kB / 287.4 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1322/0.1619, allocations: 3.425 MB / 290.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.1649, allocations: 2.111 MB / 292.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.1676, allocations: 1.535 MB / 294.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/0.1711, allocations: 1.822 MB / 296.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000674/0.1718, allocations: 187.8 kB / 296.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.1729, allocations: 462 kB / 296.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.1741, allocations: 1.39 MB / 298.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.1752, allocations: 0.8165 MB / 299.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.1798, allocations: 4.724 MB / 303.8 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1798, allocations: 1.031 kB / 303.8 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1798, allocations: 0 / 303.8 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001298/0.18, allocations: 0 / 303.8 MB, free: 13 MB / 266.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.006646/0.1866, allocations: 4.284 MB / 308.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1867, allocations: 9.156 kB / 308.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005888/0.1925, allocations: 2.026 MB / 310.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.1957, allocations: 1.47 MB / 311.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.1957, allocations: 155.5 kB / 311.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.1961, allocations: 206.7 kB / 312 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005641/0.2017, allocations: 4.448 MB / 316.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.885e-05/0.2018, allocations: 29.97 kB / 316.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.202, allocations: 99.25 kB / 316.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/0.2038, allocations: 1.561 MB / 318.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.2087, allocations: 2.158 MB / 320.3 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/0.2516, allocations: 34.18 MB / 354.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.254, allocations: 0.7841 MB / 355.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.2545, allocations: 225.7 kB / 355.5 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004859/0.2594, allocations: 2.28 MB / 357.7 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.2594, allocations: 54.83 kB / 357.8 MB, free: 9.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.988e-06/0.2594, allocations: 0 / 357.8 MB, free: 9.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.003515/0.263, allocations: 1.146 MB / 358.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.2631, allocations: 220.6 kB / 359.1 MB, free: 8.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006292/0.2694, allocations: 4.016 MB / 363.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.2695, allocations: 37.7 kB / 363.2 MB, free: 4.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003054/0.2725, allocations: 3.122 MB / 366.3 MB, free: 1.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.2731, allocations: 436.4 kB / 366.7 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/0.2748, allocations: 1.205 MB / 368 MB, free: 15.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.275, allocations: 476.8 kB / 368.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.2762, allocations: 465.1 kB / 368.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006214/0.2824, allocations: 5.531 MB / 374.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008735/0.2911, allocations: 6.584 MB / 381 MB, free: 13.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/0.2913, allocations: 36 kB / 381 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009868/0.3011, allocations: 4.198 MB / 385.2 MB, free: 9.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.3012, allocations: 56 kB / 385.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.3014, allocations: 120.9 kB / 385.4 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.3015, allocations: 159.9 kB / 385.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/0.305, allocations: 1.092 MB / 386.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002401/0.3052, allocations: 239 kB / 386.9 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.3086, allocations: 0.6554 MB / 387.5 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005179/0.3092, allocations: 319.7 kB / 387.8 MB, free: 7.105 MB / 346.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.001757/0.3109, allocations: 0.6409 MB / 388.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006719/0.3116, allocations: 310 kB / 388.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000907/0.3125, allocations: 387.7 kB / 389.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/0.3125, allocations: 30.89 kB / 389.2 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3126, allocations: 0 / 389.2 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3126, allocations: 4 kB / 389.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008045/0.3206, allocations: 3.48 MB / 392.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.3206, allocations: 4 kB / 392.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.3212, allocations: 106.8 kB / 392.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.3212, allocations: 8 kB / 392.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.3212, allocations: 19.98 kB / 392.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.3213, allocations: 9.016 kB / 392.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.3213, allocations: 4 kB / 392.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.3236, allocations: 1.818 MB / 394.6 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/0.3245, allocations: 326 kB / 395 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.3248, allocations: 19.94 kB / 395 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.3256, allocations: 27.98 kB / 395 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3257, allocations: 51.61 kB / 395.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.3258, allocations: 29.64 kB / 395.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003374/0.3291, allocations: 1.708 MB / 396.8 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3291, allocations: 0 / 396.8 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004109/0.3332, allocations: 0.8336 MB / 397.6 MB, free: 13.16 MB / 362.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.0003373/0.3336, allocations: 146 kB / 397.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.3382, allocations: 2.16 MB / 399.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.3382, allocations: 7.938 kB / 399.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.3387, allocations: 239.1 kB / 400.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.341, allocations: 356.9 kB / 400.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.3531, allocations: 5.7 MB / 406.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/0.356, allocations: 1.917 MB / 408.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00329/0.3593, allocations: 1.301 MB / 409.4 MB, free: 1.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.3597, allocations: 196.5 kB / 409.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3597, allocations: 0 / 409.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of Templates: time 0.0455/0.4052, allocations: 16.17 MB / 425.8 MB, free: 1.336 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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.810109906014986]