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.001324/0.001324, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001571/0.001571, allocations: 164.1 kB / 25.69 MB, free: 8.457 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.8519/0.8519, allocations: 158.6 MB / 187.6 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 3.857e-06/3.857e-06, allocations: 4 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.919e-05, allocations: 6.25 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.00905/0.009069, allocations: 8.553 MB / 260.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.01311, allocations: 2.702 MB / 262.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.01364, allocations: 63.75 kB / 262.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.0157, allocations: 1.942 MB / 264.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.01748, allocations: 1.423 MB / 266.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.01779, allocations: 247.4 kB / 266.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.02005, allocations: 3.386 MB / 269.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.02152, allocations: 2.191 MB / 272 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.02289, allocations: 1.765 MB / 273.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.02406, allocations: 1.442 MB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.02426, allocations: 184 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.02475, allocations: 439.4 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007465/0.0255, allocations: 1.398 MB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.02606, allocations: 0.8134 MB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.02811, allocations: 3.088 MB / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.02812, allocations: 0 / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02812, allocations: 0 / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.02815, allocations: 4 kB / 281.2 MB, free: 9.469 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.00278/0.03093, allocations: 3.468 MB / 284.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.03096, allocations: 11.98 kB / 284.6 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.03275, allocations: 0.8084 MB / 285.5 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.03414, allocations: 1.393 MB / 286.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.03421, allocations: 159.9 kB / 287 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.03444, allocations: 191.9 kB / 287.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.03733, allocations: 3.46 MB / 290.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.03738, allocations: 23.75 kB / 290.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.03755, allocations: 103.9 kB / 290.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.03869, allocations: 1.414 MB / 292.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.04079, allocations: 1.674 MB / 293.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.05327, allocations: 22.47 MB / 316.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.05433, allocations: 0.7506 MB / 317.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.05449, allocations: 150.2 kB / 317.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/0.05635, allocations: 2.006 MB / 319.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.05637, allocations: 46.55 kB / 319.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.074e-06/0.05637, allocations: 3.938 kB / 319.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001479/0.05785, allocations: 0.7936 MB / 320.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.05792, allocations: 217.6 kB / 320.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.05951, allocations: 2.587 MB / 322.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.05954, allocations: 33.7 kB / 322.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.06058, allocations: 2.562 MB / 325.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.06078, allocations: 393.1 kB / 325.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/0.06141, allocations: 0.9213 MB / 326.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.06147, allocations: 301.1 kB / 327.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.06196, allocations: 484.1 kB / 327.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.06374, allocations: 3.675 MB / 331.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.06666, allocations: 4.787 MB / 336 MB, free: 13.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-05/0.0667, allocations: 35.98 kB / 336.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.002908/0.0696, allocations: 3.306 MB / 339.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.06965, allocations: 63.94 kB / 339.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.228e-05/0.06972, allocations: 120.8 kB / 339.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.918e-05/0.06981, allocations: 156 kB / 339.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.0714, allocations: 1.08 MB / 340.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001068/0.07151, allocations: 231.1 kB / 341 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.07291, allocations: 0.6437 MB / 341.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.07312, allocations: 284 kB / 341.9 MB, free: 7.461 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.0005814/0.0737, allocations: 0.5238 MB / 342.4 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.07389, allocations: 155.8 kB / 342.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.07426, allocations: 375.5 kB / 343 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.07429, allocations: 23.98 kB / 343 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.07429, allocations: 4 kB / 343 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.0743, allocations: 0 / 343 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.07618, allocations: 1.647 MB / 344.6 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.07619, allocations: 4 kB / 344.6 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.07641, allocations: 91.89 kB / 344.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.07642, allocations: 8 kB / 344.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.07644, allocations: 15.94 kB / 344.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.07645, allocations: 11.92 kB / 344.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.07645, allocations: 4 kB / 344.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.07724, allocations: 1.269 MB / 346 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.0775, allocations: 289.9 kB / 346.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.07763, allocations: 27.92 kB / 346.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.07802, allocations: 19.98 kB / 346.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.07809, allocations: 47.8 kB / 346.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.07812, allocations: 24 kB / 346.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007892/0.07891, allocations: 1.088 MB / 347.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.07891, allocations: 0 / 347.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001865/0.08077, allocations: 0.8415 MB / 348.4 MB, free: 0.875 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.0001923/0.08096, allocations: 120.3 kB / 348.5 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09223/0.1732, allocations: 1.828 MB / 350.3 MB, free: 97.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001979/0.1734, allocations: 92.81 kB / 350.4 MB, free: 97.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1736, allocations: 163.3 kB / 350.6 MB, free: 97.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.1749, allocations: 358.2 kB / 350.9 MB, free: 97.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.1803, allocations: 5.744 MB / 356.7 MB, free: 94.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.1811, allocations: 0.9445 MB / 357.6 MB, free: 94.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007767/0.1818, allocations: 435.9 kB / 358 MB, free: 94.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.1823, allocations: 469.4 kB / 358.5 MB, free: 94.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.1823, allocations: 3.906 kB / 358.5 MB, free: 94.64 MB / 330.7 MB Notification: Performance of Templates: time 0.02561/0.2079, allocations: 18.38 MB / 376.9 MB, free: 77.9 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.2593168090097606]