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.001854/0.001854, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.511/1.511, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007647/0.0007647, allocations: 86.36 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 47.57 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0222/0.2493, allocations: 30.31 MB / 405.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.2631, allocations: 6.286 MB / 411.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006629/0.2698, allocations: 139.7 kB / 411.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005554/0.2754, allocations: 1.551 MB / 413.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.2885, allocations: 4.568 MB / 417.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.2904, allocations: 223.7 kB / 418.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02086/0.3113, allocations: 17.51 MB / 435.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004463/0.3158, allocations: 2.665 MB / 438.3 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.3174, allocations: 0.8444 MB / 439.2 MB, free: 428 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.3197, allocations: 1.359 MB / 440.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.3201, allocations: 96 kB / 440.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3214, allocations: 0.5225 MB / 441.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.3228, allocations: 1.27 MB / 442.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.3243, allocations: 1.353 MB / 443.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.328, allocations: 3.507 MB / 447.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.328, allocations: 0 / 447.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.328, allocations: 4 kB / 447.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001258/0.3282, allocations: 0 / 447.3 MB, free: 8.273 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.005319/0.3335, allocations: 2.815 MB / 450.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3336, allocations: 8.031 kB / 450.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.3388, allocations: 1.665 MB / 451.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.3424, allocations: 1.483 MB / 453.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3425, allocations: 147.8 kB / 453.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/0.3429, allocations: 199.9 kB / 453.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.3547, allocations: 6.967 MB / 460.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-05/0.3548, allocations: 27.75 kB / 460.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/0.3551, allocations: 99.89 kB / 460.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002267/0.3574, allocations: 1.566 MB / 462.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.368, allocations: 5.454 MB / 467.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0341/0.4021, allocations: 27.2 MB / 494.9 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.4051, allocations: 1.573 MB / 496.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/0.406, allocations: 479.3 kB / 496.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004646/0.4107, allocations: 2.58 MB / 499.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.4108, allocations: 42.56 kB / 499.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 6.672e-06/0.4108, allocations: 4.109 kB / 499.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003975/0.4148, allocations: 1.634 MB / 0.4895 GB, free: 428 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.4149, allocations: 187.9 kB / 0.4896 GB, free: 196 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2092/0.6241, allocations: 3.424 MB / 0.493 GB, free: 111.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.6244, allocations: 39.98 kB / 0.493 GB, free: 111.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002058/0.6264, allocations: 2.587 MB / 0.4955 GB, free: 110.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.627, allocations: 366.5 kB / 0.4959 GB, free: 109.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.6274, allocations: 92.3 kB / 0.496 GB, free: 109.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003828/0.6278, allocations: 0.5036 MB / 0.4965 GB, free: 109.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.6302, allocations: 1.181 MB / 0.4976 GB, free: 109.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/0.6343, allocations: 4.554 MB / 0.5021 GB, free: 104.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0061/0.6404, allocations: 6.291 MB / 0.5082 GB, free: 98.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002/0.6407, allocations: 34.19 kB / 0.5083 GB, free: 98.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008916/0.6496, allocations: 5.385 MB / 0.5135 GB, free: 95.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.6497, allocations: 60.62 kB / 0.5136 GB, free: 95.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/0.6499, allocations: 124 kB / 0.5137 GB, free: 95.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.6501, allocations: 156 kB / 0.5138 GB, free: 95.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.6528, allocations: 1.103 MB / 0.5149 GB, free: 94.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000129/0.6529, allocations: 238.6 kB / 0.5151 GB, free: 93.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.6563, allocations: 0.6969 MB / 0.5158 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/0.6567, allocations: 316 kB / 0.5161 GB, free: 92.83 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.002132/0.6589, allocations: 1.677 MB / 0.5178 GB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.6593, allocations: 268.4 kB / 0.518 GB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.6601, allocations: 471.5 kB / 0.5185 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.6601, allocations: 16.88 kB / 0.5185 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.6601, allocations: 0 / 0.5185 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.6601, allocations: 7.984 kB / 0.5185 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.6644, allocations: 3.03 MB / 0.5215 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6644, allocations: 4.281 kB / 0.5215 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.6648, allocations: 111.8 kB / 0.5216 GB, free: 87.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.6649, allocations: 4 kB / 0.5216 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.6649, allocations: 21.95 kB / 0.5216 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.6649, allocations: 8 kB / 0.5216 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6649, allocations: 4 kB / 0.5216 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.6666, allocations: 2.012 MB / 0.5236 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/0.6673, allocations: 421.1 kB / 0.524 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.6675, allocations: 16 kB / 0.524 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.6682, allocations: 37.62 kB / 0.524 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.6683, allocations: 51.83 kB / 0.5241 GB, free: 84.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.6684, allocations: 24.7 kB / 0.5241 GB, free: 84.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002618/0.671, allocations: 2.165 MB / 0.5262 GB, free: 82.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.671, allocations: 4.281 kB / 0.5262 GB, free: 82.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00387/0.6749, allocations: 0.8165 MB / 0.527 GB, free: 81.54 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.0003238/0.6752, allocations: 154.8 kB / 0.5272 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003582/0.6788, allocations: 2.757 MB / 0.5298 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6788, allocations: 0 / 0.5298 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.6793, allocations: 409.5 kB / 0.5302 GB, free: 78.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.6822, allocations: 346.1 kB / 0.5306 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/0.6916, allocations: 8.211 MB / 0.5386 GB, free: 69.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.6935, allocations: 2.558 MB / 0.5411 GB, free: 67.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.6941, allocations: 223.4 kB / 0.5413 GB, free: 66.86 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6941, allocations: 0 / 0.5413 GB, free: 66.86 MB / 378.7 MB Notification: Performance of Templates: time 0.06867/0.7627, allocations: 63.23 MB / 0.603 GB, free: 3.543 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