Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 153.4 kB / 24.81 MB, free: 9.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9529/0.9529, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.794e-05, allocations: 2.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006922/0.00694, allocations: 8.543 MB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.01156, allocations: 2.597 MB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.01242, allocations: 59.75 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.01468, allocations: 1.915 MB / 281.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.01711, allocations: 1.431 MB / 283 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.01744, allocations: 227.6 kB / 283.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002576/0.02002, allocations: 3.379 MB / 286.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.02149, allocations: 2.129 MB / 288.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.02304, allocations: 1.793 MB / 290.5 MB, free: 0 / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1208/0.1438, allocations: 1.561 MB / 292.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.1446, allocations: 182 kB / 292.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1456, allocations: 446.4 kB / 292.7 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.1471, allocations: 1.402 MB / 294.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.1483, allocations: 0.818 MB / 294.9 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.1521, allocations: 3.095 MB / 298 MB, free: 17.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1521, allocations: 0.6562 kB / 298 MB, free: 17.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1521, allocations: 0 / 298 MB, free: 17.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001314/0.1522, allocations: 1.406 kB / 298 MB, free: 17.97 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.005657/0.1579, allocations: 3.968 MB / 302 MB, free: 16.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1579, allocations: 13.86 kB / 302 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.161, allocations: 1.094 MB / 303.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1631, allocations: 1.554 MB / 304.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.1632, allocations: 154.5 kB / 304.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.1635, allocations: 192.5 kB / 305 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.1673, allocations: 3.89 MB / 308.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.1673, allocations: 25.06 kB / 308.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.1675, allocations: 103.1 kB / 309 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.1688, allocations: 1.408 MB / 310.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.1712, allocations: 1.591 MB / 312 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.1908, allocations: 31.68 MB / 343.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.1921, allocations: 0.6985 MB / 344.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.1923, allocations: 197.1 kB / 344.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/0.1949, allocations: 2.182 MB / 346.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.195, allocations: 48.95 kB / 346.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 3.015e-06/0.195, allocations: 0 / 346.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001834/0.1968, allocations: 1.059 MB / 347.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1969, allocations: 216.4 kB / 348 MB, free: 8.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.2001, allocations: 3.23 MB / 351.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.2002, allocations: 37.7 kB / 351.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.2018, allocations: 2.971 MB / 354.3 MB, free: 3.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.2021, allocations: 421.5 kB / 354.7 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/0.203, allocations: 1.068 MB / 355.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2031, allocations: 479.4 kB / 356.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.2036, allocations: 340.2 kB / 356.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.2065, allocations: 5.293 MB / 361.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.2114, allocations: 6.301 MB / 368.2 MB, free: 1.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.386e-05/0.2115, allocations: 36 kB / 368.2 MB, free: 1.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.005036/0.2165, allocations: 3.879 MB / 372.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.2166, allocations: 56 kB / 372.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.2167, allocations: 120.8 kB / 372.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.2168, allocations: 159.9 kB / 372.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.2187, allocations: 1.08 MB / 373.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001435/0.2188, allocations: 227.1 kB / 373.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.2214, allocations: 0.6523 MB / 374.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/0.2217, allocations: 284 kB / 374.6 MB, free: 10.75 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.002701/0.2244, allocations: 0.5706 MB / 375.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007757/0.2251, allocations: 310 kB / 375.5 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.2261, allocations: 372.5 kB / 375.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/0.2261, allocations: 27.94 kB / 375.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.2261, allocations: 3.984 kB / 375.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2262, allocations: 4 kB / 375.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.2314, allocations: 1.948 MB / 377.8 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.2314, allocations: 11.3 kB / 377.9 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.2318, allocations: 91.84 kB / 377.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.2318, allocations: 8 kB / 378 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.2318, allocations: 12 kB / 378 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.2318, allocations: 11.98 kB / 378 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.2318, allocations: 7.938 kB / 378 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2335, allocations: 1.684 MB / 379.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.2341, allocations: 309.7 kB / 380 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.2344, allocations: 15.98 kB / 380 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/0.2351, allocations: 16 kB / 380 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2352, allocations: 55.8 kB / 380.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.2353, allocations: 23.98 kB / 380.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001683/0.237, allocations: 1.333 MB / 381.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.237, allocations: 0 / 381.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002735/0.2397, allocations: 0.8492 MB / 382.3 MB, free: 2.938 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.0002662/0.24, allocations: 147 kB / 382.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.2422, allocations: 1.854 MB / 384.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2422, allocations: 4 kB / 384.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.2424, allocations: 206.6 kB / 384.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.2436, allocations: 354.2 kB / 384.8 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.2503, allocations: 5.653 MB / 390.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/0.2512, allocations: 0.9505 MB / 391.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009499/0.2521, allocations: 430.2 kB / 391.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.2526, allocations: 0.4981 MB / 392.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2526, allocations: 0 / 392.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of Templates: time 0.03248/0.2851, allocations: 18.47 MB / 410.8 MB, free: 6.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3393701557070017]