Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009115/0.0009113, allocations: 173.7 kB / 16.41 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000803/0.0008029, allocations: 90.34 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2102, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01894/0.2292, allocations: 30.3 MB / 404.8 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.2398, allocations: 6.293 MB / 411.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.2426, allocations: 135.7 kB / 411.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2446, allocations: 1.551 MB / 412.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006458/0.2511, allocations: 4.553 MB / 417.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.2517, allocations: 207.7 kB / 417.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01703/0.2687, allocations: 17.47 MB / 435.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.2716, allocations: 2.421 MB / 437.5 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009116/0.2725, allocations: 0.8444 MB / 438.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.2739, allocations: 1.363 MB / 439.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.2741, allocations: 96 kB / 439.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.2749, allocations: 499.2 kB / 440.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000893/0.2758, allocations: 1.27 MB / 441.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.2762, allocations: 0.6051 MB / 442.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.2787, allocations: 3.511 MB / 445.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2788, allocations: 0 / 445.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2788, allocations: 0 / 445.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.108e-05/0.2788, allocations: 0 / 445.7 MB, free: 9.5 MB / 330.7 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.003741/0.2825, allocations: 2.854 MB / 448.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2826, allocations: 8.031 kB / 448.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.2873, allocations: 1.665 MB / 450.2 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.2893, allocations: 1.444 MB / 451.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.2894, allocations: 151.8 kB / 451.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.2897, allocations: 195.8 kB / 452 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/0.297, allocations: 6.983 MB / 458.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.297, allocations: 27.75 kB / 459 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.2973, allocations: 99.89 kB / 459.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.2992, allocations: 1.562 MB / 460.6 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007364/0.3066, allocations: 5.446 MB / 466.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02304/0.3296, allocations: 27.17 MB / 493.2 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.332, allocations: 1.588 MB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/0.3325, allocations: 487.9 kB / 495.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003655/0.3362, allocations: 2.576 MB / 497.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3363, allocations: 42.5 kB / 497.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.657e-06/0.3363, allocations: 3.938 kB / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.004853/0.3411, allocations: 1.635 MB / 499.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.3412, allocations: 187.9 kB / 499.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1672/0.5085, allocations: 3.423 MB / 0.4914 GB, free: 111.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.5087, allocations: 36.55 kB / 0.4914 GB, free: 111.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.5099, allocations: 2.589 MB / 0.4939 GB, free: 109.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.5103, allocations: 361.2 kB / 0.4943 GB, free: 109.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.5104, allocations: 96.88 kB / 0.4944 GB, free: 109.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.5106, allocations: 0.5025 MB / 0.4949 GB, free: 109.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.5123, allocations: 1.184 MB / 0.496 GB, free: 108.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.5151, allocations: 4.548 MB / 0.5005 GB, free: 103.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.5179, allocations: 2.287 MB / 0.5027 GB, free: 102.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.139e-05/0.518, allocations: 37.91 kB / 0.5027 GB, free: 102.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006734/0.5248, allocations: 5.383 MB / 0.508 GB, free: 100.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.5248, allocations: 58.28 kB / 0.5081 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-05/0.525, allocations: 122.4 kB / 0.5082 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.5251, allocations: 179 kB / 0.5083 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/0.5276, allocations: 1.1 MB / 0.5094 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001118/0.5277, allocations: 240.5 kB / 0.5096 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.5304, allocations: 0.6955 MB / 0.5103 GB, free: 99.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.5306, allocations: 316.8 kB / 0.5106 GB, free: 99.39 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001669/0.5323, allocations: 1.674 MB / 0.5123 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.5326, allocations: 272.4 kB / 0.5125 GB, free: 97.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/0.5332, allocations: 484 kB / 0.513 GB, free: 96.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5333, allocations: 12 kB / 0.513 GB, free: 96.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5333, allocations: 2.438 kB / 0.513 GB, free: 96.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5333, allocations: 4 kB / 0.513 GB, free: 96.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.5369, allocations: 3.035 MB / 0.516 GB, free: 93.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5369, allocations: 4.281 kB / 0.516 GB, free: 93.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.5373, allocations: 103.9 kB / 0.5161 GB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.5373, allocations: 4 kB / 0.5161 GB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.5374, allocations: 20.86 kB / 0.5161 GB, free: 93.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.5374, allocations: 11.94 kB / 0.5161 GB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5374, allocations: 4 kB / 0.5161 GB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.5389, allocations: 2.01 MB / 0.5181 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.5393, allocations: 417.2 kB / 0.5185 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.5395, allocations: 19.98 kB / 0.5185 GB, free: 91.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.5403, allocations: 35.59 kB / 0.5185 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.5404, allocations: 47.78 kB / 0.5186 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.5404, allocations: 28 kB / 0.5186 GB, free: 91.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002056/0.5425, allocations: 2.165 MB / 0.5207 GB, free: 88.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.5425, allocations: 7.938 kB / 0.5207 GB, free: 88.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002873/0.5454, allocations: 0.8136 MB / 0.5215 GB, free: 88.11 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002513/0.5456, allocations: 156.2 kB / 0.5217 GB, free: 87.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.5486, allocations: 2.757 MB / 0.5243 GB, free: 85.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5486, allocations: 0 / 0.5243 GB, free: 85.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.549, allocations: 406.7 kB / 0.5247 GB, free: 84.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.5506, allocations: 341.1 kB / 0.5251 GB, free: 84.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.5586, allocations: 8.216 MB / 0.5331 GB, free: 76.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.5604, allocations: 2.549 MB / 0.5356 GB, free: 73.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.5608, allocations: 227.4 kB / 0.5358 GB, free: 73.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5609, allocations: 0 / 0.5358 GB, free: 73.44 MB / 378.7 MB Notification: Performance of Templates: time 0.06554/0.6264, allocations: 63.33 MB / 0.5976 GB, free: 10.03 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches