Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.001289/0.001289, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.001229/0.001229, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 55.92 kB / 280.7 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01229/0.1213, allocations: 9.019 MB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.1274, allocations: 2.652 MB / 339 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.1291, allocations: 47.88 kB / 339 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.1328, allocations: 1.834 MB / 340.8 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.1364, allocations: 1.307 MB / 342.1 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.1371, allocations: 219.7 kB / 342.4 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.1406, allocations: 2.375 MB / 344.7 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.1436, allocations: 2.125 MB / 346.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.1456, allocations: 1.016 MB / 347.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.1491, allocations: 2.334 MB / 350.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008598/0.15, allocations: 188 kB / 350.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.1516, allocations: 483.4 kB / 350.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.1532, allocations: 1.289 MB / 352.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.1556, allocations: 1.587 MB / 353.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005322/0.1609, allocations: 4.625 MB / 358.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.161, allocations: 0 / 358.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.161, allocations: 0 / 358.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001948/0.1612, allocations: 0 / 358.4 MB, free: 5.223 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.008797/0.17, allocations: 3.626 MB / 362 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1701, allocations: 8.031 kB / 362 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005739/0.1758, allocations: 1.649 MB / 363.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/0.1793, allocations: 1.553 MB / 365.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.1795, allocations: 159.7 kB / 365.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/0.18, allocations: 195.8 kB / 365.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.191, allocations: 6.99 MB / 372.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.802e-05/0.1911, allocations: 27.75 kB / 372.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.1914, allocations: 103.9 kB / 372.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002085/0.1935, allocations: 1.551 MB / 374.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2044/0.3978, allocations: 5.488 MB / 379.7 MB, free: 47.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.4259, allocations: 27.23 MB / 406.9 MB, free: 27.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.4285, allocations: 1.635 MB / 408.6 MB, free: 26.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.4292, allocations: 0.5001 MB / 409.1 MB, free: 26.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004098/0.4333, allocations: 2.676 MB / 411.7 MB, free: 24.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4334, allocations: 46.47 kB / 411.8 MB, free: 24.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.4334, allocations: 0.9844 kB / 411.8 MB, free: 24.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=89): time 0.003309/0.4367, allocations: 1.766 MB / 413.6 MB, free: 23.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4368, allocations: 213.3 kB / 413.8 MB, free: 23.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.4411, allocations: 3.669 MB / 417.4 MB, free: 21.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/0.4412, allocations: 37.53 kB / 417.5 MB, free: 21.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.4426, allocations: 2.686 MB / 420.2 MB, free: 18.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.4429, allocations: 391.9 kB / 420.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009125/0.4438, allocations: 0.9543 MB / 421.5 MB, free: 17.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.4439, allocations: 307.7 kB / 421.8 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4452, allocations: 1.205 MB / 423 MB, free: 16.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.4476, allocations: 4.536 MB / 427.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.4524, allocations: 6.284 MB / 433.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.976e-05/0.4525, allocations: 32 kB / 433.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01025/0.4628, allocations: 5.444 MB / 439.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4629, allocations: 64.02 kB / 439.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.4631, allocations: 120 kB / 439.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.4633, allocations: 156 kB / 439.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/0.4666, allocations: 1.084 MB / 440.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002477/0.4669, allocations: 231.1 kB / 440.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/0.4709, allocations: 0.6803 MB / 441.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/0.4714, allocations: 319.9 kB / 441.9 MB, free: 10.2 MB / 334.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.003285/0.4747, allocations: 1.704 MB / 443.6 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/0.4752, allocations: 304.1 kB / 443.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008934/0.4761, allocations: 0.493 MB / 444.4 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.652e-05/0.4762, allocations: 23.83 kB / 444.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.4762, allocations: 4 kB / 444.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4763, allocations: 7.922 kB / 444.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.4818, allocations: 3.142 MB / 447.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.4818, allocations: 4 kB / 447.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.4823, allocations: 104.8 kB / 447.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.4823, allocations: 11.94 kB / 447.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.4824, allocations: 20.31 kB / 447.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.4824, allocations: 8 kB / 447.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4824, allocations: 7.984 kB / 447.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.4849, allocations: 2.218 MB / 450 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.4857, allocations: 432.9 kB / 450.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.486, allocations: 25.72 kB / 450.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.4868, allocations: 27.97 kB / 450.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.487, allocations: 47.89 kB / 450.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.487, allocations: 35.98 kB / 450.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.003272/0.4903, allocations: 2.333 MB / 452.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4903, allocations: 0 / 452.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003837/0.4942, allocations: 0.8084 MB / 453.7 MB, free: 14.32 MB / 350.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.0004011/0.4946, allocations: 143.8 kB / 453.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.4997, allocations: 2.906 MB / 456.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.4998, allocations: 0.8125 kB / 456.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.5005, allocations: 442.2 kB / 457.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.5027, allocations: 388.8 kB / 457.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.5168, allocations: 6.754 MB / 464.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003833/0.5207, allocations: 2.683 MB / 467 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.003966/0.5247, allocations: 1.486 MB / 468.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.5252, allocations: 199.3 kB / 468.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.753e-06/0.5252, allocations: 4 kB / 468.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Templates: time 0.04731/0.5725, allocations: 22.12 MB / 490.8 MB, free: 9.168 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches