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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001983/0.001982, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 358.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09657, allocations: 49.43 MB / 408.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01073/0.1073, allocations: 9.021 MB / 417.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00549/0.1129, allocations: 2.667 MB / 419.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.1139, allocations: 47.88 kB / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003586/0.1175, allocations: 1.826 MB / 421.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.1208, allocations: 1.323 MB / 423 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.1214, allocations: 211.6 kB / 423.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.1248, allocations: 2.359 MB / 425.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.1275, allocations: 2.121 MB / 427.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.129, allocations: 1.008 MB / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1948/0.3238, allocations: 2.323 MB / 431 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008632/0.3247, allocations: 191 kB / 431.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.3258, allocations: 497.7 kB / 431.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009657/0.3268, allocations: 1.296 MB / 433 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.3281, allocations: 1.586 MB / 434.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.3337, allocations: 4.867 MB / 439.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3337, allocations: 3.938 kB / 439.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3337, allocations: 1.438 kB / 439.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001634/0.3339, allocations: 1.562 kB / 439.4 MB, free: 5.867 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.007349/0.3413, allocations: 3.735 MB / 443.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3413, allocations: 9.375 kB / 443.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.3469, allocations: 1.672 MB / 444.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/0.3501, allocations: 1.583 MB / 446.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.3502, allocations: 157.8 kB / 446.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.3507, allocations: 199.4 kB / 446.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.3612, allocations: 6.98 MB / 453.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.389e-05/0.3613, allocations: 27.03 kB / 453.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.3616, allocations: 106.1 kB / 453.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.3638, allocations: 1.557 MB / 455.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00907/0.3729, allocations: 5.491 MB / 461 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03319/0.4061, allocations: 27.19 MB / 488.1 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.4092, allocations: 1.63 MB / 489.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/0.41, allocations: 0.4972 MB / 490.3 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004479/0.4145, allocations: 2.692 MB / 493 MB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4146, allocations: 46.41 kB / 493 MB, free: 1.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.056e-06/0.4146, allocations: 0 / 493 MB, free: 1.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004263/0.4189, allocations: 1.774 MB / 494.8 MB, free: 208 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.419, allocations: 209.8 kB / 495 MB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005993/0.425, allocations: 3.686 MB / 498.7 MB, free: 12.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.4252, allocations: 33.7 kB / 498.7 MB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.4276, allocations: 2.798 MB / 0.4898 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.4282, allocations: 405.6 kB / 0.4901 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.4295, allocations: 0.9665 MB / 0.4911 GB, free: 8.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4296, allocations: 301.1 kB / 0.4914 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.4316, allocations: 1.208 MB / 0.4926 GB, free: 6.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/0.4362, allocations: 4.528 MB / 0.497 GB, free: 412 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00744/0.4437, allocations: 6.297 MB / 0.5031 GB, free: 8.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.745e-05/0.4438, allocations: 39.66 kB / 0.5032 GB, free: 8.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01055/0.4544, allocations: 5.451 MB / 0.5085 GB, free: 3.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/0.4545, allocations: 56 kB / 0.5085 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.4546, allocations: 120 kB / 0.5087 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.4548, allocations: 152 kB / 0.5088 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.4579, allocations: 1.088 MB / 0.5099 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000194/0.4581, allocations: 231.1 kB / 0.5101 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/0.4617, allocations: 0.7096 MB / 0.5108 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005337/0.4623, allocations: 315 kB / 0.5111 GB, free: 0.793 MB / 414.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.002954/0.4652, allocations: 1.715 MB / 0.5127 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006451/0.4659, allocations: 313.8 kB / 0.513 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/0.4669, allocations: 490.4 kB / 0.5135 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/0.467, allocations: 24.88 kB / 0.5135 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.467, allocations: 0 / 0.5135 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.467, allocations: 7.984 kB / 0.5135 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006053/0.4731, allocations: 3.152 MB / 0.5166 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.4731, allocations: 8.219 kB / 0.5166 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.4736, allocations: 107.9 kB / 0.5167 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.4736, allocations: 7.812 kB / 0.5167 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.4737, allocations: 16 kB / 0.5168 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/0.4737, allocations: 15.88 kB / 0.5168 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4737, allocations: 4 kB / 0.5168 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.4764, allocations: 2.234 MB / 0.519 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009352/0.4773, allocations: 434.7 kB / 0.5194 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.4776, allocations: 24.73 kB / 0.5194 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.4786, allocations: 39.89 kB / 0.5194 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4787, allocations: 43.95 kB / 0.5195 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.4788, allocations: 32 kB / 0.5195 GB, free: 8.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004011/0.4828, allocations: 2.337 MB / 0.5218 GB, free: 5.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4828, allocations: 0 / 0.5218 GB, free: 5.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004085/0.4869, allocations: 0.8179 MB / 0.5226 GB, free: 4.875 MB / 430.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.0003646/0.4873, allocations: 151.7 kB / 0.5227 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004776/0.492, allocations: 2.826 MB / 0.5255 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4921, allocations: 0 / 0.5255 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.4927, allocations: 436.1 kB / 0.5259 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.4953, allocations: 380.5 kB / 0.5263 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.5085, allocations: 7.157 MB / 0.5333 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/0.5117, allocations: 2.687 MB / 0.5359 GB, free: 7.207 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.5124, allocations: 231.4 kB / 0.5361 GB, free: 6.98 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5124, allocations: 4 kB / 0.5361 GB, free: 6.977 MB / 446.1 MB Notification: Performance of Templates: time 0.06976/0.5822, allocations: 44.08 MB / 0.5792 GB, free: 10.97 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.007582488004118]