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.001438/0.001438, allocations: 110.2 kB / 17.06 MB, free: 6.023 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.001854/0.001854, allocations: 191 kB / 17.99 MB, free: 5.109 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009916/0.0009917, allocations: 47.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.312, allocations: 49.43 MB / 400.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01082/0.3228, allocations: 9.03 MB / 409.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.3291, allocations: 2.66 MB / 412.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.331, allocations: 47.88 kB / 412.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.3348, allocations: 1.818 MB / 414.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.339, allocations: 1.358 MB / 415.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.3398, allocations: 207.6 kB / 415.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003714/0.3435, allocations: 2.362 MB / 418.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.3467, allocations: 2.121 MB / 420.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.3488, allocations: 0.9924 MB / 421.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.3523, allocations: 2.337 MB / 423.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008179/0.3531, allocations: 188 kB / 423.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.3548, allocations: 0.4915 MB / 424.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.3567, allocations: 1.32 MB / 425.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.3601, allocations: 1.587 MB / 427.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00644/0.3666, allocations: 4.853 MB / 432.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3666, allocations: 4 kB / 432.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3666, allocations: 4 kB / 432.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001164/0.3668, allocations: 0 / 432.1 MB, free: 9.395 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.006483/0.3733, allocations: 3.629 MB / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3733, allocations: 8.031 kB / 435.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.378, allocations: 1.645 MB / 437.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.3809, allocations: 1.584 MB / 439 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.381, allocations: 147.8 kB / 439.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/0.3813, allocations: 199.9 kB / 439.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009292/0.3906, allocations: 6.979 MB / 446.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.857e-05/0.3907, allocations: 35.64 kB / 446.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.391, allocations: 111.8 kB / 446.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/0.3931, allocations: 1.551 MB / 448 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009478/0.4026, allocations: 5.497 MB / 453.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.4324, allocations: 27.12 MB / 480.6 MB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.4356, allocations: 1.638 MB / 482.2 MB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.4365, allocations: 0.4984 MB / 482.7 MB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004393/0.4409, allocations: 2.681 MB / 485.4 MB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4409, allocations: 46.5 kB / 485.5 MB, free: 2.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.697e-06/0.441, allocations: 3.938 kB / 485.5 MB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.00378/0.4447, allocations: 1.755 MB / 487.2 MB, free: 316 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.4449, allocations: 217.8 kB / 487.4 MB, free: 48 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/0.4497, allocations: 3.673 MB / 491.1 MB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.4498, allocations: 33.7 kB / 491.1 MB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.4516, allocations: 2.687 MB / 493.8 MB, free: 9.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.4519, allocations: 395.5 kB / 494.2 MB, free: 9.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009831/0.4529, allocations: 0.9559 MB / 495.2 MB, free: 8.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.453, allocations: 305.1 kB / 495.5 MB, free: 7.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.4546, allocations: 1.204 MB / 496.7 MB, free: 6.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/0.4581, allocations: 4.526 MB / 0.4895 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006272/0.4644, allocations: 6.291 MB / 0.4956 GB, free: 8.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.563e-05/0.4645, allocations: 35.94 kB / 0.4956 GB, free: 8.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008603/0.4731, allocations: 5.432 MB / 0.5009 GB, free: 3.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/0.4732, allocations: 59.94 kB / 0.501 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.4733, allocations: 120.9 kB / 0.5011 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.4735, allocations: 156 kB / 0.5013 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/0.4762, allocations: 1.088 MB / 0.5023 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001545/0.4764, allocations: 235.1 kB / 0.5025 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/0.4796, allocations: 0.6842 MB / 0.5032 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/0.48, allocations: 312.1 kB / 0.5035 GB, free: 452 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.002305/0.4823, allocations: 1.715 MB / 0.5052 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/0.4828, allocations: 300.1 kB / 0.5055 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/0.4836, allocations: 0.4899 MB / 0.5059 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.065e-05/0.4837, allocations: 24 kB / 0.506 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.4837, allocations: 0 / 0.506 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4837, allocations: 7.984 kB / 0.506 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.4888, allocations: 3.15 MB / 0.5091 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4888, allocations: 0 / 0.5091 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.4893, allocations: 107.8 kB / 0.5092 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.4893, allocations: 8 kB / 0.5092 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.4893, allocations: 23.94 kB / 0.5092 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.4894, allocations: 11.98 kB / 0.5092 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4894, allocations: 4 kB / 0.5092 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.4915, allocations: 2.21 MB / 0.5114 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/0.4922, allocations: 421 kB / 0.5118 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.4924, allocations: 31.81 kB / 0.5118 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.4932, allocations: 27.97 kB / 0.5118 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4933, allocations: 55.83 kB / 0.5119 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.4934, allocations: 31.98 kB / 0.5119 GB, free: 7.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003008/0.4964, allocations: 2.333 MB / 0.5142 GB, free: 5.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4964, allocations: 0 / 0.5142 GB, free: 5.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003869/0.5003, allocations: 0.8061 MB / 0.515 GB, free: 4.535 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.000312/0.5006, allocations: 159.8 kB / 0.5151 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004184/0.5048, allocations: 2.817 MB / 0.5179 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5048, allocations: 4 kB / 0.5179 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.5054, allocations: 431.5 kB / 0.5183 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.5075, allocations: 378.6 kB / 0.5186 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5176, allocations: 6.678 MB / 0.5252 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/0.5203, allocations: 2.683 MB / 0.5278 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003161/0.5235, allocations: 1.49 MB / 0.5292 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.5239, allocations: 199.4 kB / 0.5294 GB, free: 5.633 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5239, allocations: 0 / 0.5294 GB, free: 5.633 MB / 462.1 MB Notification: Performance of Templates: time 0.2669/0.7908, allocations: 19.45 MB / 0.5484 GB, free: 124.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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