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.001331/0.001331, allocations: 69.64 kB / 21.24 MB, free: 0.5547 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.001534/0.001534, allocations: 150.6 kB / 24.49 MB, free: 3.859 MB / 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.404/1.404, allocations: 173.4 MB / 201 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.001545/0.001545, allocations: 47.22 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08865/0.09019, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01083/0.101, allocations: 7.989 MB / 379.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.1068, allocations: 2.539 MB / 382.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.1078, allocations: 55.75 kB / 382.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.1115, allocations: 1.787 MB / 383.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.1149, allocations: 1.366 MB / 385.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.1155, allocations: 219.6 kB / 385.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003163/0.1186, allocations: 2.366 MB / 387.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.1207, allocations: 1.73 MB / 389.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.1222, allocations: 1.02 MB / 390.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.1254, allocations: 2.4 MB / 393 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000408/0.1259, allocations: 188 kB / 393.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.1267, allocations: 415.5 kB / 393.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.128, allocations: 1.344 MB / 395 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.1292, allocations: 1.133 MB / 396.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.1343, allocations: 4.904 MB / 401 MB, free: 9.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1343, allocations: 0 / 401 MB, free: 9.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1343, allocations: 0 / 401 MB, free: 9.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.885e-05/0.1344, allocations: 0 / 401 MB, free: 9.762 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.005886/0.1403, allocations: 3.662 MB / 404.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1403, allocations: 8.922 kB / 404.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/0.1458, allocations: 1.683 MB / 406.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.1488, allocations: 1.537 MB / 407.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.1489, allocations: 151.8 kB / 408.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.1493, allocations: 203.8 kB / 408.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009889/0.1592, allocations: 6.982 MB / 415.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.1592, allocations: 35.75 kB / 415.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.1595, allocations: 103.9 kB / 415.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/0.1619, allocations: 1.559 MB / 416.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.172, allocations: 5.485 MB / 422.4 MB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03365/0.2057, allocations: 25.41 MB / 447.8 MB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.2085, allocations: 1.169 MB / 449 MB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.2092, allocations: 466 kB / 449.4 MB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004134/0.2134, allocations: 2.046 MB / 451.5 MB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.2134, allocations: 50.56 kB / 451.5 MB, free: 5.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.136e-06/0.2134, allocations: 4 kB / 451.5 MB, free: 5.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004096/0.2175, allocations: 1.818 MB / 453.4 MB, free: 3.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.2177, allocations: 221.5 kB / 453.6 MB, free: 3.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/0.2231, allocations: 3.539 MB / 457.1 MB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.2232, allocations: 29.7 kB / 457.1 MB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002281/0.2255, allocations: 2.81 MB / 460 MB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/0.2259, allocations: 409.1 kB / 460.4 MB, free: 12.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.2272, allocations: 0.9646 MB / 461.3 MB, free: 11.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2273, allocations: 301.3 kB / 461.6 MB, free: 11.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.2293, allocations: 1.212 MB / 462.8 MB, free: 10.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/0.2339, allocations: 4.526 MB / 467.4 MB, free: 3.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1879/0.4218, allocations: 6.288 MB / 473.6 MB, free: 82.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-05/0.4219, allocations: 34.22 kB / 473.7 MB, free: 82.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008862/0.4308, allocations: 5.425 MB / 479.1 MB, free: 80.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.4309, allocations: 56.09 kB / 479.2 MB, free: 80.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.431, allocations: 122.7 kB / 479.3 MB, free: 80.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.4312, allocations: 155 kB / 479.4 MB, free: 80.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.4343, allocations: 1.085 MB / 480.5 MB, free: 80.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002041/0.4345, allocations: 231.5 kB / 480.7 MB, free: 80.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.4377, allocations: 0.6612 MB / 481.4 MB, free: 80.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004669/0.4382, allocations: 325.9 kB / 481.7 MB, free: 80.61 MB / 430.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.002252/0.4404, allocations: 1.712 MB / 483.4 MB, free: 79.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/0.4408, allocations: 291.4 kB / 483.7 MB, free: 79.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/0.4416, allocations: 473 kB / 484.2 MB, free: 79.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.4416, allocations: 24.78 kB / 484.2 MB, free: 79.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4416, allocations: 3.047 kB / 484.2 MB, free: 79.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.4416, allocations: 5.297 kB / 484.2 MB, free: 79.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.4455, allocations: 2.4 MB / 486.6 MB, free: 78.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4455, allocations: 7.812 kB / 486.6 MB, free: 78.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.446, allocations: 104.4 kB / 486.7 MB, free: 78.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.446, allocations: 7.75 kB / 486.7 MB, free: 78.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.446, allocations: 15.72 kB / 486.7 MB, free: 78.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.446, allocations: 7.844 kB / 486.7 MB, free: 78.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.446, allocations: 11.66 kB / 486.8 MB, free: 78.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4477, allocations: 2.205 MB / 489 MB, free: 77.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.4481, allocations: 343.9 kB / 489.3 MB, free: 77.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.4483, allocations: 21.17 kB / 489.3 MB, free: 77.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.4491, allocations: 35.2 kB / 489.4 MB, free: 77.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.4492, allocations: 46.81 kB / 489.4 MB, free: 77.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.4492, allocations: 30.95 kB / 489.4 MB, free: 77.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.4513, allocations: 2.104 MB / 491.5 MB, free: 76.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4513, allocations: 1 kB / 491.5 MB, free: 76.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003394/0.4547, allocations: 0.8458 MB / 492.4 MB, free: 76.27 MB / 430.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.0002298/0.4549, allocations: 139.4 kB / 492.5 MB, free: 76.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.458, allocations: 2.705 MB / 495.2 MB, free: 74.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.458, allocations: 1.875 kB / 495.2 MB, free: 74.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.4584, allocations: 401.5 kB / 495.6 MB, free: 73.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4601, allocations: 342.4 kB / 496 MB, free: 73.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.4674, allocations: 6.732 MB / 0.4909 GB, free: 67.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.4692, allocations: 2.132 MB / 0.493 GB, free: 65.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00245/0.4717, allocations: 1.461 MB / 0.4944 GB, free: 64.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.472, allocations: 192.5 kB / 0.4946 GB, free: 63.89 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.472, allocations: 0 / 0.4946 GB, free: 63.89 MB / 430.1 MB Notification: Performance of Templates: time 0.0336/0.5056, allocations: 16.45 MB / 0.5107 GB, free: 47.89 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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.502335804980248]