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.002824/0.002829, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.556/3.556, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001922/0.001921, allocations: 82.94 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006588, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5524, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.06408/0.6165, allocations: 28.68 MB / 403.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03105/0.6477, allocations: 6.581 MB / 409.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01018/0.6579, allocations: 139.7 kB / 409.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009075/0.6671, allocations: 1.4 MB / 411.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02912/0.6963, allocations: 4.071 MB / 415.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.6999, allocations: 223.8 kB / 415.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.05945/0.7594, allocations: 13.56 MB / 429.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.7715, allocations: 2.421 MB / 431.6 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00387/0.7755, allocations: 0.6966 MB / 432.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/0.7807, allocations: 0.9967 MB / 433.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.7823, allocations: 96 kB / 433.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.7861, allocations: 487.3 kB / 433.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004011/0.7902, allocations: 1.142 MB / 435 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.793, allocations: 0.6323 MB / 435.6 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.8061, allocations: 3.69 MB / 439.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8062, allocations: 0 / 439.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.8063, allocations: 0 / 439.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002636/0.8065, allocations: 0 / 439.3 MB, free: 15.88 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.01895/0.8255, allocations: 3.189 MB / 442.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.8256, allocations: 8.031 kB / 442.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02274/0.8484, allocations: 1.965 MB / 444.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008689/0.8571, allocations: 1.627 MB / 446.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/0.8576, allocations: 151.8 kB / 446.3 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/0.8594, allocations: 203.8 kB / 446.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/0.8903, allocations: 6.991 MB / 453.5 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005182/0.891, allocations: 27.75 kB / 453.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/0.8927, allocations: 95.89 kB / 453.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006805/0.8996, allocations: 1.562 MB / 455.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03009/0.9298, allocations: 5.485 MB / 460.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08518/1.015, allocations: 27.39 MB / 488 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007854/1.023, allocations: 1.601 MB / 489.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/1.033, allocations: 2.697 MB / 492.3 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/1.034, allocations: 38.89 kB / 492.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 1.119e-05/1.034, allocations: 0 / 492.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.01226/1.046, allocations: 1.925 MB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/1.046, allocations: 191.9 kB / 494.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/1.062, allocations: 3.71 MB / 498.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002147/1.063, allocations: 37.7 kB / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004975/1.068, allocations: 2.639 MB / 0.4891 GB, free: 308 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4752/1.543, allocations: 356.8 kB / 0.4895 GB, free: 110.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/1.544, allocations: 96.72 kB / 0.4895 GB, free: 110.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001159/1.545, allocations: 0.5103 MB / 0.49 GB, free: 110.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006691/1.552, allocations: 1.188 MB / 0.4912 GB, free: 110.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/1.564, allocations: 4.527 MB / 0.4956 GB, free: 105.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.575, allocations: 2.289 MB / 0.4979 GB, free: 104.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004521/1.576, allocations: 34.41 kB / 0.4979 GB, free: 104.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.02897/1.605, allocations: 5.294 MB / 0.5031 GB, free: 102.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002859/1.605, allocations: 56.78 kB / 0.5031 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004514/1.606, allocations: 121.8 kB / 0.5032 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/1.606, allocations: 174.3 kB / 0.5034 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/1.617, allocations: 1.105 MB / 0.5045 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005431/1.618, allocations: 238 kB / 0.5047 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/1.632, allocations: 0.7166 MB / 0.5054 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/1.634, allocations: 313 kB / 0.5057 GB, free: 101.8 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.007819/1.642, allocations: 1.714 MB / 0.5074 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.643, allocations: 301.3 kB / 0.5077 GB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/1.646, allocations: 0.4943 MB / 0.5081 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.18e-05/1.646, allocations: 14.95 kB / 0.5082 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/1.646, allocations: 3.562 kB / 0.5082 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/1.646, allocations: 3 kB / 0.5082 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/1.665, allocations: 3.225 MB / 0.5113 GB, free: 97.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/1.665, allocations: 7.984 kB / 0.5113 GB, free: 97.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.667, allocations: 101 kB / 0.5114 GB, free: 97.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-05/1.667, allocations: 7.938 kB / 0.5114 GB, free: 97.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.667, allocations: 21.08 kB / 0.5114 GB, free: 97.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/1.667, allocations: 8 kB / 0.5115 GB, free: 97.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/1.667, allocations: 4 kB / 0.5115 GB, free: 97.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007464/1.675, allocations: 2.388 MB / 0.5138 GB, free: 95.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/1.678, allocations: 0.5281 MB / 0.5143 GB, free: 94.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/1.68, allocations: 20.86 kB / 0.5143 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004873/1.685, allocations: 51.95 kB / 0.5144 GB, free: 94.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/1.685, allocations: 51.02 kB / 0.5144 GB, free: 94.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.685, allocations: 29.08 kB / 0.5145 GB, free: 94.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01195/1.697, allocations: 2.37 MB / 0.5168 GB, free: 92.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.503e-06/1.697, allocations: 0 / 0.5168 GB, free: 92.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01418/1.712, allocations: 0.8176 MB / 0.5176 GB, free: 91.48 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.0009327/1.713, allocations: 156.8 kB / 0.5177 GB, free: 91.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01706/1.73, allocations: 2.751 MB / 0.5204 GB, free: 88.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.73, allocations: 4 kB / 0.5204 GB, free: 88.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/1.731, allocations: 400.1 kB / 0.5208 GB, free: 88.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/1.742, allocations: 362.3 kB / 0.5211 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/1.78, allocations: 8.317 MB / 0.5293 GB, free: 79.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00915/1.789, allocations: 2.751 MB / 0.5319 GB, free: 76.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/1.791, allocations: 255.4 kB / 0.5322 GB, free: 76.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.745e-06/1.792, allocations: 0 / 0.5322 GB, free: 76.45 MB / 378.7 MB Notification: Performance of Templates: time 0.1504/1.942, allocations: 45.86 MB / 0.577 GB, free: 30.55 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/jenkins1/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