Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009513/0.0009513, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.0009346/0.0009346, allocations: 177.5 kB / 26.4 MB, free: 7.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.833/0.833, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 252.3 MB, free: 7.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.392e-05, allocations: 6.25 kB / 252.3 MB, free: 7.316 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006691/0.006705, allocations: 8.55 MB / 260.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003838/0.01054, allocations: 2.597 MB / 263.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007187/0.01126, allocations: 55.75 kB / 263.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.01357, allocations: 1.919 MB / 265.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.0155, allocations: 1.415 MB / 266.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.01582, allocations: 235.5 kB / 267 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.01802, allocations: 3.388 MB / 270.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.01969, allocations: 2.125 MB / 272.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.02109, allocations: 1.8 MB / 274.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.02227, allocations: 1.559 MB / 275.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.02245, allocations: 184 kB / 276.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.02293, allocations: 443.3 kB / 276.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007246/0.02366, allocations: 1.402 MB / 277.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.02421, allocations: 0.8172 MB / 278.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.0264, allocations: 3.085 MB / 281.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.0264, allocations: 4 kB / 281.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0264, allocations: 0 / 281.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.02643, allocations: 0 / 281.8 MB, free: 9.605 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.00319/0.02962, allocations: 3.97 MB / 285.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.02965, allocations: 11.98 kB / 285.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.032, allocations: 1.091 MB / 286.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.03344, allocations: 1.559 MB / 288.5 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.03352, allocations: 155.9 kB / 288.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.03375, allocations: 195.9 kB / 288.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.03705, allocations: 3.881 MB / 292.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/0.0371, allocations: 35.69 kB / 292.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.03726, allocations: 99.88 kB / 292.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.03866, allocations: 1.414 MB / 294.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.04082, allocations: 1.603 MB / 295.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.05793, allocations: 31.68 MB / 327.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.05906, allocations: 0.6972 MB / 328.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.05924, allocations: 193.6 kB / 328.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.06139, allocations: 2.174 MB / 330.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.06142, allocations: 61.2 kB / 330.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.304e-06/0.06142, allocations: 0 / 330.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.001656/0.06308, allocations: 1.046 MB / 331.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.06314, allocations: 213.6 kB / 331.9 MB, free: 5.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.06545, allocations: 3.23 MB / 335.1 MB, free: 2.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.06548, allocations: 37.7 kB / 335.2 MB, free: 2.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.06684, allocations: 2.973 MB / 338.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.06709, allocations: 421.1 kB / 338.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007981/0.06789, allocations: 1.067 MB / 339.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.06799, allocations: 476.9 kB / 340.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.06839, allocations: 337.1 kB / 340.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.07086, allocations: 5.293 MB / 345.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1138/0.1847, allocations: 6.306 MB / 352 MB, free: 87.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.1848, allocations: 34.84 kB / 352 MB, free: 87.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004127/0.1889, allocations: 3.885 MB / 355.9 MB, free: 86.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.1889, allocations: 56.72 kB / 356 MB, free: 86.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.415e-05/0.189, allocations: 120.2 kB / 356.1 MB, free: 86.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.1891, allocations: 153.2 kB / 356.3 MB, free: 86.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.1906, allocations: 1.078 MB / 357.3 MB, free: 86.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.544e-05/0.1907, allocations: 231.5 kB / 357.6 MB, free: 86.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.1923, allocations: 0.656 MB / 358.2 MB, free: 86.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.1925, allocations: 282 kB / 358.5 MB, free: 86.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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 (590): * Single equations (assignments): 586 * 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.0007526/0.1932, allocations: 0.5686 MB / 359.1 MB, free: 86.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.1935, allocations: 305.2 kB / 359.4 MB, free: 86.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1939, allocations: 379.3 kB / 359.7 MB, free: 86.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.194, allocations: 21.31 kB / 359.7 MB, free: 86.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.194, allocations: 5.75 kB / 359.8 MB, free: 86.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.194, allocations: 5.578 kB / 359.8 MB, free: 86.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1961, allocations: 1.955 MB / 361.7 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1961, allocations: 3.938 kB / 361.7 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.1964, allocations: 92.11 kB / 361.8 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1964, allocations: 3.906 kB / 361.8 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1964, allocations: 23.55 kB / 361.8 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1964, allocations: 11.84 kB / 361.8 MB, free: 85.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1964, allocations: 3.906 kB / 361.8 MB, free: 85.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.1972, allocations: 1.679 MB / 363.5 MB, free: 84.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.1974, allocations: 309.1 kB / 363.8 MB, free: 84.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.1975, allocations: 19 kB / 363.8 MB, free: 84.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.198, allocations: 20.09 kB / 363.9 MB, free: 84.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.198, allocations: 54.75 kB / 363.9 MB, free: 84.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.198, allocations: 30.38 kB / 363.9 MB, free: 84.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008304/0.1989, allocations: 1.335 MB / 365.3 MB, free: 83.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1989, allocations: 0 / 365.3 MB, free: 83.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001958/0.2008, allocations: 0.8403 MB / 366.1 MB, free: 82.74 MB / 330.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.0002099/0.201, allocations: 144.8 kB / 366.3 MB, free: 82.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.2025, allocations: 1.852 MB / 368.1 MB, free: 81.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2025, allocations: 0 / 368.1 MB, free: 81.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2027, allocations: 206.8 kB / 368.3 MB, free: 81.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.2037, allocations: 350.6 kB / 368.7 MB, free: 80.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.2086, allocations: 5.657 MB / 374.3 MB, free: 75.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.2092, allocations: 0.9498 MB / 375.3 MB, free: 75.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007762/0.21, allocations: 438.8 kB / 375.7 MB, free: 75.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.2105, allocations: 0.4942 MB / 376.2 MB, free: 74.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2105, allocations: 0 / 376.2 MB, free: 74.51 MB / 330.7 MB Notification: Performance of Templates: time 0.02634/0.2368, allocations: 18.79 MB / 395 MB, free: 55.85 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.431837951298803]