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.001424/0.001424, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001254/0.001254, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9135/0.9135, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.954e-06/1.954e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.577e-05, allocations: 2.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008714/0.00874, allocations: 8.818 MB / 259.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.01332, allocations: 2.617 MB / 262.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007921/0.01411, allocations: 55.75 kB / 262.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.01656, allocations: 1.958 MB / 264.5 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.01876, allocations: 1.403 MB / 265.9 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.01913, allocations: 239.5 kB / 266.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.02193, allocations: 3.387 MB / 269.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.02413, allocations: 2.125 MB / 271.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.02584, allocations: 1.543 MB / 273.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.02784, allocations: 1.831 MB / 275 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.02816, allocations: 188 kB / 275.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.02882, allocations: 447.4 kB / 275.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008675/0.02969, allocations: 1.41 MB / 277.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.0305, allocations: 0.8251 MB / 277.9 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.03291, allocations: 3.1 MB / 281 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.03291, allocations: 0 / 281 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.03291, allocations: 0 / 281 MB, free: 5.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.03294, allocations: 0 / 281 MB, free: 5.496 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.003504/0.03644, allocations: 3.971 MB / 285 MB, free: 1.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.03649, allocations: 11.98 kB / 285 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.03963, allocations: 1.984 MB / 287 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.04125, allocations: 1.466 MB / 288.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.04134, allocations: 159.9 kB / 288.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.04157, allocations: 187.9 kB / 288.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.04564, allocations: 4.151 MB / 292.9 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.04569, allocations: 27.7 kB / 292.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.04587, allocations: 103.9 kB / 293 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/0.04721, allocations: 1.555 MB / 294.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.05035, allocations: 1.943 MB / 296.5 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1388/0.1892, allocations: 31.74 MB / 328.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.1906, allocations: 0.7384 MB / 329 MB, free: 23.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1909, allocations: 215.7 kB / 329.2 MB, free: 23.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/0.1932, allocations: 2.246 MB / 331.5 MB, free: 21.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1932, allocations: 51.05 kB / 331.5 MB, free: 21.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 3.427e-06/0.1932, allocations: 1.469 kB / 331.5 MB, free: 21.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001941/0.1952, allocations: 1.108 MB / 332.6 MB, free: 21.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.1952, allocations: 224.5 kB / 332.8 MB, free: 21.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.1979, allocations: 3.258 MB / 336.1 MB, free: 19.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.198, allocations: 33.67 kB / 336.1 MB, free: 19.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.199, allocations: 2.938 MB / 339.1 MB, free: 17.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.1993, allocations: 426.7 kB / 339.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007573/0.2, allocations: 1.038 MB / 340.5 MB, free: 16.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.2001, allocations: 476.8 kB / 341 MB, free: 16.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.2006, allocations: 423 kB / 341.4 MB, free: 16.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.2024, allocations: 5.345 MB / 346.8 MB, free: 9.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/0.206, allocations: 6.358 MB / 353.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-05/0.206, allocations: 34.75 kB / 353.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004231/0.2102, allocations: 4.141 MB / 357.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.2103, allocations: 59.98 kB / 357.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-05/0.2104, allocations: 124.4 kB / 357.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.2105, allocations: 156 kB / 357.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.2123, allocations: 1.087 MB / 358.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001573/0.2124, allocations: 235.1 kB / 358.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.2142, allocations: 0.6553 MB / 359.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.2144, allocations: 318.6 kB / 359.9 MB, free: 12.48 MB / 298.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.0007964/0.2152, allocations: 0.5628 MB / 360.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.2155, allocations: 310 kB / 360.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.2159, allocations: 396.6 kB / 361.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.216, allocations: 18.66 kB / 361.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.216, allocations: 4 kB / 361.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.216, allocations: 3.984 kB / 361.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.2195, allocations: 2.753 MB / 363.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2196, allocations: 7.5 kB / 363.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.2198, allocations: 103.9 kB / 364 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2198, allocations: 4 kB / 364 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.2198, allocations: 19.98 kB / 364.1 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.2198, allocations: 11.94 kB / 364.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2199, allocations: 4 kB / 364.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.2211, allocations: 1.745 MB / 365.8 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.2215, allocations: 325.8 kB / 366.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.2216, allocations: 19.94 kB / 366.2 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.222, allocations: 35.41 kB / 366.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.2221, allocations: 43.86 kB / 366.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.2221, allocations: 32 kB / 366.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.2235, allocations: 1.431 MB / 367.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2235, allocations: 0 / 367.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002145/0.2256, allocations: 0.8376 MB / 368.5 MB, free: 3.699 MB / 298.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.000255/0.2259, allocations: 146.7 kB / 368.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.2282, allocations: 1.939 MB / 370.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2282, allocations: 4 kB / 370.6 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2284, allocations: 226.6 kB / 370.8 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2296, allocations: 351.8 kB / 371.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.2357, allocations: 5.636 MB / 376.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.2364, allocations: 0.9503 MB / 377.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001764/0.2382, allocations: 1.309 MB / 379.1 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.2384, allocations: 184.5 kB / 379.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2384, allocations: 0 / 379.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of Templates: time 0.02842/0.2668, allocations: 16.16 MB / 395.4 MB, free: 8.801 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.663947179913521]