Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001159/0.001159, allocations: 113.5 kB / 17.69 MB, free: 5.309 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.001176/0.001176, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009709/0.0009709, allocations: 51.39 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09586, allocations: 49.43 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0101/0.106, allocations: 9.022 MB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.1115, allocations: 2.671 MB / 363.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.1126, allocations: 47.88 kB / 363.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.1158, allocations: 1.822 MB / 365.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.1187, allocations: 1.327 MB / 366.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.1192, allocations: 207.7 kB / 366.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.122, allocations: 2.359 MB / 369 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/0.1245, allocations: 2.11 MB / 371.1 MB, free: 0 / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1618/0.2864, allocations: 1.002 MB / 372.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.2903, allocations: 2.335 MB / 374.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006515/0.291, allocations: 188.9 kB / 374.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.2921, allocations: 499.4 kB / 375.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.2933, allocations: 1.288 MB / 376.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.2947, allocations: 1.589 MB / 378 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.2997, allocations: 4.836 MB / 382.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2997, allocations: 0 / 382.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2998, allocations: 1.125 kB / 382.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.2999, allocations: 0 / 382.8 MB, free: 9.297 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.006352/0.3062, allocations: 3.63 MB / 386.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3063, allocations: 9.219 kB / 386.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.3113, allocations: 1.654 MB / 388.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.3154, allocations: 1.579 MB / 389.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.3155, allocations: 152 kB / 389.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/0.316, allocations: 196.9 kB / 390 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008811/0.3248, allocations: 6.982 MB / 397 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/0.3249, allocations: 29.53 kB / 397 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.3252, allocations: 97.7 kB / 397.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.327, allocations: 1.561 MB / 398.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008899/0.3359, allocations: 5.494 MB / 404.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03618/0.3721, allocations: 27.13 MB / 431.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.3751, allocations: 1.636 MB / 432.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.376, allocations: 0.5006 MB / 433.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004841/0.3809, allocations: 2.665 MB / 436.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3809, allocations: 54.06 kB / 436.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 4.108e-06/0.3809, allocations: 0 / 436.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.004007/0.385, allocations: 1.761 MB / 437.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3851, allocations: 220.4 kB / 438.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005386/0.3905, allocations: 3.665 MB / 441.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.3906, allocations: 37.7 kB / 441.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.3925, allocations: 2.684 MB / 444.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.3928, allocations: 394.8 kB / 444.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.3939, allocations: 0.9546 MB / 445.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.394, allocations: 305.1 kB / 446.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.3957, allocations: 1.207 MB / 447.4 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.3995, allocations: 4.53 MB / 451.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006372/0.4059, allocations: 6.304 MB / 458.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/0.406, allocations: 32 kB / 458.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008572/0.4146, allocations: 5.44 MB / 463.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.4147, allocations: 56 kB / 463.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.4148, allocations: 120 kB / 463.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.4149, allocations: 156 kB / 464 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.4177, allocations: 1.084 MB / 465.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001586/0.4179, allocations: 231.1 kB / 465.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.4211, allocations: 0.6841 MB / 466 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/0.4214, allocations: 318.6 kB / 466.3 MB, free: 10.37 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.002557/0.424, allocations: 1.712 MB / 468 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/0.4245, allocations: 304 kB / 468.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008404/0.4253, allocations: 494.3 kB / 468.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/0.4254, allocations: 19.98 kB / 468.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4254, allocations: 4 kB / 468.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4254, allocations: 0 / 468.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005648/0.4311, allocations: 3.149 MB / 472 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4311, allocations: 4.281 kB / 472 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.4316, allocations: 104.7 kB / 472.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.4316, allocations: 12.03 kB / 472.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.4316, allocations: 22.88 kB / 472.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.4317, allocations: 7.938 kB / 472.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4317, allocations: 7.938 kB / 472.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.4341, allocations: 2.22 MB / 474.3 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009175/0.435, allocations: 432.9 kB / 474.8 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.4353, allocations: 23.78 kB / 474.8 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.4361, allocations: 27.97 kB / 474.8 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4362, allocations: 57.91 kB / 474.9 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.4363, allocations: 28 kB / 474.9 MB, free: 1.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003396/0.4397, allocations: 2.344 MB / 477.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4397, allocations: 0 / 477.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003978/0.4437, allocations: 0.8022 MB / 478 MB, free: 14.48 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.0003107/0.444, allocations: 150.3 kB / 478.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.4483, allocations: 2.816 MB / 481 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4483, allocations: 0 / 481 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.4489, allocations: 444.1 kB / 481.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.4511, allocations: 375.5 kB / 481.8 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.462, allocations: 6.674 MB / 488.5 MB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.4648, allocations: 2.687 MB / 491.2 MB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003281/0.4681, allocations: 1.489 MB / 492.6 MB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.4685, allocations: 199.3 kB / 492.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4685, allocations: 0 / 492.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of Templates: time 0.04227/0.5108, allocations: 17.86 MB / 0.4987 GB, free: 14 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches