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.001212/0.001213, allocations: 94.56 kB / 16.3 MB, free: 5.996 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.001307/0.001307, allocations: 184 kB / 17.2 MB, free: 5.914 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.293/1.293, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002564, allocations: 6.375 kB / 300.7 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09783, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02476/0.1226, allocations: 28.68 MB / 379.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.1378, allocations: 6.593 MB / 386.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005436/0.1433, allocations: 135.7 kB / 386.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.1479, allocations: 1.4 MB / 387.9 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.1594, allocations: 4.087 MB / 392 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1609, allocations: 211.7 kB / 392.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03355/0.1945, allocations: 24.44 MB / 416.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003592/0.1981, allocations: 2.41 MB / 419.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1993, allocations: 0.6928 MB / 419.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.2009, allocations: 0.9928 MB / 420.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.2014, allocations: 96 kB / 420.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.2025, allocations: 499.2 kB / 421.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.2038, allocations: 1.153 MB / 422.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.2045, allocations: 0.6323 MB / 423.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1795/0.384, allocations: 3.696 MB / 426.8 MB, free: 28.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3841, allocations: 4.75 kB / 426.8 MB, free: 28.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3841, allocations: 0 / 426.8 MB, free: 28.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001669/0.3843, allocations: 0.8125 kB / 426.8 MB, free: 28.86 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.004499/0.3888, allocations: 3.177 MB / 430 MB, free: 27.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3888, allocations: 10.12 kB / 430 MB, free: 27.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/0.3947, allocations: 1.969 MB / 432 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.3977, allocations: 1.624 MB / 433.6 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.3979, allocations: 153.5 kB / 433.8 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003652/0.3982, allocations: 198.2 kB / 434 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008032/0.4063, allocations: 6.978 MB / 440.9 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/0.4064, allocations: 34.45 kB / 441 MB, free: 25.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.4066, allocations: 103.3 kB / 441.1 MB, free: 25.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/0.4085, allocations: 1.557 MB / 442.6 MB, free: 25.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008828/0.4174, allocations: 5.49 MB / 448.1 MB, free: 24.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/0.4552, allocations: 27.4 MB / 475.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.4594, allocations: 1.591 MB / 477.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005172/0.4646, allocations: 2.69 MB / 479.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4647, allocations: 47.94 kB / 479.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 4.027e-06/0.4647, allocations: 0 / 479.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.006195/0.4709, allocations: 1.92 MB / 481.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.471, allocations: 192 kB / 482 MB, free: 468 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008236/0.4792, allocations: 3.711 MB / 485.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.07e-05/0.4793, allocations: 33.89 kB / 485.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003077/0.4824, allocations: 2.718 MB / 488.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.483, allocations: 362 kB / 488.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.4832, allocations: 99.95 kB / 488.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004829/0.4837, allocations: 0.5015 MB / 489.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/0.487, allocations: 1.188 MB / 490.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006625/0.4937, allocations: 4.526 MB / 495.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/0.499, allocations: 2.29 MB / 497.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.4991, allocations: 36 kB / 497.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008996/0.5082, allocations: 5.42 MB / 0.4911 GB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.5083, allocations: 60.14 kB / 0.4911 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/0.5085, allocations: 120.6 kB / 0.4912 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.5087, allocations: 176 kB / 0.4914 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.5118, allocations: 1.107 MB / 0.4925 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001768/0.5119, allocations: 236.2 kB / 0.4927 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/0.5152, allocations: 0.7084 MB / 0.4934 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.5156, allocations: 319.2 kB / 0.4937 GB, free: 12.66 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002079/0.5177, allocations: 1.718 MB / 0.4954 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/0.5182, allocations: 296.1 kB / 0.4957 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008485/0.5191, allocations: 0.4995 MB / 0.4961 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.5191, allocations: 15.47 kB / 0.4962 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5191, allocations: 4 kB / 0.4962 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5191, allocations: 3.984 kB / 0.4962 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.5245, allocations: 3.226 MB / 0.4993 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.5245, allocations: 4 kB / 0.4993 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.525, allocations: 99.5 kB / 0.4994 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.525, allocations: 9.75 kB / 0.4994 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.5251, allocations: 20.28 kB / 0.4994 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.5251, allocations: 11.28 kB / 0.4995 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5251, allocations: 8 kB / 0.4995 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.5273, allocations: 2.373 MB / 0.5018 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009069/0.5283, allocations: 0.532 MB / 0.5023 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.5286, allocations: 12 kB / 0.5023 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/0.5296, allocations: 59.31 kB / 0.5024 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.5297, allocations: 51.64 kB / 0.5024 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.5297, allocations: 24 kB / 0.5024 GB, free: 4.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003131/0.5329, allocations: 2.365 MB / 0.5047 GB, free: 2.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5329, allocations: 4 kB / 0.5048 GB, free: 2.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003402/0.5363, allocations: 0.8196 MB / 0.5056 GB, free: 1.719 MB / 382.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 (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.0002953/0.5366, allocations: 162.4 kB / 0.5057 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.5403, allocations: 2.755 MB / 0.5084 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5403, allocations: 1.75 kB / 0.5084 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.5408, allocations: 407.9 kB / 0.5088 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.5422, allocations: 357.1 kB / 0.5091 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009749/0.5519, allocations: 7.936 MB / 0.5169 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.5544, allocations: 2.754 MB / 0.5196 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003322/0.5577, allocations: 1.558 MB / 0.5211 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.5581, allocations: 215.4 kB / 0.5213 GB, free: 1.617 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5581, allocations: 0 / 0.5213 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Templates: time 0.04292/0.601, allocations: 23.94 MB / 0.5447 GB, free: 9.898 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches