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.001419/0.001419, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.67 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01007/0.1222, allocations: 8.995 MB / 367.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006166/0.1284, allocations: 2.725 MB / 370.6 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.1299, allocations: 47.88 kB / 370.7 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2117/0.3417, allocations: 1.824 MB / 372.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.3453, allocations: 1.321 MB / 373.8 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.3458, allocations: 216.6 kB / 374 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.3495, allocations: 2.335 MB / 376.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.3521, allocations: 2.108 MB / 378.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.3539, allocations: 1.007 MB / 379.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.3574, allocations: 2.444 MB / 381.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007157/0.3581, allocations: 187.3 kB / 382.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.3594, allocations: 0.5016 MB / 382.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.3611, allocations: 1.277 MB / 383.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.3631, allocations: 1.578 MB / 385.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005869/0.369, allocations: 4.806 MB / 390.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.369, allocations: 0 / 390.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.369, allocations: 3.938 kB / 390.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.3692, allocations: 0 / 390.3 MB, free: 5.246 MB / 302.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.007402/0.3766, allocations: 3.614 MB / 393.9 MB, free: 2.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3766, allocations: 13.75 kB / 393.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/0.3826, allocations: 1.693 MB / 395.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.3859, allocations: 1.58 MB / 397.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.373e-05/0.386, allocations: 150.5 kB / 397.3 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.3864, allocations: 205.2 kB / 397.5 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.3981, allocations: 6.983 MB / 404.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.3982, allocations: 23.75 kB / 404.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.3984, allocations: 106.6 kB / 404.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002255/0.4007, allocations: 1.563 MB / 406.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009911/0.4106, allocations: 5.485 MB / 411.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03087/0.4415, allocations: 27.12 MB / 438.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.4442, allocations: 1.65 MB / 440.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.4449, allocations: 0.4917 MB / 440.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004505/0.4494, allocations: 2.672 MB / 443.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.4495, allocations: 58.42 kB / 443.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 3.035e-06/0.4495, allocations: 2.625 kB / 443.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003931/0.4534, allocations: 1.752 MB / 445.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.4535, allocations: 213.6 kB / 445.6 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005073/0.4586, allocations: 3.673 MB / 449.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.4587, allocations: 37.7 kB / 449.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.4606, allocations: 2.686 MB / 452 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.4611, allocations: 387.2 kB / 452.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.4623, allocations: 0.9559 MB / 453.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4624, allocations: 301.1 kB / 453.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.4642, allocations: 1.208 MB / 454.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.4685, allocations: 4.534 MB / 459.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007183/0.4757, allocations: 6.288 MB / 465.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.773e-05/0.4758, allocations: 36 kB / 465.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009839/0.4857, allocations: 5.434 MB / 471.2 MB, free: 3.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/0.4858, allocations: 66.89 kB / 471.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.4859, allocations: 116 kB / 471.3 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.4861, allocations: 156 kB / 471.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.489, allocations: 1.084 MB / 472.6 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001577/0.4892, allocations: 231.1 kB / 472.8 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/0.4926, allocations: 0.6884 MB / 473.5 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003855/0.493, allocations: 314.3 kB / 473.8 MB, free: 0.8125 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.4958, allocations: 1.716 MB / 475.5 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/0.4963, allocations: 304.1 kB / 475.8 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.4972, allocations: 498.1 kB / 476.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.383e-05/0.4972, allocations: 23.94 kB / 476.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4973, allocations: 0 / 476.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.4973, allocations: 7.984 kB / 476.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.5027, allocations: 3.15 MB / 479.5 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5028, allocations: 0 / 479.5 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.5032, allocations: 103.9 kB / 479.6 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/0.5032, allocations: 8.281 kB / 479.6 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.5033, allocations: 16 kB / 479.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.5033, allocations: 15.92 kB / 479.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.5033, allocations: 7.938 kB / 479.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.5056, allocations: 2.213 MB / 481.8 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008245/0.5064, allocations: 428.9 kB / 482.2 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.5067, allocations: 23.84 kB / 482.3 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.5075, allocations: 27.97 kB / 482.3 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5076, allocations: 47.95 kB / 482.3 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.5077, allocations: 31.98 kB / 482.4 MB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00315/0.5108, allocations: 2.333 MB / 484.7 MB, free: 5.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5109, allocations: 3.938 kB / 484.7 MB, free: 5.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003738/0.5146, allocations: 0.7936 MB / 485.5 MB, free: 4.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000338/0.5149, allocations: 151.4 kB / 485.7 MB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004228/0.5192, allocations: 2.813 MB / 488.5 MB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5192, allocations: 256 / 488.5 MB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.5198, allocations: 447.6 kB / 488.9 MB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.5219, allocations: 381.8 kB / 489.3 MB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.5331, allocations: 6.659 MB / 495.9 MB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/0.5358, allocations: 2.683 MB / 498.6 MB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003072/0.5389, allocations: 1.498 MB / 0.4884 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.5393, allocations: 195.4 kB / 0.4886 GB, free: 6.078 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5393, allocations: 0 / 0.4886 GB, free: 6.078 MB / 414.1 MB Notification: Performance of Templates: time 0.0419/0.5812, allocations: 17.77 MB / 0.5059 GB, free: 4.523 MB / 430.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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