Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007799/0.0007798, allocations: 92.11 kB / 17.31 MB, free: 6.531 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.0007946/0.0007946, allocations: 177.1 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.108/1.108, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002185/0.0002185, allocations: 12.12 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06798/0.06822, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1502/0.2184, allocations: 32.52 MB / 385 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.2289, allocations: 6.581 MB / 391.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.233, allocations: 146.3 kB / 391.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.2339, allocations: 335.4 kB / 392.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.2364, allocations: 1.259 MB / 393.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.2369, allocations: 197.9 kB / 393.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.2408, allocations: 4.518 MB / 398 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.2432, allocations: 2.728 MB / 400.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/0.2439, allocations: 0.774 MB / 401.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.2451, allocations: 1.522 MB / 403.1 MB, free: 276 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.2453, allocations: 97.97 kB / 403.2 MB, free: 276 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.2458, allocations: 419.5 kB / 403.6 MB, free: 76 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007319/0.2466, allocations: 1.213 MB / 404.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009167/0.2475, allocations: 1.506 MB / 406.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.2499, allocations: 3.6 MB / 409.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2499, allocations: 0 / 409.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2499, allocations: 0 / 409.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.25, allocations: 4 kB / 409.9 MB, free: 10.88 MB / 318.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.003611/0.2536, allocations: 2.998 MB / 412.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.2536, allocations: 8.031 kB / 412.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.2581, allocations: 1.692 MB / 414.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.26, allocations: 1.565 MB / 416.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-05/0.2601, allocations: 155.7 kB / 416.3 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.2604, allocations: 199.8 kB / 416.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006871/0.2672, allocations: 6.982 MB / 423.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.2673, allocations: 27.75 kB / 423.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.2675, allocations: 103.9 kB / 423.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001829/0.2694, allocations: 1.559 MB / 425.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006767/0.2761, allocations: 5.493 MB / 430.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.2966, allocations: 27.28 MB / 457.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.2988, allocations: 1.586 MB / 459.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.2994, allocations: 473.4 kB / 460 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002645/0.302, allocations: 2.577 MB / 462.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3021, allocations: 50.5 kB / 462.6 MB, free: 4.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.104e-06/0.3021, allocations: 0 / 462.6 MB, free: 4.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003061/0.3051, allocations: 1.659 MB / 464.3 MB, free: 2.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.3052, allocations: 191.9 kB / 464.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/0.3088, allocations: 3.722 MB / 468.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3089, allocations: 33.7 kB / 468.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.3104, allocations: 2.718 MB / 470.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.3106, allocations: 363.8 kB / 471.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.311, allocations: 408.3 kB / 471.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.3111, allocations: 305.1 kB / 472 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3125, allocations: 1.204 MB / 473.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/0.3157, allocations: 4.56 MB / 477.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005041/0.3207, allocations: 6.315 MB / 484.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.741e-05/0.3208, allocations: 40 kB / 484.1 MB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006383/0.3271, allocations: 5.447 MB / 489.5 MB, free: 5.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.3272, allocations: 56 kB / 489.6 MB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.911e-05/0.3273, allocations: 120.9 kB / 489.7 MB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/0.3274, allocations: 156 kB / 489.9 MB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.3298, allocations: 1.107 MB / 491 MB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/0.33, allocations: 235.1 kB / 491.2 MB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.3323, allocations: 0.6957 MB / 491.9 MB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.3326, allocations: 320 kB / 492.2 MB, free: 3.059 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (597): * Single equations (assignments): 594 * Array equations: 3 * 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.001705/0.3343, allocations: 1.719 MB / 493.9 MB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.3346, allocations: 296.1 kB / 494.2 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.3353, allocations: 0.4905 MB / 494.7 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.3353, allocations: 16 kB / 494.7 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3353, allocations: 0 / 494.7 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.3353, allocations: 7.922 kB / 494.7 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.3391, allocations: 3.131 MB / 497.9 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3391, allocations: 4 kB / 497.9 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.3395, allocations: 107.8 kB / 498 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3396, allocations: 4 kB / 498 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.3396, allocations: 20.27 kB / 498 MB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3396, allocations: 15.98 kB / 498 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3396, allocations: 4 kB / 498 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3414, allocations: 2.047 MB / 0.4883 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.3419, allocations: 436.8 kB / 0.4888 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.3421, allocations: 8 kB / 0.4888 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008422/0.3429, allocations: 35.97 kB / 0.4888 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.343, allocations: 51.88 kB / 0.4889 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.3431, allocations: 28 kB / 0.4889 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0025/0.3456, allocations: 2.361 MB / 0.4912 GB, free: 8.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3456, allocations: 0 / 0.4912 GB, free: 8.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002562/0.3481, allocations: 0.8177 MB / 0.492 GB, free: 7.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.0002143/0.3484, allocations: 143.1 kB / 0.4921 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.3513, allocations: 2.78 MB / 0.4948 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3513, allocations: 0 / 0.4948 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.3517, allocations: 404.8 kB / 0.4952 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.3547, allocations: 362 kB / 0.4956 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.3631, allocations: 8.633 MB / 0.504 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.3654, allocations: 2.683 MB / 0.5066 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.3658, allocations: 235.4 kB / 0.5068 GB, free: 8.016 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3659, allocations: 0 / 0.5068 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Templates: time 0.1663/0.5322, allocations: 43.01 MB / 0.5489 GB, free: 137.2 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches