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.001631/0.001631, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002166/0.002166, allocations: 164.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.444/1.444, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.072e-05, allocations: 3.406 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009993/0.01001, allocations: 7.985 MB / 333.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.0162, allocations: 2.598 MB / 335.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.01786, allocations: 57.38 kB / 335.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004241/0.0221, allocations: 1.878 MB / 337.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.02605, allocations: 1.4 MB / 339 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.02664, allocations: 241.4 kB / 339.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004523/0.03116, allocations: 3.428 MB / 342.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.0338, allocations: 2.057 MB / 344.7 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.03602, allocations: 1.528 MB / 346.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.03872, allocations: 1.812 MB / 348.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.03912, allocations: 188 kB / 348.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.04012, allocations: 455.4 kB / 348.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.04145, allocations: 1.379 MB / 350.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.04253, allocations: 0.8133 MB / 350.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005249/0.04778, allocations: 4.714 MB / 355.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.04779, allocations: 4 kB / 355.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04779, allocations: 4 kB / 355.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.982e-05/0.04785, allocations: 0 / 355.6 MB, free: 6.504 MB / 318.1 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.005919/0.05377, allocations: 3.595 MB / 359.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.0538, allocations: 8.031 kB / 359.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006483/0.06029, allocations: 1.734 MB / 360.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.06343, allocations: 1.536 MB / 362.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.06356, allocations: 163.8 kB / 362.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003921/0.06395, allocations: 191.9 kB / 362.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/0.07394, allocations: 6.99 MB / 369.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.957e-05/0.074, allocations: 35.7 kB / 369.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.07428, allocations: 95.89 kB / 369.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/0.07674, allocations: 1.555 MB / 371.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0096/0.08634, allocations: 5.497 MB / 377 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02921/0.1155, allocations: 25.33 MB / 402.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.1183, allocations: 1.167 MB / 403.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/0.119, allocations: 477.6 kB / 404 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003856/0.1229, allocations: 2.027 MB / 406 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.1229, allocations: 54.44 kB / 406 MB, free: 2.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.1229, allocations: 4.109 kB / 406 MB, free: 2.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.004032/0.127, allocations: 1.821 MB / 407.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1271, allocations: 217.6 kB / 408.1 MB, free: 320 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.1323, allocations: 3.535 MB / 411.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.004e-05/0.1324, allocations: 33.7 kB / 411.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002252/0.1346, allocations: 2.775 MB / 414.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.1351, allocations: 401.2 kB / 414.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.1362, allocations: 0.9451 MB / 415.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1363, allocations: 305.3 kB / 416.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.1381, allocations: 1.208 MB / 417.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004795/0.1429, allocations: 4.526 MB / 421.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007927/0.1509, allocations: 6.296 MB / 428.1 MB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.699e-05/0.1509, allocations: 36 kB / 428.1 MB, free: 8.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008798/0.1597, allocations: 5.42 MB / 433.5 MB, free: 3.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.1598, allocations: 59.94 kB / 433.6 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.1599, allocations: 120.8 kB / 433.7 MB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.1601, allocations: 152 kB / 433.9 MB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.163, allocations: 1.096 MB / 435 MB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000191/0.1632, allocations: 231.1 kB / 435.2 MB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.1662, allocations: 0.667 MB / 435.8 MB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.1666, allocations: 319.9 kB / 436.2 MB, free: 0.7773 MB / 398.1 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.002409/0.169, allocations: 1.712 MB / 437.9 MB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.1694, allocations: 294 kB / 438.2 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.1702, allocations: 479.6 kB / 438.6 MB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.1703, allocations: 16 kB / 438.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1703, allocations: 4 kB / 438.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1703, allocations: 3.984 kB / 438.7 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.1747, allocations: 2.396 MB / 441 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.1747, allocations: 4 kB / 441.1 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.1751, allocations: 103.8 kB / 441.2 MB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1751, allocations: 8 kB / 441.2 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.1752, allocations: 15.98 kB / 441.2 MB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.1752, allocations: 8 kB / 441.2 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.1752, allocations: 7.938 kB / 441.2 MB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.1777, allocations: 2.205 MB / 443.4 MB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.1783, allocations: 334.1 kB / 443.7 MB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.1785, allocations: 23.92 kB / 443.7 MB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008233/0.1793, allocations: 27.97 kB / 443.8 MB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.1794, allocations: 55.73 kB / 443.8 MB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.115e-05/0.1795, allocations: 32 kB / 443.9 MB, free: 8.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002913/0.1824, allocations: 2.098 MB / 446 MB, free: 6.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1824, allocations: 0 / 446 MB, free: 6.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003327/0.1857, allocations: 0.8337 MB / 446.8 MB, free: 6.004 MB / 414.1 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.0003038/0.186, allocations: 143 kB / 446.9 MB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.19, allocations: 2.706 MB / 449.6 MB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.19, allocations: 0 / 449.6 MB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.1905, allocations: 405.2 kB / 450 MB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.1924, allocations: 350.5 kB / 450.4 MB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/0.2022, allocations: 6.643 MB / 457 MB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/0.2049, allocations: 2.128 MB / 459.1 MB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00325/0.2082, allocations: 1.457 MB / 460.6 MB, free: 8.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.2086, allocations: 188.5 kB / 460.8 MB, free: 7.906 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2086, allocations: 0 / 460.8 MB, free: 7.906 MB / 430.1 MB Notification: Performance of Templates: time 0.197/0.4055, allocations: 16.34 MB / 477.1 MB, free: 122.2 MB / 430.1 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: 5.504558578133583]