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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 106.1 kB / 18.4 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 185.5 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 55.91 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.07362, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1557/0.2293, allocations: 9.021 MB / 384.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.2342, allocations: 2.663 MB / 387.5 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.2356, allocations: 51.88 kB / 387.6 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.2389, allocations: 1.821 MB / 389.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.242, allocations: 1.349 MB / 390.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.2426, allocations: 214.3 kB / 391 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.2456, allocations: 2.368 MB / 393.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.2484, allocations: 2.131 MB / 395.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2498, allocations: 0.9954 MB / 396.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.2524, allocations: 2.341 MB / 398.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.2528, allocations: 187.2 kB / 399 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.2536, allocations: 490.6 kB / 399.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009582/0.2546, allocations: 1.319 MB / 400.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009715/0.2556, allocations: 1.587 MB / 402.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.2595, allocations: 4.856 MB / 407.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2596, allocations: 5.438 kB / 407.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2596, allocations: 0 / 407.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.735e-05/0.2596, allocations: 0 / 407.2 MB, free: 13.48 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.005168/0.2648, allocations: 3.629 MB / 410.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2648, allocations: 10.25 kB / 410.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.27, allocations: 1.65 MB / 412.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.2724, allocations: 1.577 MB / 414.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2725, allocations: 158.1 kB / 414.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.2729, allocations: 193.7 kB / 414.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008427/0.2813, allocations: 6.984 MB / 421.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.58e-05/0.2814, allocations: 23.75 kB / 421.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.2816, allocations: 99.89 kB / 421.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002175/0.2838, allocations: 1.57 MB / 423.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008073/0.2919, allocations: 5.481 MB / 428.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.3166, allocations: 27.13 MB / 455.7 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.3192, allocations: 1.642 MB / 457.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.3199, allocations: 0.4911 MB / 457.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/0.3234, allocations: 2.678 MB / 460.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3235, allocations: 46.55 kB / 460.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.3235, allocations: 0 / 460.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003717/0.3272, allocations: 1.754 MB / 462.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.3273, allocations: 221.8 kB / 462.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.3316, allocations: 3.661 MB / 466.2 MB, free: 3.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.3317, allocations: 33.7 kB / 466.2 MB, free: 3.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.3335, allocations: 2.691 MB / 468.9 MB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.3338, allocations: 387.5 kB / 469.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.3349, allocations: 0.9559 MB / 470.3 MB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.335, allocations: 309.1 kB / 470.6 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.3367, allocations: 1.204 MB / 471.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/0.3405, allocations: 4.526 MB / 476.3 MB, free: 7.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005867/0.3464, allocations: 6.304 MB / 482.6 MB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.22e-05/0.3465, allocations: 36 kB / 482.6 MB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007606/0.3541, allocations: 5.441 MB / 488.1 MB, free: 9.773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.3542, allocations: 56 kB / 488.1 MB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.509e-05/0.3543, allocations: 120.9 kB / 488.2 MB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.3544, allocations: 152 kB / 488.4 MB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.3572, allocations: 1.092 MB / 489.5 MB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/0.3574, allocations: 236.6 kB / 489.7 MB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.3604, allocations: 0.6686 MB / 490.4 MB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/0.3607, allocations: 324.2 kB / 490.7 MB, free: 7.137 MB / 414.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.002254/0.363, allocations: 1.708 MB / 492.4 MB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.3634, allocations: 304 kB / 492.7 MB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.3642, allocations: 0.491 MB / 493.2 MB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.3642, allocations: 3.984 kB / 493.2 MB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3642, allocations: 4 kB / 493.2 MB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.3648, allocations: 420.9 kB / 493.6 MB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.3651, allocations: 23.83 kB / 493.6 MB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008433/0.3659, allocations: 35.97 kB / 493.7 MB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3661, allocations: 39.83 kB / 493.7 MB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001502/0.3676, allocations: 1.414 MB / 495.1 MB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002131/0.3697, allocations: 2.234 MB / 497.4 MB, free: 404 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004811/0.3702, allocations: 391.8 kB / 497.7 MB, free: 12 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003027/0.3732, allocations: 2.337 MB / 0.4884 GB, free: 13.69 MB / 430.1 MB Notification: Performance of Backend: time 2.61e-07/0.3732, allocations: 0 / 0.4884 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004581/0.3778, allocations: 2.586 MB / 0.4909 GB, free: 11.12 MB / 430.1 MB Notification: Performance of SimCode: time 0.01009/0.3879, allocations: 7.324 MB / 0.498 GB, free: 3.754 MB / 430.1 MB Notification: Performance of Templates: time 0.04855/0.4365, allocations: 25.88 MB / 0.5233 GB, free: 9.832 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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) 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) Reference file matches