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.001726/0.001726, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002036/0.002036, allocations: 198.7 kB / 25.23 MB, free: 3.539 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.59/1.59, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] 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.001973/0.001973, allocations: 52.34 kB / 348.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01021/0.3405, allocations: 9.103 MB / 406.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.3481, allocations: 2.69 MB / 409.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.3502, allocations: 56.97 kB / 409.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.3544, allocations: 1.861 MB / 411.3 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.3596, allocations: 1.362 MB / 412.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.3605, allocations: 217.8 kB / 412.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005106/0.3656, allocations: 2.37 MB / 415.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.3683, allocations: 1.742 MB / 417 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3704, allocations: 1.023 MB / 418 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/0.3749, allocations: 2.477 MB / 420.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007435/0.3756, allocations: 188 kB / 420.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3769, allocations: 0.4946 MB / 421.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.3784, allocations: 1.349 MB / 422.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.3805, allocations: 1.586 MB / 424.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006799/0.3873, allocations: 4.88 MB / 429 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3873, allocations: 0 / 429 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3873, allocations: 4 kB / 429 MB, free: 3.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.3874, allocations: 0 / 429 MB, free: 3.875 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.006979/0.3944, allocations: 3.658 MB / 432.7 MB, free: 168 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3944, allocations: 19.97 kB / 432.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.3997, allocations: 1.67 MB / 434.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.4034, allocations: 1.527 MB / 435.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.4036, allocations: 151.7 kB / 436 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/0.404, allocations: 199.9 kB / 436.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.416, allocations: 6.982 MB / 443.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.966e-05/0.4161, allocations: 31.69 kB / 443.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.4163, allocations: 103.9 kB / 443.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002494/0.4188, allocations: 1.562 MB / 444.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.4298, allocations: 5.489 MB / 450.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04262/0.4724, allocations: 27.07 MB / 477.5 MB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.4758, allocations: 1.136 MB / 478.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009245/0.4767, allocations: 466.4 kB / 479.1 MB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00537/0.4821, allocations: 2.234 MB / 481.3 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.4821, allocations: 38.56 kB / 481.3 MB, free: 13.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 5.661e-06/0.4821, allocations: 7.984 kB / 481.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004518/0.4866, allocations: 1.761 MB / 483.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.4868, allocations: 225.5 kB / 483.3 MB, free: 11.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008062/0.4949, allocations: 3.674 MB / 487 MB, free: 8.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.495, allocations: 37.7 kB / 487 MB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003289/0.4983, allocations: 2.796 MB / 489.8 MB, free: 5.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007662/0.4991, allocations: 409.1 kB / 490.2 MB, free: 4.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/0.5012, allocations: 0.9685 MB / 491.2 MB, free: 3.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5013, allocations: 305.1 kB / 491.5 MB, free: 3.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.5037, allocations: 1.204 MB / 492.7 MB, free: 2.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006043/0.5097, allocations: 4.526 MB / 497.2 MB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009258/0.519, allocations: 6.293 MB / 0.4917 GB, free: 4.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001609/0.5191, allocations: 36 kB / 0.4917 GB, free: 4.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.0122/0.5313, allocations: 5.46 MB / 0.4971 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.5315, allocations: 56 kB / 0.4971 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003189/0.5318, allocations: 120.3 kB / 0.4972 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.532, allocations: 156 kB / 0.4974 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.5357, allocations: 1.088 MB / 0.4985 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000244/0.536, allocations: 235.1 kB / 0.4987 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/0.5403, allocations: 0.698 MB / 0.4994 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007718/0.5411, allocations: 316 kB / 0.4997 GB, free: 12.03 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.003419/0.5445, allocations: 1.712 MB / 0.5013 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/0.5453, allocations: 313.9 kB / 0.5016 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.5467, allocations: 498.4 kB / 0.5021 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/0.5468, allocations: 27.94 kB / 0.5021 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.5468, allocations: 4 kB / 0.5021 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.5468, allocations: 3.984 kB / 0.5021 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00917/0.556, allocations: 3.122 MB / 0.5052 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.556, allocations: 4 kB / 0.5052 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.5566, allocations: 107.8 kB / 0.5053 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.5566, allocations: 4 kB / 0.5053 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.5566, allocations: 19.98 kB / 0.5053 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.5567, allocations: 8 kB / 0.5053 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.5567, allocations: 12.22 kB / 0.5053 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.5599, allocations: 2.231 MB / 0.5075 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.561, allocations: 369.7 kB / 0.5079 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005617/0.5616, allocations: 19.95 kB / 0.5079 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.5628, allocations: 31.91 kB / 0.5079 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.563, allocations: 55.78 kB / 0.508 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/0.563, allocations: 28 kB / 0.508 GB, free: 3.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004971/0.568, allocations: 2.345 MB / 0.5103 GB, free: 1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.568, allocations: 0 / 0.5103 GB, free: 1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00499/0.573, allocations: 0.8106 MB / 0.5111 GB, free: 192 kB / 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.000483/0.5735, allocations: 143 kB / 0.5112 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005833/0.5793, allocations: 2.711 MB / 0.5139 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.5793, allocations: 4 kB / 0.5139 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.58, allocations: 401.1 kB / 0.5143 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.583, allocations: 385.6 kB / 0.5146 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.5991, allocations: 7.148 MB / 0.5216 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0048/0.6039, allocations: 2.683 MB / 0.5242 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/0.6046, allocations: 235.4 kB / 0.5244 GB, free: 2.414 MB / 446.1 MB Notification: Performance of SimCode: time 1.193e-06/0.6046, allocations: 0 / 0.5244 GB, free: 2.414 MB / 446.1 MB Notification: Performance of Templates: time 0.3408/0.9454, allocations: 44.16 MB / 0.5676 GB, free: 128.9 MB / 478.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 -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: 12.440054767066613]