Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002311/0.002311, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.981e-05, allocations: 6.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01254/0.01257, allocations: 8.722 MB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.01922, allocations: 2.647 MB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.02067, allocations: 55.75 kB / 283.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004599/0.02527, allocations: 1.966 MB / 285.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.02962, allocations: 1.411 MB / 287 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.03039, allocations: 243.4 kB / 287.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1637/0.1941, allocations: 3.428 MB / 290.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002776/0.1969, allocations: 2.11 MB / 292.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.1994, allocations: 1.535 MB / 294.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.2027, allocations: 1.82 MB / 296.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006234/0.2033, allocations: 188.9 kB / 296.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.2045, allocations: 462.5 kB / 296.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.2058, allocations: 1.391 MB / 298.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.2068, allocations: 0.8153 MB / 299 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004607/0.2114, allocations: 4.726 MB / 303.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2114, allocations: 0 / 303.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2114, allocations: 0 / 303.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001475/0.2116, allocations: 2.219 kB / 303.7 MB, free: 12.93 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.006819/0.2184, allocations: 4.278 MB / 308 MB, free: 9.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2184, allocations: 13.39 kB / 308 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.2244, allocations: 2.029 MB / 310 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.2277, allocations: 1.478 MB / 311.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.2278, allocations: 147.7 kB / 311.7 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.2282, allocations: 200.8 kB / 311.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.2344, allocations: 4.453 MB / 316.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-05/0.2345, allocations: 28.08 kB / 316.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.2348, allocations: 103.6 kB / 316.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001766/0.2365, allocations: 1.554 MB / 318 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005317/0.2418, allocations: 2.152 MB / 320.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04383/0.2857, allocations: 34.19 MB / 354.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.2883, allocations: 0.7861 MB / 355.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.2888, allocations: 234 kB / 355.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004997/0.2938, allocations: 2.277 MB / 357.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.2938, allocations: 52.11 kB / 357.7 MB, free: 9.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.065e-06/0.2938, allocations: 0 / 357.7 MB, free: 9.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.003556/0.2974, allocations: 1.141 MB / 358.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.2976, allocations: 224.8 kB / 359 MB, free: 8.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00674/0.3043, allocations: 4.017 MB / 363.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.3044, allocations: 37.7 kB / 363.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003265/0.3077, allocations: 3.12 MB / 366.2 MB, free: 1.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/0.3084, allocations: 439.8 kB / 366.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.3103, allocations: 1.2 MB / 367.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.3105, allocations: 480.8 kB / 368.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.3117, allocations: 465.1 kB / 368.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006285/0.318, allocations: 5.537 MB / 374.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009102/0.3271, allocations: 6.586 MB / 380.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001885/0.3273, allocations: 36 kB / 380.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01031/0.3376, allocations: 4.196 MB / 385.1 MB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.3377, allocations: 60.06 kB / 385.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/0.3379, allocations: 120 kB / 385.3 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.3381, allocations: 160.8 kB / 385.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.3417, allocations: 1.084 MB / 386.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002395/0.342, allocations: 235.1 kB / 386.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/0.3463, allocations: 0.6632 MB / 387.4 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/0.3468, allocations: 316 kB / 387.7 MB, free: 7.066 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.001904/0.3488, allocations: 0.6396 MB / 388.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007527/0.3495, allocations: 314 kB / 388.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3506, allocations: 385.7 kB / 389.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.3506, allocations: 31.92 kB / 389.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.3506, allocations: 2.938 kB / 389.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.3506, allocations: 8 kB / 389.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008146/0.3588, allocations: 3.477 MB / 392.6 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.3588, allocations: 4 kB / 392.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.3593, allocations: 103.8 kB / 392.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.3594, allocations: 8 kB / 392.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.3594, allocations: 15.98 kB / 392.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.3594, allocations: 12.28 kB / 392.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.3594, allocations: 7.938 kB / 392.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.362, allocations: 1.811 MB / 394.5 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009679/0.363, allocations: 322 kB / 394.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.3632, allocations: 19.95 kB / 394.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.364, allocations: 31.97 kB / 394.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3641, allocations: 51.28 kB / 395 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.3642, allocations: 32 kB / 395 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003348/0.3675, allocations: 1.712 MB / 396.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3675, allocations: 0 / 396.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004795/0.3723, allocations: 0.8298 MB / 397.5 MB, free: 13.12 MB / 362.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.000464/0.3728, allocations: 141.8 kB / 397.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005626/0.3784, allocations: 2.156 MB / 399.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.3784, allocations: 0 / 399.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.379, allocations: 247.6 kB / 400.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.3823, allocations: 357.5 kB / 400.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.3979, allocations: 5.698 MB / 406.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004719/0.4027, allocations: 1.926 MB / 408 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003855/0.4065, allocations: 1.301 MB / 409.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.4071, allocations: 184.5 kB / 409.5 MB, free: 1.008 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4071, allocations: 3.938 kB / 409.5 MB, free: 1.004 MB / 362.7 MB Notification: Performance of Templates: time 0.04937/0.4565, allocations: 16.17 MB / 425.7 MB, free: 1.312 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.837114672991447]