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.00121/0.00121, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001172/0.001172, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.497/1.497, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 51.92 kB / 351.9 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2777, allocations: 49.43 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.00961/0.2874, allocations: 9.027 MB / 410.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005218/0.2927, allocations: 2.663 MB / 413 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2938, allocations: 51.88 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.2973, allocations: 1.822 MB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.3007, allocations: 1.323 MB / 416.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.3013, allocations: 207.6 kB / 416.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.3044, allocations: 2.375 MB / 418.8 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.3068, allocations: 2.111 MB / 420.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.3083, allocations: 1.012 MB / 421.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.311, allocations: 2.33 MB / 424.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004748/0.3115, allocations: 192 kB / 424.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.3124, allocations: 491.4 kB / 424.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3135, allocations: 1.289 MB / 426.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.3149, allocations: 1.591 MB / 427.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.3194, allocations: 4.829 MB / 432.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3194, allocations: 0 / 432.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3195, allocations: 0 / 432.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001471/0.3196, allocations: 4 kB / 432.7 MB, free: 9.414 MB / 350.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.006717/0.3263, allocations: 3.629 MB / 436.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3264, allocations: 12.03 kB / 436.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.3315, allocations: 1.645 MB / 437.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.3344, allocations: 1.58 MB / 439.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3345, allocations: 147.8 kB / 439.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.335, allocations: 203.9 kB / 439.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009475/0.3444, allocations: 6.982 MB / 446.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.2e-05/0.3445, allocations: 31.66 kB / 446.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.3448, allocations: 99.89 kB / 447 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/0.347, allocations: 1.562 MB / 448.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009503/0.3566, allocations: 5.489 MB / 454 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02891/0.3855, allocations: 27.12 MB / 481.1 MB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.3883, allocations: 1.638 MB / 482.8 MB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.3891, allocations: 0.5061 MB / 483.3 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003915/0.393, allocations: 2.682 MB / 486 MB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3931, allocations: 46.5 kB / 486 MB, free: 2.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.637e-06/0.3931, allocations: 0 / 486 MB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003986/0.3971, allocations: 1.749 MB / 487.8 MB, free: 340 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3972, allocations: 218.2 kB / 488 MB, free: 72 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.4023, allocations: 3.673 MB / 491.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4024, allocations: 29.86 kB / 491.7 MB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.4044, allocations: 2.691 MB / 494.4 MB, free: 9.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.4049, allocations: 395.4 kB / 494.8 MB, free: 9.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.406, allocations: 0.9558 MB / 495.7 MB, free: 8.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.4061, allocations: 309.1 kB / 496 MB, free: 7.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4078, allocations: 1.204 MB / 497.2 MB, free: 6.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.4117, allocations: 4.53 MB / 0.49 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/0.4183, allocations: 6.287 MB / 0.4961 GB, free: 8.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.385e-05/0.4184, allocations: 35.94 kB / 0.4962 GB, free: 8.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009039/0.4275, allocations: 5.433 MB / 0.5015 GB, free: 3.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/0.4276, allocations: 56 kB / 0.5015 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.4277, allocations: 120 kB / 0.5016 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.4279, allocations: 159.9 kB / 0.5018 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4308, allocations: 1.088 MB / 0.5029 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001654/0.431, allocations: 235.1 kB / 0.5031 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.4343, allocations: 0.6766 MB / 0.5037 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.4348, allocations: 323.9 kB / 0.504 GB, free: 468 kB / 430.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.002474/0.4373, allocations: 1.719 MB / 0.5057 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/0.4379, allocations: 296.1 kB / 0.506 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008968/0.4388, allocations: 0.4968 MB / 0.5065 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/0.4388, allocations: 20 kB / 0.5065 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4388, allocations: 4 kB / 0.5065 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4389, allocations: 3.984 kB / 0.5065 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/0.4441, allocations: 3.142 MB / 0.5096 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4441, allocations: 4 kB / 0.5096 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.4446, allocations: 107.8 kB / 0.5097 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.4446, allocations: 8 kB / 0.5097 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.4447, allocations: 19.94 kB / 0.5097 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.4447, allocations: 8.281 kB / 0.5097 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.4447, allocations: 7.984 kB / 0.5097 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.447, allocations: 2.214 MB / 0.5119 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/0.4478, allocations: 424.9 kB / 0.5123 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.4481, allocations: 27.83 kB / 0.5123 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.449, allocations: 31.97 kB / 0.5124 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4491, allocations: 47.81 kB / 0.5124 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.4492, allocations: 36.05 kB / 0.5124 GB, free: 7.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00325/0.4524, allocations: 2.337 MB / 0.5147 GB, free: 5.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4524, allocations: 0 / 0.5147 GB, free: 5.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003589/0.456, allocations: 0.8061 MB / 0.5155 GB, free: 4.547 MB / 446.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.0003115/0.4563, allocations: 151.8 kB / 0.5157 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.4605, allocations: 2.816 MB / 0.5184 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.4605, allocations: 4 kB / 0.5184 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.461, allocations: 437.3 kB / 0.5188 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.4632, allocations: 380.6 kB / 0.5192 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.474, allocations: 7.047 MB / 0.5261 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/0.4769, allocations: 2.687 MB / 0.5287 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/0.4775, allocations: 239.4 kB / 0.5289 GB, free: 6.727 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4775, allocations: 0 / 0.5289 GB, free: 6.727 MB / 462.1 MB Notification: Performance of Templates: time 0.2449/0.7224, allocations: 43.51 MB / 0.5714 GB, free: 99.86 MB / 462.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 -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