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.001219/0.001219, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001261/0.001261, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9952/0.9952, allocations: 177.1 MB / 205 MB, free: 5.633 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.112e-06/1.112e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.11e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007126/0.007147, allocations: 8.781 MB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.0111, allocations: 2.667 MB / 284.4 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.01181, allocations: 55.75 kB / 284.5 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.01456, allocations: 1.97 MB / 286.5 MB, free: 4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.01685, allocations: 1.403 MB / 287.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.01726, allocations: 243.5 kB / 288.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1217/0.139, allocations: 3.43 MB / 291.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002928/0.1419, allocations: 2.118 MB / 293.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.1442, allocations: 1.534 MB / 295.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.1466, allocations: 1.825 MB / 297 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004923/0.1471, allocations: 187.4 kB / 297.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.148, allocations: 461.3 kB / 297.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008882/0.1488, allocations: 1.395 MB / 299 MB, free: 14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009092/0.1498, allocations: 0.8122 MB / 299.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.1526, allocations: 3.086 MB / 302.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1526, allocations: 0 / 302.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1526, allocations: 0 / 302.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.523e-05/0.1526, allocations: 0 / 302.9 MB, free: 13.09 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.005077/0.1577, allocations: 3.952 MB / 306.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1578, allocations: 8.812 kB / 306.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.1628, allocations: 2.018 MB / 308.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.165, allocations: 1.482 MB / 310.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1651, allocations: 146.3 kB / 310.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.1654, allocations: 202.3 kB / 310.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.1702, allocations: 4.153 MB / 314.9 MB, free: 5.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.1703, allocations: 32.41 kB / 314.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.1705, allocations: 96.98 kB / 315 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/0.1722, allocations: 1.552 MB / 316.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.1765, allocations: 1.938 MB / 318.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.1969, allocations: 31.74 MB / 350.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.1982, allocations: 0.7319 MB / 351 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.1985, allocations: 219.3 kB / 351.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/0.2008, allocations: 2.238 MB / 353.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.2008, allocations: 52.67 kB / 353.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.384e-06/0.2008, allocations: 112 / 353.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.001824/0.2026, allocations: 1.108 MB / 354.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.2027, allocations: 216.3 kB / 354.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/0.2059, allocations: 3.239 MB / 358.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.206, allocations: 37.7 kB / 358.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.2081, allocations: 2.94 MB / 361 MB, free: 6.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.2085, allocations: 421.9 kB / 361.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009358/0.2094, allocations: 1.043 MB / 362.5 MB, free: 5.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.2095, allocations: 476.8 kB / 362.9 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.2102, allocations: 429.3 kB / 363.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/0.2131, allocations: 5.34 MB / 368.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004104/0.2172, allocations: 6.372 MB / 375.1 MB, free: 4.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-05/0.2172, allocations: 36 kB / 375.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005319/0.2225, allocations: 4.107 MB / 379.2 MB, free: 20 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.2226, allocations: 59.98 kB / 379.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.2227, allocations: 123.9 kB / 379.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.2228, allocations: 156 kB / 379.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.2247, allocations: 1.08 MB / 380.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/0.2248, allocations: 235.1 kB / 380.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.227, allocations: 0.6636 MB / 381.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/0.2274, allocations: 316.8 kB / 381.8 MB, free: 13.4 MB / 346.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.0012/0.2286, allocations: 0.5684 MB / 382.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.229, allocations: 306 kB / 382.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.2295, allocations: 399.7 kB / 383.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/0.2295, allocations: 16 kB / 383.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2295, allocations: 0 / 383.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2295, allocations: 7.984 kB / 383.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.2338, allocations: 2.747 MB / 385.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.2338, allocations: 5.594 kB / 385.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.2341, allocations: 107.8 kB / 386 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2341, allocations: 4 kB / 386 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.2342, allocations: 23.98 kB / 386 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.2342, allocations: 7.938 kB / 386 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2342, allocations: 4 kB / 386 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2354, allocations: 1.737 MB / 387.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.2359, allocations: 325.8 kB / 388.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.236, allocations: 15.95 kB / 388.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.2366, allocations: 38.58 kB / 388.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.2366, allocations: 50.75 kB / 388.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.2367, allocations: 35.98 kB / 388.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001604/0.2383, allocations: 1.423 MB / 389.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2383, allocations: 0 / 389.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003093/0.2414, allocations: 0.8351 MB / 390.5 MB, free: 4.609 MB / 346.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.0002918/0.2417, allocations: 146.5 kB / 390.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.2447, allocations: 1.935 MB / 392.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2447, allocations: 4 kB / 392.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.2449, allocations: 220.5 kB / 392.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2462, allocations: 365.5 kB / 393.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.2536, allocations: 5.621 MB / 398.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.2543, allocations: 0.9549 MB / 399.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001783/0.2561, allocations: 1.297 MB / 401 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.2563, allocations: 184.5 kB / 401.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of SimCode: time 2.425e-06/0.2564, allocations: 8 kB / 401.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of Templates: time 0.02967/0.286, allocations: 16.22 MB / 417.4 MB, free: 10.03 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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","",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.6219472140073776]