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.001588/0.001588, allocations: 110.6 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.001515/0.001515, 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 43.94 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3895, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01108/0.4006, allocations: 9.018 MB / 409.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006434/0.4071, allocations: 2.656 MB / 412.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.4087, allocations: 47.88 kB / 412.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.4127, allocations: 1.834 MB / 414.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.4161, allocations: 1.354 MB / 415.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.4168, allocations: 207.6 kB / 415.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004395/0.4212, allocations: 2.373 MB / 418.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.4241, allocations: 2.117 MB / 420.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.4257, allocations: 0.9925 MB / 421.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.4288, allocations: 2.341 MB / 423.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005996/0.4294, allocations: 188 kB / 423.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4306, allocations: 499.4 kB / 424.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.4322, allocations: 1.32 MB / 425.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.4342, allocations: 1.587 MB / 427.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005219/0.4394, allocations: 4.857 MB / 432.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4394, allocations: 3.984 kB / 432.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4394, allocations: 0 / 432.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.4395, allocations: 0 / 432.1 MB, free: 9.34 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.00582/0.4453, allocations: 3.626 MB / 435.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4454, allocations: 8.031 kB / 435.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.451, allocations: 1.649 MB / 437.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.4541, allocations: 1.584 MB / 439 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.4543, allocations: 155.8 kB / 439.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.4547, allocations: 187.9 kB / 439.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009763/0.4644, allocations: 6.986 MB / 446.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.4645, allocations: 31.64 kB / 446.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.4648, allocations: 99.88 kB / 446.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00222/0.467, allocations: 1.559 MB / 448 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00893/0.476, allocations: 5.501 MB / 453.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.5044, allocations: 27.11 MB / 480.6 MB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.5072, allocations: 1.645 MB / 482.2 MB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007246/0.508, allocations: 0.4945 MB / 482.7 MB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004333/0.5123, allocations: 2.681 MB / 485.4 MB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5124, allocations: 50.5 kB / 485.5 MB, free: 2.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.066e-06/0.5124, allocations: 0 / 485.5 MB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003948/0.5163, allocations: 1.756 MB / 487.2 MB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5165, allocations: 213.6 kB / 487.4 MB, free: 16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/0.5226, allocations: 3.673 MB / 491.1 MB, free: 12.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.5226, allocations: 41.86 kB / 491.1 MB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.5247, allocations: 2.683 MB / 493.8 MB, free: 9.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.5252, allocations: 391.5 kB / 494.2 MB, free: 9.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.5265, allocations: 0.9559 MB / 495.2 MB, free: 8.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5266, allocations: 301.7 kB / 495.5 MB, free: 7.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.5285, allocations: 1.208 MB / 496.7 MB, free: 6.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004606/0.5332, allocations: 4.526 MB / 0.4895 GB, free: 480 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007453/0.5406, allocations: 6.298 MB / 0.4956 GB, free: 8.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.951e-05/0.5408, allocations: 39.94 kB / 0.4956 GB, free: 8.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009425/0.5502, allocations: 5.43 MB / 0.5009 GB, free: 3.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.5503, allocations: 62.19 kB / 0.501 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.5505, allocations: 116 kB / 0.5011 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.5506, allocations: 159.9 kB / 0.5013 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.5537, allocations: 1.084 MB / 0.5023 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000187/0.5539, allocations: 235.1 kB / 0.5025 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/0.5576, allocations: 0.6805 MB / 0.5032 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004421/0.558, allocations: 316 kB / 0.5035 GB, free: 392 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.002392/0.5604, allocations: 1.708 MB / 0.5052 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/0.5609, allocations: 296.1 kB / 0.5055 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.5619, allocations: 0.4946 MB / 0.5059 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.857e-05/0.5619, allocations: 20 kB / 0.506 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.562, allocations: 0 / 0.506 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.562, allocations: 11.92 kB / 0.506 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/0.5675, allocations: 3.154 MB / 0.5091 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5675, allocations: 4 kB / 0.5091 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.568, allocations: 103.8 kB / 0.5092 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.568, allocations: 8 kB / 0.5092 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.568, allocations: 16.22 kB / 0.5092 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.5681, allocations: 15.98 kB / 0.5092 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5681, allocations: 4 kB / 0.5092 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.5705, allocations: 2.218 MB / 0.5114 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006912/0.5712, allocations: 421 kB / 0.5118 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/0.5715, allocations: 27.83 kB / 0.5118 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/0.5725, allocations: 31.97 kB / 0.5118 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.5726, allocations: 47.83 kB / 0.5119 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.643e-05/0.5727, allocations: 40.05 kB / 0.5119 GB, free: 7.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003754/0.5765, allocations: 2.337 MB / 0.5142 GB, free: 5.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5765, allocations: 0 / 0.5142 GB, free: 5.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003883/0.5804, allocations: 0.806 MB / 0.515 GB, free: 4.469 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.0003376/0.5807, allocations: 151.8 kB / 0.5151 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.5851, allocations: 2.808 MB / 0.5179 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5851, allocations: 0.8125 kB / 0.5179 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.5857, allocations: 444.5 kB / 0.5183 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.5883, allocations: 385.1 kB / 0.5187 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6, allocations: 6.676 MB / 0.5252 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/0.6033, allocations: 2.683 MB / 0.5278 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003692/0.607, allocations: 1.486 MB / 0.5292 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.6075, allocations: 195.4 kB / 0.5294 GB, free: 5.574 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6075, allocations: 0 / 0.5294 GB, free: 5.574 MB / 462.1 MB Notification: Performance of Templates: time 0.2287/0.8362, allocations: 19.45 MB / 0.5484 GB, free: 124.2 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