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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.21, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009416/0.2195, allocations: 8.99 MB / 418.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005122/0.2246, allocations: 2.721 MB / 421.7 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.2255, allocations: 47.88 kB / 421.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.2288, allocations: 1.834 MB / 423.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.2315, allocations: 1.327 MB / 424.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.2319, allocations: 207.7 kB / 425.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.2343, allocations: 2.347 MB / 427.4 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.2363, allocations: 2.103 MB / 429.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.2374, allocations: 0.9924 MB / 430.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.24, allocations: 2.447 MB / 433 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003284/0.2403, allocations: 191.9 kB / 433.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008532/0.2412, allocations: 0.4994 MB / 433.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009627/0.2421, allocations: 1.305 MB / 435 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.2433, allocations: 1.572 MB / 436.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.2472, allocations: 4.833 MB / 441.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2472, allocations: 3.938 kB / 441.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2472, allocations: 4 kB / 441.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.2472, allocations: 0 / 441.4 MB, free: 2.02 MB / 350.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.004754/0.252, allocations: 3.602 MB / 445 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.252, allocations: 8.031 kB / 445 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005609/0.2577, allocations: 1.696 MB / 446.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.2606, allocations: 1.584 MB / 448.3 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-05/0.2607, allocations: 151.8 kB / 448.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.261, allocations: 199.8 kB / 448.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007922/0.2689, allocations: 6.979 MB / 455.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.269, allocations: 31.75 kB / 455.6 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.2692, allocations: 99.88 kB / 455.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.2713, allocations: 1.559 MB / 457.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008063/0.2794, allocations: 5.497 MB / 462.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.3045, allocations: 27.12 MB / 489.9 MB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.3072, allocations: 1.633 MB / 491.5 MB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/0.3078, allocations: 0.498 MB / 492 MB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003578/0.3114, allocations: 2.69 MB / 494.7 MB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3115, allocations: 50.44 kB / 494.8 MB, free: 10.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.035e-06/0.3115, allocations: 0 / 494.8 MB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003692/0.3152, allocations: 1.761 MB / 496.5 MB, free: 8.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.3153, allocations: 213.6 kB / 496.7 MB, free: 8.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.3197, allocations: 3.661 MB / 0.4887 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.3198, allocations: 37.7 kB / 0.4887 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.3215, allocations: 2.687 MB / 0.4913 GB, free: 2.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.3219, allocations: 395.4 kB / 0.4917 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.3229, allocations: 0.9521 MB / 0.4926 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.323, allocations: 305.1 kB / 0.4929 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.3248, allocations: 1.208 MB / 0.4941 GB, free: 15.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.3285, allocations: 4.522 MB / 0.4985 GB, free: 9.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/0.3345, allocations: 6.293 MB / 0.5047 GB, free: 1.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.773e-05/0.3346, allocations: 40 kB / 0.5047 GB, free: 1.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007363/0.342, allocations: 5.433 MB / 0.51 GB, free: 11.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.342, allocations: 56 kB / 0.5101 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.492e-05/0.3421, allocations: 116 kB / 0.5102 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.3423, allocations: 160 kB / 0.5103 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.345, allocations: 1.084 MB / 0.5114 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001606/0.3452, allocations: 235.1 kB / 0.5116 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.3478, allocations: 0.6841 MB / 0.5123 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.3481, allocations: 320 kB / 0.5126 GB, free: 9.047 MB / 446.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.001868/0.35, allocations: 1.715 MB / 0.5143 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.3504, allocations: 296.1 kB / 0.5145 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007165/0.3511, allocations: 0.494 MB / 0.515 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3511, allocations: 4.281 kB / 0.515 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3511, allocations: 0 / 0.515 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/0.3518, allocations: 428.9 kB / 0.5154 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.352, allocations: 15.94 kB / 0.5154 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.3529, allocations: 31.97 kB / 0.5155 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.353, allocations: 39.89 kB / 0.5155 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001502/0.3545, allocations: 1.409 MB / 0.5169 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00217/0.3567, allocations: 2.246 MB / 0.5191 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00048/0.3571, allocations: 391.8 kB / 0.5195 GB, free: 1.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002847/0.36, allocations: 2.329 MB / 0.5217 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Backend: time 3.71e-07/0.36, allocations: 3.938 kB / 0.5217 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.3642, allocations: 2.589 MB / 0.5243 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 0.009117/0.3734, allocations: 7.308 MB / 0.5314 GB, free: 5.684 MB / 462.1 MB Notification: Performance of Templates: time 0.2097/0.583, allocations: 25.94 MB / 0.5567 GB, free: 112.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches