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.001796/0.001796, allocations: 95.86 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.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.001881/0.001881, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 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 1.51/1.51, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.104e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01302/0.01305, allocations: 8.746 MB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006213/0.01927, allocations: 2.593 MB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.02047, allocations: 55.75 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.02498, allocations: 1.954 MB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.02914, allocations: 1.419 MB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.02989, allocations: 227.6 kB / 282.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005299/0.03519, allocations: 3.376 MB / 285.7 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003372/0.03856, allocations: 2.136 MB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.04136, allocations: 1.535 MB / 289.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1368/0.1782, allocations: 1.823 MB / 291.2 MB, free: 18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.1794, allocations: 187.8 kB / 291.4 MB, free: 18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.1814, allocations: 454.4 kB / 291.8 MB, free: 18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002338/0.1838, allocations: 1.41 MB / 293.2 MB, free: 18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002471/0.1862, allocations: 0.8233 MB / 294.1 MB, free: 18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009165/0.1954, allocations: 4.752 MB / 298.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1954, allocations: 0 / 298.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1954, allocations: 0 / 298.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.1956, allocations: 1.125 kB / 298.8 MB, free: 17.54 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.01455/0.2102, allocations: 4.299 MB / 303.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.2103, allocations: 10.52 kB / 303.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.2186, allocations: 1.98 MB / 305.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005228/0.2239, allocations: 1.474 MB / 306.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.224, allocations: 152.9 kB / 306.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008321/0.2249, allocations: 199.1 kB / 306.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009838/0.2347, allocations: 4.45 MB / 311.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.583e-05/0.2348, allocations: 28.22 kB / 311.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.2352, allocations: 94.69 kB / 311.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/0.2373, allocations: 1.56 MB / 313 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005929/0.2433, allocations: 2.153 MB / 315.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04058/0.2838, allocations: 34.19 MB / 349.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.2865, allocations: 0.7829 MB / 350.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.2871, allocations: 233.4 kB / 350.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005596/0.2927, allocations: 2.274 MB / 352.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.2928, allocations: 47.92 kB / 352.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 4.178e-06/0.2928, allocations: 0 / 352.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.003794/0.2966, allocations: 1.139 MB / 353.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.2967, allocations: 224.9 kB / 354.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007417/0.3041, allocations: 4.044 MB / 358.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.3043, allocations: 37.7 kB / 358.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003433/0.3077, allocations: 3.129 MB / 361.3 MB, free: 9.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/0.3085, allocations: 439.5 kB / 361.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/0.3105, allocations: 1.199 MB / 362.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002647/0.3108, allocations: 476.8 kB / 363.4 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.312, allocations: 468.4 kB / 363.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006617/0.3186, allocations: 5.535 MB / 369.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009416/0.3281, allocations: 6.598 MB / 376 MB, free: 6.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/0.3283, allocations: 40 kB / 376 MB, free: 6.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01073/0.339, allocations: 4.193 MB / 380.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.3391, allocations: 56 kB / 380.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.3393, allocations: 116 kB / 380.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.3394, allocations: 159.9 kB / 380.5 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.3431, allocations: 1.084 MB / 381.6 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002351/0.3433, allocations: 235.1 kB / 381.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/0.3474, allocations: 0.6673 MB / 382.5 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009977/0.3484, allocations: 319.7 kB / 382.8 MB, free: 15.79 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.002867/0.3512, allocations: 0.637 MB / 383.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.3523, allocations: 298.1 kB / 383.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3537, allocations: 399.7 kB / 384.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.329e-05/0.3538, allocations: 27.92 kB / 384.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.3538, allocations: 4 kB / 384.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.3538, allocations: 3.984 kB / 384.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.3664, allocations: 3.435 MB / 387.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.3664, allocations: 4 kB / 387.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/0.3674, allocations: 100.1 kB / 387.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.863e-05/0.3674, allocations: 15.98 kB / 387.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/0.3675, allocations: 16 kB / 387.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/0.3675, allocations: 8 kB / 387.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.3675, allocations: 7.938 kB / 387.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.3713, allocations: 1.811 MB / 389.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/0.3729, allocations: 321.8 kB / 389.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.3733, allocations: 23.88 kB / 389.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.3749, allocations: 32.84 kB / 389.9 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.3751, allocations: 55.84 kB / 390 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.3752, allocations: 29.08 kB / 390 MB, free: 8.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006459/0.3817, allocations: 1.708 MB / 391.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3817, allocations: 0 / 391.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008871/0.3906, allocations: 0.8406 MB / 392.6 MB, free: 5.871 MB / 346.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.0006935/0.3913, allocations: 149.9 kB / 392.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008423/0.3997, allocations: 2.153 MB / 394.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.856e-05/0.3997, allocations: 4 kB / 394.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4007, allocations: 248.1 kB / 395.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/0.4055, allocations: 362.6 kB / 395.5 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.4268, allocations: 5.693 MB / 401.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006809/0.4336, allocations: 1.925 MB / 403.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00733/0.4409, allocations: 1.301 MB / 404.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008799/0.4418, allocations: 188.5 kB / 404.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4418, allocations: 3.938 kB / 404.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of Templates: time 0.07192/0.5138, allocations: 16.17 MB / 420.8 MB, free: 10.01 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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.896422827034257]