Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001914/0.001914, allocations: 81.69 kB / 21.99 MB, free: 4.754 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.002212/0.002212, allocations: 153.8 kB / 25.25 MB, free: 2.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 158.6 MB / 187 MB, free: 6.359 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 59.92 kB / 299.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2046, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01054/0.2152, allocations: 7.982 MB / 356.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005522/0.2207, allocations: 2.539 MB / 359 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007375/0.2214, allocations: 55.75 kB / 359.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.2251, allocations: 1.787 MB / 360.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.2281, allocations: 1.366 MB / 362.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.2286, allocations: 215.6 kB / 362.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.2314, allocations: 2.375 MB / 364.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.2335, allocations: 1.742 MB / 366.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.2348, allocations: 1.02 MB / 367.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.2379, allocations: 2.396 MB / 370 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003982/0.2383, allocations: 192 kB / 370.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.2392, allocations: 411.5 kB / 370.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.2405, allocations: 1.351 MB / 371.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.2418, allocations: 1.125 MB / 373.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005061/0.2468, allocations: 4.895 MB / 378 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2468, allocations: 0 / 378 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2468, allocations: 0 / 378 MB, free: 1.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.55e-05/0.2469, allocations: 0 / 378 MB, free: 1.957 MB / 334.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.00595/0.2529, allocations: 3.666 MB / 381.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2529, allocations: 15.98 kB / 381.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.2595, allocations: 1.683 MB / 383.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.2651, allocations: 1.537 MB / 384.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/0.2653, allocations: 155.8 kB / 385 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000825/0.2661, allocations: 191.9 kB / 385.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.2814, allocations: 6.994 MB / 392.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.2815, allocations: 35.64 kB / 392.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004266/0.282, allocations: 99.88 kB / 392.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004373/0.2863, allocations: 1.555 MB / 393.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.3038, allocations: 5.497 MB / 399.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04449/0.3483, allocations: 25.4 MB / 424.8 MB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.3511, allocations: 1.162 MB / 425.9 MB, free: 364 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008121/0.3519, allocations: 470.4 kB / 426.4 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004232/0.3561, allocations: 2.054 MB / 428.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.3561, allocations: 46.56 kB / 428.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.356e-06/0.3562, allocations: 0 / 428.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004247/0.3604, allocations: 1.803 MB / 430.3 MB, free: 11.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/0.3606, allocations: 217.6 kB / 430.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006235/0.3668, allocations: 3.536 MB / 434 MB, free: 8.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.3669, allocations: 37.7 kB / 434.1 MB, free: 8.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/0.3693, allocations: 2.806 MB / 436.9 MB, free: 5.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/0.3698, allocations: 409.2 kB / 437.3 MB, free: 4.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/0.3712, allocations: 0.9646 MB / 438.3 MB, free: 3.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3713, allocations: 301.1 kB / 438.5 MB, free: 3.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.3733, allocations: 1.204 MB / 439.8 MB, free: 2.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004755/0.3781, allocations: 4.53 MB / 444.3 MB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/0.3856, allocations: 6.309 MB / 450.6 MB, free: 4.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.3857, allocations: 32 kB / 450.6 MB, free: 4.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009903/0.3956, allocations: 5.432 MB / 456.1 MB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.3957, allocations: 60.25 kB / 456.1 MB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/0.3959, allocations: 116 kB / 456.2 MB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.3961, allocations: 156 kB / 456.4 MB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.3993, allocations: 1.084 MB / 457.5 MB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002236/0.3996, allocations: 231.1 kB / 457.7 MB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.403, allocations: 0.6787 MB / 458.4 MB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005414/0.4035, allocations: 312 kB / 458.7 MB, free: 12.05 MB / 430.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.002733/0.4062, allocations: 1.704 MB / 460.4 MB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.4068, allocations: 294 kB / 460.7 MB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4079, allocations: 475.8 kB / 461.1 MB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/0.4079, allocations: 19.98 kB / 461.1 MB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4079, allocations: 4 kB / 461.2 MB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4079, allocations: 4 kB / 461.2 MB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.4135, allocations: 2.396 MB / 463.6 MB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4136, allocations: 4 kB / 463.6 MB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.4141, allocations: 104.1 kB / 463.7 MB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.4141, allocations: 7.984 kB / 463.7 MB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/0.4141, allocations: 12.28 kB / 463.7 MB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/0.4141, allocations: 15.94 kB / 463.7 MB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4141, allocations: 11.88 kB / 463.7 MB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.4168, allocations: 2.203 MB / 465.9 MB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007827/0.4176, allocations: 337.8 kB / 466.2 MB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.4179, allocations: 19.94 kB / 466.3 MB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.4189, allocations: 31.97 kB / 466.3 MB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.419, allocations: 51.8 kB / 466.3 MB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.4191, allocations: 32.05 kB / 466.4 MB, free: 4.195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003461/0.4225, allocations: 2.102 MB / 468.5 MB, free: 2.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4225, allocations: 0 / 468.5 MB, free: 2.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003852/0.4264, allocations: 0.8415 MB / 469.3 MB, free: 1.258 MB / 430.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.0003386/0.4267, allocations: 150.9 kB / 469.5 MB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.174/0.6007, allocations: 2.71 MB / 472.2 MB, free: 107.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6007, allocations: 0 / 472.2 MB, free: 107.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.6013, allocations: 400.2 kB / 472.6 MB, free: 107.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.6033, allocations: 347.5 kB / 472.9 MB, free: 107.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.6112, allocations: 6.721 MB / 479.6 MB, free: 104.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.6132, allocations: 2.126 MB / 481.7 MB, free: 103.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002621/0.6158, allocations: 1.466 MB / 483.2 MB, free: 103.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.6161, allocations: 189.3 kB / 483.4 MB, free: 103.7 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6161, allocations: 0 / 483.4 MB, free: 103.7 MB / 430.1 MB Notification: Performance of Templates: time 0.03402/0.6501, allocations: 16.4 MB / 499.8 MB, free: 88.12 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.497992571094073]