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.001143/0.001143, allocations: 105.5 kB / 18.35 MB, free: 4.645 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.001147/0.001148, allocations: 192 kB / 19.29 MB, free: 3.715 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.313/1.313, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001305/0.001305, allocations: 51.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09716, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009696/0.1069, allocations: 9.038 MB / 337.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.1139, allocations: 2.66 MB / 340.4 MB, free: 8.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.1151, allocations: 47.88 kB / 340.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.1185, allocations: 1.818 MB / 342.3 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.1219, allocations: 1.307 MB / 343.6 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.1225, allocations: 219.6 kB / 343.8 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.1254, allocations: 2.375 MB / 346.2 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.1275, allocations: 2.133 MB / 348.3 MB, free: 48 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1288, allocations: 1.004 MB / 349.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.1318, allocations: 2.334 MB / 351.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005361/0.1323, allocations: 188 kB / 351.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.1333, allocations: 483.4 kB / 352.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1343, allocations: 1.293 MB / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.1356, allocations: 1.587 MB / 355.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.1399, allocations: 4.829 MB / 360 MB, free: 4.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1399, allocations: 0 / 360 MB, free: 4.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1399, allocations: 3.938 kB / 360 MB, free: 4.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.014e-05/0.14, allocations: 0 / 360 MB, free: 4.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.005597/0.1456, allocations: 3.63 MB / 363.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1457, allocations: 8.031 kB / 363.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/0.1506, allocations: 1.657 MB / 365.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.1537, allocations: 1.577 MB / 366.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1538, allocations: 147.8 kB / 367 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.1542, allocations: 195.9 kB / 367.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.1643, allocations: 6.986 MB / 374.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.1644, allocations: 23.75 kB / 374.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.1647, allocations: 103.8 kB / 374.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/0.1668, allocations: 1.555 MB / 375.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2036/0.3703, allocations: 5.491 MB / 381.4 MB, free: 48.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/0.4022, allocations: 27.12 MB / 408.5 MB, free: 27.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.4049, allocations: 1.636 MB / 410.2 MB, free: 26.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/0.4055, allocations: 0.5013 MB / 410.7 MB, free: 26.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003683/0.4092, allocations: 2.67 MB / 413.3 MB, free: 24.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.4092, allocations: 49.94 kB / 413.4 MB, free: 24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.4092, allocations: 0 / 413.4 MB, free: 24 MB / 318.1 MB Notification: Performance of matching and sorting (n=89): time 0.003386/0.4126, allocations: 1.761 MB / 415.1 MB, free: 23.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.4127, allocations: 225.2 kB / 415.4 MB, free: 22.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005171/0.4179, allocations: 3.664 MB / 419 MB, free: 21.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.4181, allocations: 37.64 kB / 419.1 MB, free: 21.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.4192, allocations: 2.686 MB / 421.7 MB, free: 18.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.4196, allocations: 388.5 kB / 422.1 MB, free: 18.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008462/0.4204, allocations: 0.952 MB / 423.1 MB, free: 17.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.4205, allocations: 313.1 kB / 423.4 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4218, allocations: 1.204 MB / 424.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.4241, allocations: 4.53 MB / 429.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.4286, allocations: 6.291 MB / 435.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-05/0.4287, allocations: 37.88 kB / 435.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008591/0.4373, allocations: 5.435 MB / 440.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.4374, allocations: 56 kB / 440.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.4375, allocations: 120.9 kB / 441 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.4377, allocations: 156 kB / 441.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/0.4405, allocations: 1.092 MB / 442.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001815/0.4407, allocations: 235.1 kB / 442.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.4441, allocations: 0.6762 MB / 443.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.4444, allocations: 316 kB / 443.5 MB, free: 9.344 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.0025/0.4469, allocations: 1.715 MB / 445.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/0.4475, allocations: 300.1 kB / 445.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/0.4484, allocations: 0.4913 MB / 446 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-05/0.4485, allocations: 20 kB / 446 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4485, allocations: 4 kB / 446 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4485, allocations: 7.922 kB / 446 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.4541, allocations: 3.148 MB / 449.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.4542, allocations: 4 kB / 449.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.4546, allocations: 108.5 kB / 449.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.4547, allocations: 4 kB / 449.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.4547, allocations: 20 kB / 449.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/0.4547, allocations: 4 kB / 449.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4547, allocations: 11.92 kB / 449.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.457, allocations: 2.215 MB / 451.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008978/0.4579, allocations: 423.1 kB / 452 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.4582, allocations: 34.72 kB / 452 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.4591, allocations: 35.97 kB / 452 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4592, allocations: 47.83 kB / 452.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.4593, allocations: 31.98 kB / 452.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.003453/0.4627, allocations: 2.333 MB / 454.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4627, allocations: 0 / 454.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004115/0.4669, allocations: 0.803 MB / 455.2 MB, free: 13.47 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.0003815/0.4673, allocations: 148 kB / 455.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.472, allocations: 2.824 MB / 458.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4721, allocations: 0 / 458.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.4728, allocations: 433 kB / 458.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.4758, allocations: 382.4 kB / 459 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.4886, allocations: 6.67 MB / 465.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.4926, allocations: 2.683 MB / 468.4 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.003719/0.4963, allocations: 1.49 MB / 469.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.4969, allocations: 199.4 kB / 470 MB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4969, allocations: 0 / 470 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Templates: time 0.04269/0.5396, allocations: 17.81 MB / 487.9 MB, free: 12.82 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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