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.0008015/0.0008015, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.00139/0.00139, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.528/1.528, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004348/0.0004349, allocations: 16 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.08941, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03022/0.1197, allocations: 32.54 MB / 361.5 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1343, allocations: 6.56 MB / 368.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006359/0.1407, allocations: 143.6 kB / 368.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.1421, allocations: 350.4 kB / 368.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.1459, allocations: 1.238 MB / 369.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.1465, allocations: 195.7 kB / 370 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.1517, allocations: 4.274 MB / 374.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003785/0.1556, allocations: 2.727 MB / 377 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.1569, allocations: 0.7778 MB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.1588, allocations: 1.51 MB / 379.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.1591, allocations: 96 kB / 379.4 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008011/0.1599, allocations: 407.3 kB / 379.8 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2128/0.3727, allocations: 1.22 MB / 381 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.3749, allocations: 1.504 MB / 382.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005988/0.3809, allocations: 4.414 MB / 386.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3809, allocations: 0 / 386.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3809, allocations: 0 / 386.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001712/0.3811, allocations: 0 / 386.9 MB, free: 12.22 MB / 318.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.006843/0.3879, allocations: 3.002 MB / 389.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.388, allocations: 10.09 kB / 389.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/0.3938, allocations: 1.698 MB / 391.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.398, allocations: 1.564 MB / 393.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.3983, allocations: 150.9 kB / 393.3 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005749/0.3988, allocations: 197.8 kB / 393.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.4113, allocations: 6.98 MB / 400.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.703e-05/0.4114, allocations: 28.08 kB / 400.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.4117, allocations: 101.7 kB / 400.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002307/0.414, allocations: 1.562 MB / 402.2 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4242, allocations: 5.481 MB / 407.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/0.4561, allocations: 27.28 MB / 434.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.4587, allocations: 1.597 MB / 436.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.4594, allocations: 468.9 kB / 437 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003746/0.4631, allocations: 2.579 MB / 439.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.4632, allocations: 53.64 kB / 439.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/0.4632, allocations: 0 / 439.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.00374/0.4669, allocations: 1.67 MB / 441.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.4671, allocations: 188 kB / 441.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/0.4725, allocations: 3.71 MB / 445.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.4725, allocations: 41.06 kB / 445.2 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.4745, allocations: 2.715 MB / 447.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.4748, allocations: 357.7 kB / 448.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.4752, allocations: 408.3 kB / 448.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4753, allocations: 313.1 kB / 449 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4771, allocations: 1.197 MB / 450.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004222/0.4813, allocations: 4.57 MB / 454.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006303/0.4876, allocations: 6.317 MB / 461.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/0.4877, allocations: 36 kB / 461.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00848/0.4962, allocations: 5.451 MB / 466.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.4963, allocations: 60.25 kB / 466.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.4964, allocations: 120 kB / 466.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.4966, allocations: 160 kB / 466.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.4995, allocations: 1.099 MB / 468 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001782/0.4997, allocations: 236.2 kB / 468.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.503, allocations: 0.6997 MB / 468.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/0.5034, allocations: 312 kB / 469.2 MB, free: 10.34 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002974/0.5064, allocations: 1.721 MB / 471 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/0.507, allocations: 304.1 kB / 471.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.508, allocations: 0.4886 MB / 471.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.5081, allocations: 12 kB / 471.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.5081, allocations: 0 / 471.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.5081, allocations: 7.984 kB / 471.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/0.5137, allocations: 3.132 MB / 474.9 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.5137, allocations: 4 kB / 474.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.5142, allocations: 116.1 kB / 475 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.5142, allocations: 4 kB / 475 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.5143, allocations: 19.12 kB / 475 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/0.5143, allocations: 8 kB / 475 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.5143, allocations: 6.625 kB / 475 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.5165, allocations: 2.038 MB / 477.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/0.5173, allocations: 436.8 kB / 477.5 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.5175, allocations: 19.98 kB / 477.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/0.5183, allocations: 31.97 kB / 477.6 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5184, allocations: 50.67 kB / 477.6 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.5185, allocations: 24 kB / 477.6 MB, free: 1.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003556/0.5221, allocations: 2.365 MB / 480 MB, free: 15.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5221, allocations: 0 / 480 MB, free: 15.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004014/0.5261, allocations: 0.8121 MB / 480.8 MB, free: 14.77 MB / 398.1 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 (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.000318/0.5264, allocations: 133.7 kB / 480.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004505/0.5309, allocations: 2.778 MB / 483.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.531, allocations: 4 kB / 483.7 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.5316, allocations: 409 kB / 484.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/0.5352, allocations: 368.3 kB / 484.5 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.5488, allocations: 8.258 MB / 492.7 MB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.5517, allocations: 2.683 MB / 495.4 MB, free: 224 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003962/0.5557, allocations: 1.51 MB / 496.9 MB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.5561, allocations: 195.3 kB / 497.1 MB, free: 14.51 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5561, allocations: 0 / 497.1 MB, free: 14.51 MB / 414.1 MB Notification: Performance of Templates: time 0.04713/0.6033, allocations: 21.31 MB / 0.5063 GB, free: 9.266 MB / 430.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches