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.001044/0.001044, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002435, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001005/0.001005, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002255, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.92/0.92, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08007/1, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.453e-06/1.453e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.106e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.00689/0.006911, allocations: 8.633 MB / 253.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.01161, allocations: 2.79 MB / 256.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.01267, allocations: 55.75 kB / 256.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.01484, allocations: 1.865 MB / 258.4 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.01723, allocations: 1.399 MB / 259.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.01762, allocations: 219.6 kB / 260 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.02057, allocations: 3.248 MB / 263.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.02238, allocations: 1.852 MB / 265.1 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.02437, allocations: 1.815 MB / 266.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.02588, allocations: 1.426 MB / 268.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.02624, allocations: 184 kB / 268.5 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007177/0.02696, allocations: 463.4 kB / 269 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008246/0.02778, allocations: 1.254 MB / 270.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007303/0.02851, allocations: 0.6772 MB / 270.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.03095, allocations: 2.921 MB / 273.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.03097, allocations: 4 kB / 273.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03097, allocations: 0 / 273.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.03109, allocations: 0 / 273.8 MB, free: 0.6875 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.112/0.143, allocations: 4.072 MB / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1431, allocations: 12.84 kB / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.1456, allocations: 0.934 MB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1477, allocations: 1.399 MB / 280.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.266e-05/0.1478, allocations: 149.2 kB / 280.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.1481, allocations: 199.5 kB / 280.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/0.1526, allocations: 3.447 MB / 284 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.269e-05/0.1526, allocations: 30.67 kB / 284 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.1528, allocations: 101.3 kB / 284.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001414/0.1543, allocations: 1.42 MB / 285.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.1577, allocations: 1.68 MB / 287.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.1741, allocations: 22.48 MB / 309.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1754, allocations: 0.7415 MB / 310.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1756, allocations: 141.8 kB / 310.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002744/0.1783, allocations: 2.003 MB / 312.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1783, allocations: 41.09 kB / 312.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.1784, allocations: 0 / 312.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001736/0.1801, allocations: 0.7899 MB / 313.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.1802, allocations: 213.6 kB / 313.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.1822, allocations: 2.596 MB / 316.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.1822, allocations: 29.7 kB / 316.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.1834, allocations: 2.556 MB / 318.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.1837, allocations: 400.8 kB / 319.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009699/0.1847, allocations: 0.9036 MB / 320.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.1847, allocations: 305.1 kB / 320.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.1855, allocations: 479.2 kB / 320.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.1879, allocations: 3.675 MB / 324.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/0.1916, allocations: 4.781 MB / 329.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.086e-05/0.1917, allocations: 36 kB / 329.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004105/0.1958, allocations: 3.321 MB / 332.7 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.1958, allocations: 56 kB / 332.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.142e-05/0.1959, allocations: 120 kB / 332.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.72e-05/0.196, allocations: 155.8 kB / 333 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.1979, allocations: 1.189 MB / 334.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000159/0.1981, allocations: 231.1 kB / 334.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.2005, allocations: 0.6559 MB / 335.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/0.2008, allocations: 276 kB / 335.4 MB, free: 12.34 MB / 314.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.001238/0.202, allocations: 0.5146 MB / 335.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.2023, allocations: 159.8 kB / 336 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.2028, allocations: 378.1 kB / 336.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/0.2028, allocations: 27.92 kB / 336.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2028, allocations: 4 kB / 336.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2029, allocations: 1.562 kB / 336.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.2056, allocations: 1.646 MB / 338.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.2056, allocations: 4 kB / 338.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.2059, allocations: 100.2 kB / 338.2 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.2063, allocations: 299.3 kB / 338.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.2063, allocations: 8 kB / 338.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.2063, allocations: 12 kB / 338.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.2063, allocations: 7.938 kB / 338.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2063, allocations: 7.984 kB / 338.5 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.2072, allocations: 1.26 MB / 339.8 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.2073, allocations: 20 kB / 339.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.2077, allocations: 20 kB / 339.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.2078, allocations: 53.47 kB / 339.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2078, allocations: 24 kB / 339.9 MB, free: 7.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008744/0.2087, allocations: 1.083 MB / 341 MB, free: 7.008 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2087, allocations: 0 / 341 MB, free: 7.008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002572/0.2113, allocations: 0.8297 MB / 341.8 MB, free: 6.18 MB / 314.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.0002686/0.2116, allocations: 128 kB / 341.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.2136, allocations: 1.833 MB / 343.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001504/0.2137, allocations: 100.1 kB / 343.9 MB, free: 4.168 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.2139, allocations: 168.7 kB / 344 MB, free: 4.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.2154, allocations: 0.5152 MB / 344.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.2231, allocations: 5.833 MB / 350.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000881/0.224, allocations: 0.9471 MB / 351.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001387/0.2254, allocations: 430.1 kB / 351.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.2259, allocations: 465.2 kB / 352.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2259, allocations: 0 / 352.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of Templates: time 0.03179/0.2577, allocations: 18.98 MB / 371.2 MB, free: 9.031 MB / 346.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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","",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.1580612855032086]