Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008314/0.0008314, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003632/0.003632, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8316/0.8316, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.112e-05, allocations: 6.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009502/0.009534, allocations: 7.979 MB / 333.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.01566, allocations: 2.593 MB / 336.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.01758, allocations: 55.75 kB / 336.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003601/0.02118, allocations: 1.88 MB / 338.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.02529, allocations: 1.407 MB / 339.8 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.02604, allocations: 235.5 kB / 340 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.03078, allocations: 3.434 MB / 343.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003738/0.03451, allocations: 2.046 MB / 345.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.03748, allocations: 1.539 MB / 347 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.0406, allocations: 1.8 MB / 348.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.04124, allocations: 188 kB / 349 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.04225, allocations: 463.3 kB / 349.5 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.04365, allocations: 1.383 MB / 350.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009379/0.04459, allocations: 0.8055 MB / 351.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.04807, allocations: 4.71 MB / 356.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.04807, allocations: 7.938 kB / 356.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04807, allocations: 0 / 356.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.04811, allocations: 0 / 356.4 MB, free: 0.7461 MB / 314.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.00316/0.05127, allocations: 3.603 MB / 360 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.0513, allocations: 12.03 kB / 360 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.05422, allocations: 1.734 MB / 361.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.05573, allocations: 1.536 MB / 363.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.0558, allocations: 151.9 kB / 363.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.05602, allocations: 195.9 kB / 363.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005233/0.06125, allocations: 6.986 MB / 370.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.06129, allocations: 31.7 kB / 370.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.06146, allocations: 99.88 kB / 370.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.06286, allocations: 1.562 MB / 372.3 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/0.06804, allocations: 5.489 MB / 377.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.08371, allocations: 25.33 MB / 403.1 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.08521, allocations: 1.178 MB / 404.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.0856, allocations: 467.1 kB / 404.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/0.08758, allocations: 2.027 MB / 406.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.08761, allocations: 54.44 kB / 406.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.08761, allocations: 0 / 406.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002156/0.08976, allocations: 1.824 MB / 408.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.08984, allocations: 217.6 kB / 408.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.09238, allocations: 3.531 MB / 412.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.09241, allocations: 37.7 kB / 412.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.09351, allocations: 2.775 MB / 415.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.0937, allocations: 397.2 kB / 415.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006589/0.09436, allocations: 0.949 MB / 416.5 MB, free: 2.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.09443, allocations: 301.1 kB / 416.8 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.09548, allocations: 1.208 MB / 418 MB, free: 1.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.09788, allocations: 4.53 MB / 422.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.1017, allocations: 6.294 MB / 428.8 MB, free: 3.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-05/0.1017, allocations: 36 kB / 428.9 MB, free: 3.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004596/0.1063, allocations: 5.424 MB / 434.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.1063, allocations: 63.88 kB / 434.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.344e-05/0.1064, allocations: 124 kB / 434.5 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-05/0.1065, allocations: 156 kB / 434.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.1087, allocations: 1.084 MB / 435.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001515/0.1088, allocations: 231.6 kB / 435.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.1105, allocations: 0.6631 MB / 436.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.1107, allocations: 320 kB / 436.9 MB, free: 11.01 MB / 410.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.001566/0.1123, allocations: 1.712 MB / 438.6 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.1125, allocations: 297.9 kB / 438.9 MB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.113, allocations: 478.4 kB / 439.4 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/0.113, allocations: 20 kB / 439.4 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1131, allocations: 4.219 kB / 439.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1131, allocations: 7.984 kB / 439.4 MB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.1157, allocations: 2.388 MB / 441.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1158, allocations: 7.938 kB / 441.8 MB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.116, allocations: 107.8 kB / 441.9 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.116, allocations: 4 kB / 441.9 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.116, allocations: 19.98 kB / 441.9 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.116, allocations: 4 kB / 442 MB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.116, allocations: 11.94 kB / 442 MB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1176, allocations: 2.201 MB / 444.2 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.1179, allocations: 345.9 kB / 444.5 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.118, allocations: 15.94 kB / 444.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.1184, allocations: 35.95 kB / 444.6 MB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.1185, allocations: 51.8 kB / 444.6 MB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.1185, allocations: 28 kB / 444.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00189/0.1204, allocations: 2.102 MB / 446.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1204, allocations: 0 / 446.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001926/0.1223, allocations: 0.8259 MB / 447.6 MB, free: 240 kB / 410.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.0002323/0.1226, allocations: 154.9 kB / 447.7 MB, free: 72 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1286/0.2512, allocations: 2.701 MB / 450.4 MB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2512, allocations: 0 / 450.4 MB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.2515, allocations: 399 kB / 450.8 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.2527, allocations: 339.4 kB / 451.1 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.2582, allocations: 7.018 MB / 458.1 MB, free: 109.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.2595, allocations: 2.127 MB / 460.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.2597, allocations: 226.9 kB / 460.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2597, allocations: 3.938 kB / 460.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03035/0.2901, allocations: 44.13 MB / 0.4928 GB, free: 65.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.388422556221485]