Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005801/0.005801, allocations: 156.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8422/0.8422, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.15e-05, allocations: 9.453 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.005804/0.005826, allocations: 7.971 MB / 333.8 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.008925, allocations: 2.593 MB / 336.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.009391, allocations: 55.75 kB / 336.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.01124, allocations: 1.88 MB / 338.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.01276, allocations: 1.407 MB / 339.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.01304, allocations: 239.4 kB / 339.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.01511, allocations: 3.43 MB / 343.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.01648, allocations: 2.053 MB / 345.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.01761, allocations: 1.524 MB / 346.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.01902, allocations: 1.804 MB / 348.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.01923, allocations: 195.9 kB / 348.9 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.01973, allocations: 459.4 kB / 349.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.02039, allocations: 1.379 MB / 350.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.02091, allocations: 0.8094 MB / 351.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.02367, allocations: 4.718 MB / 356.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.02367, allocations: 3.938 kB / 356.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02367, allocations: 0 / 356.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.241e-05/0.02373, allocations: 0 / 356.3 MB, free: 0.6875 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.003173/0.0269, allocations: 3.599 MB / 359.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.02694, allocations: 15.98 kB / 359.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.02983, allocations: 1.734 MB / 361.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.03141, allocations: 1.536 MB / 363.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.03148, allocations: 151.9 kB / 363.3 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.0317, allocations: 195.9 kB / 363.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/0.03689, allocations: 6.99 MB / 370.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.03694, allocations: 27.7 kB / 370.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.0371, allocations: 103.8 kB / 370.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.03829, allocations: 1.555 MB / 372.2 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005238/0.04353, allocations: 5.497 MB / 377.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.05849, allocations: 25.33 MB / 403 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.05996, allocations: 1.17 MB / 404.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/0.06036, allocations: 477.2 kB / 404.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.06235, allocations: 2.027 MB / 406.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.06238, allocations: 50.42 kB / 406.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/0.06238, allocations: 0 / 406.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002187/0.06457, allocations: 1.81 MB / 408.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.06465, allocations: 221.6 kB / 408.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.06725, allocations: 3.531 MB / 412.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.06729, allocations: 37.7 kB / 412.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.06839, allocations: 2.775 MB / 415.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.06858, allocations: 401.2 kB / 415.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006651/0.06925, allocations: 0.9451 MB / 416.5 MB, free: 2.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.06932, allocations: 309.1 kB / 416.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.07039, allocations: 1.204 MB / 418 MB, free: 1.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.07276, allocations: 4.526 MB / 422.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.07666, allocations: 6.304 MB / 428.8 MB, free: 3.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/0.0767, allocations: 36 kB / 428.8 MB, free: 3.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004783/0.08149, allocations: 5.435 MB / 434.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.08153, allocations: 59.94 kB / 434.3 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.309e-05/0.08161, allocations: 120 kB / 434.4 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-05/0.08169, allocations: 156 kB / 434.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.08322, allocations: 1.084 MB / 435.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/0.08333, allocations: 231.1 kB / 435.9 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.08495, allocations: 0.6714 MB / 436.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.08517, allocations: 316 kB / 436.9 MB, free: 10.95 MB / 410.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.001616/0.08679, allocations: 1.7 MB / 438.6 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.08703, allocations: 294 kB / 438.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.0875, allocations: 487.6 kB / 439.3 MB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.08753, allocations: 23.98 kB / 439.4 MB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.08754, allocations: 0 / 439.4 MB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.08755, allocations: 7.984 kB / 439.4 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.09033, allocations: 2.376 MB / 441.7 MB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.09033, allocations: 8.281 kB / 441.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.09057, allocations: 103.9 kB / 441.9 MB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.09057, allocations: 4.281 kB / 441.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.0906, allocations: 27.97 kB / 441.9 MB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.09061, allocations: 7.938 kB / 441.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.09061, allocations: 7.938 kB / 441.9 MB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.09201, allocations: 2.205 MB / 444.1 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.09234, allocations: 341.8 kB / 444.4 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.09246, allocations: 24 kB / 444.5 MB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.09287, allocations: 31.97 kB / 444.5 MB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.09294, allocations: 47.86 kB / 444.5 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.09297, allocations: 35.92 kB / 444.6 MB, free: 3.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001686/0.09466, allocations: 2.098 MB / 446.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09466, allocations: 0 / 446.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001996/0.09666, allocations: 0.8259 MB / 447.5 MB, free: 188 kB / 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.0002371/0.09689, allocations: 151 kB / 447.6 MB, free: 24 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1269/0.2237, allocations: 2.696 MB / 450.3 MB, free: 115 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2238, allocations: 0.6562 kB / 450.3 MB, free: 115 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.2241, allocations: 406.6 kB / 450.7 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.2254, allocations: 347.2 kB / 451.1 MB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.2308, allocations: 7.014 MB / 458.1 MB, free: 111 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.232, allocations: 2.126 MB / 460.2 MB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.2323, allocations: 227.8 kB / 460.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2323, allocations: 0 / 460.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02724/0.2595, allocations: 44.14 MB / 0.4928 GB, free: 65.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.925884419120848]