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.0008239/0.0008239, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009624/0.0009625, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002532, allocations: 4 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09456, allocations: 51.53 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1828/0.2774, allocations: 30.08 MB / 388.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.2918, allocations: 6.259 MB / 395 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006071/0.2979, allocations: 139.1 kB / 395.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005627/0.3035, allocations: 1.54 MB / 396.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.3163, allocations: 4.502 MB / 401.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3181, allocations: 216.5 kB / 401.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0426/0.3607, allocations: 31.11 MB / 432.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00363/0.3644, allocations: 2.444 MB / 434.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.3658, allocations: 0.8249 MB / 435.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.3677, allocations: 1.363 MB / 437.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.3679, allocations: 96 kB / 437.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.369, allocations: 0.4992 MB / 437.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.3702, allocations: 1.262 MB / 439 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.3708, allocations: 0.6012 MB / 439.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.3738, allocations: 3.488 MB / 443.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3738, allocations: 0 / 443.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3738, allocations: 0 / 443.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.133e-05/0.3739, allocations: 0 / 443.1 MB, free: 6.855 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.004069/0.3779, allocations: 2.83 MB / 445.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.378, allocations: 8.031 kB / 445.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.3835, allocations: 1.719 MB / 447.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.3858, allocations: 1.44 MB / 449.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.386, allocations: 155.8 kB / 449.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/0.3863, allocations: 199.7 kB / 449.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009037/0.3953, allocations: 6.971 MB / 456.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.438e-05/0.3954, allocations: 31.73 kB / 456.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.3957, allocations: 99.88 kB / 456.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/0.3978, allocations: 1.555 MB / 458.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009114/0.4069, allocations: 5.458 MB / 463.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.4354, allocations: 27.17 MB / 490.7 MB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.4382, allocations: 1.585 MB / 492.3 MB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.4389, allocations: 476.1 kB / 492.7 MB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003467/0.4424, allocations: 2.569 MB / 495.3 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.4425, allocations: 46.61 kB / 495.3 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/0.4425, allocations: 3.938 kB / 495.4 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of matching and sorting (n=80): time 0.003546/0.446, allocations: 1.631 MB / 497 MB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.4461, allocations: 191.9 kB / 497.2 MB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/0.4506, allocations: 3.411 MB / 0.4889 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.4507, allocations: 37.7 kB / 0.4889 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.4524, allocations: 2.591 MB / 0.4914 GB, free: 8.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.4528, allocations: 363.9 kB / 0.4918 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.4529, allocations: 88 kB / 0.4918 GB, free: 8.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003405/0.4533, allocations: 0.5084 MB / 0.4923 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.4551, allocations: 1.18 MB / 0.4935 GB, free: 6.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/0.4592, allocations: 4.545 MB / 0.4979 GB, free: 244 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.4623, allocations: 2.294 MB / 0.5002 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.055e-05/0.4624, allocations: 39.95 kB / 0.5002 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008266/0.4707, allocations: 5.394 MB / 0.5055 GB, free: 8.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.4708, allocations: 59.98 kB / 0.5055 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.4709, allocations: 124 kB / 0.5057 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.4711, allocations: 176 kB / 0.5058 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.4741, allocations: 1.099 MB / 0.5069 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001966/0.4743, allocations: 235.9 kB / 0.5071 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/0.4775, allocations: 0.6923 MB / 0.5078 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/0.4779, allocations: 320 kB / 0.5081 GB, free: 5.812 MB / 430.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.002441/0.4803, allocations: 1.684 MB / 0.5097 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/0.4808, allocations: 272.4 kB / 0.51 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008199/0.4816, allocations: 467.6 kB / 0.5105 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.4816, allocations: 12 kB / 0.5105 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4816, allocations: 0 / 0.5105 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.4816, allocations: 7.984 kB / 0.5105 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.4864, allocations: 3.036 MB / 0.5134 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.4864, allocations: 7.938 kB / 0.5134 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.4869, allocations: 103.9 kB / 0.5135 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.4869, allocations: 4 kB / 0.5135 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.487, allocations: 16 kB / 0.5136 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.487, allocations: 15.92 kB / 0.5136 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.487, allocations: 4 kB / 0.5136 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.4892, allocations: 2.005 MB / 0.5155 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/0.4899, allocations: 417.3 kB / 0.5159 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.4901, allocations: 12 kB / 0.5159 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.4909, allocations: 35.97 kB / 0.516 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.491, allocations: 47.83 kB / 0.516 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.491, allocations: 27.98 kB / 0.5161 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002945/0.494, allocations: 2.169 MB / 0.5182 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.494, allocations: 0 / 0.5182 GB, free: 11.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00388/0.4979, allocations: 0.8099 MB / 0.519 GB, free: 10.51 MB / 446.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.0004059/0.4983, allocations: 159 kB / 0.5191 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.5028, allocations: 2.75 MB / 0.5218 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5028, allocations: 384 / 0.5218 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.5034, allocations: 415.5 kB / 0.5222 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.5053, allocations: 345.3 kB / 0.5225 GB, free: 6.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1898/0.6951, allocations: 8.347 MB / 0.5307 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003072/0.6982, allocations: 2.682 MB / 0.5333 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004134/0.7024, allocations: 1.467 MB / 0.5347 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.7029, allocations: 181.8 kB / 0.5349 GB, free: 121.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7029, allocations: 0 / 0.5349 GB, free: 121.8 MB / 446.1 MB Notification: Performance of Templates: time 0.03679/0.7397, allocations: 20.82 MB / 0.5552 GB, free: 112.9 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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