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.001252/0.001253, allocations: 105.4 kB / 18.39 MB, free: 4.641 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.001317/0.001317, allocations: 189.1 kB / 19.33 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.415/1.415, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.00125/0.00125, allocations: 51.94 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08804, allocations: 46.61 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1896/0.2776, allocations: 9.022 MB / 384.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.2835, allocations: 2.669 MB / 387.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.2851, allocations: 49.84 kB / 387.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.2888, allocations: 1.825 MB / 389.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.2928, allocations: 1.345 MB / 390.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.2936, allocations: 213.7 kB / 390.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003859/0.2975, allocations: 2.368 MB / 393.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.3005, allocations: 2.127 MB / 395.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.3027, allocations: 0.9955 MB / 396.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.3064, allocations: 2.35 MB / 398.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008567/0.3073, allocations: 188.4 kB / 399 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3088, allocations: 486.1 kB / 399.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.3104, allocations: 1.322 MB / 400.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.3123, allocations: 1.583 MB / 402.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.3187, allocations: 4.856 MB / 407.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3188, allocations: 5.188 kB / 407.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3188, allocations: 0 / 407.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.3191, allocations: 0 / 407.2 MB, free: 13.47 MB / 334.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.009771/0.3288, allocations: 3.63 MB / 410.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.3289, allocations: 9.594 kB / 410.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.335, allocations: 1.647 MB / 412.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.3391, allocations: 1.58 MB / 414.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3393, allocations: 155.5 kB / 414.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007352/0.34, allocations: 197.6 kB / 414.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.3519, allocations: 6.978 MB / 421.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/0.352, allocations: 27.75 kB / 421.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003877/0.3524, allocations: 103.9 kB / 421.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/0.3549, allocations: 1.559 MB / 423.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.3654, allocations: 5.493 MB / 428.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.3988, allocations: 27.13 MB / 455.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.4018, allocations: 1.635 MB / 457.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.4026, allocations: 0.4977 MB / 457.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004741/0.4074, allocations: 2.674 MB / 460.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4074, allocations: 46.5 kB / 460.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 4.659e-06/0.4074, allocations: 112 / 460.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004262/0.4117, allocations: 1.767 MB / 462.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.4118, allocations: 217.7 kB / 462.5 MB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/0.4175, allocations: 3.665 MB / 466.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.4177, allocations: 37.7 kB / 466.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/0.4197, allocations: 2.687 MB / 468.9 MB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005227/0.4203, allocations: 391.5 kB / 469.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.4216, allocations: 0.952 MB / 470.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4217, allocations: 305.7 kB / 470.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4236, allocations: 1.208 MB / 471.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004205/0.4278, allocations: 4.522 MB / 476.3 MB, free: 7.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007135/0.435, allocations: 6.305 MB / 482.6 MB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.4351, allocations: 32 kB / 482.6 MB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01037/0.4455, allocations: 5.441 MB / 488.1 MB, free: 9.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.4457, allocations: 59.98 kB / 488.1 MB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/0.4459, allocations: 120 kB / 488.2 MB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.446, allocations: 156 kB / 488.4 MB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.4495, allocations: 1.085 MB / 489.5 MB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002138/0.4497, allocations: 235.1 kB / 489.7 MB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/0.4537, allocations: 0.6764 MB / 490.4 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/0.4546, allocations: 312 kB / 490.7 MB, free: 7.125 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.003375/0.458, allocations: 1.712 MB / 492.4 MB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/0.4587, allocations: 300 kB / 492.7 MB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.4602, allocations: 0.4908 MB / 493.2 MB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.768e-05/0.4603, allocations: 24 kB / 493.2 MB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.4603, allocations: 0 / 493.2 MB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.4603, allocations: 11.92 kB / 493.2 MB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00886/0.4692, allocations: 3.15 MB / 496.4 MB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/0.4692, allocations: 8.281 kB / 496.4 MB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.4699, allocations: 103.8 kB / 496.5 MB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.4699, allocations: 8 kB / 496.5 MB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.47, allocations: 16 kB / 496.5 MB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.47, allocations: 15.92 kB / 496.5 MB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.47, allocations: 11.94 kB / 496.5 MB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.4729, allocations: 2.215 MB / 498.7 MB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4739, allocations: 424.9 kB / 499.2 MB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006119/0.4745, allocations: 16 kB / 499.2 MB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.4758, allocations: 35.91 kB / 499.2 MB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4759, allocations: 43.95 kB / 499.3 MB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.476, allocations: 35.98 kB / 499.3 MB, free: 14.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004145/0.4801, allocations: 2.337 MB / 0.4899 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4801, allocations: 0 / 0.4899 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004347/0.4845, allocations: 0.8176 MB / 0.4907 GB, free: 11.2 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.0004278/0.4849, allocations: 147 kB / 0.4908 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.4897, allocations: 2.813 MB / 0.4936 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4897, allocations: 0 / 0.4936 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.4903, allocations: 440.5 kB / 0.494 GB, free: 7.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.493, allocations: 390 kB / 0.4943 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.5055, allocations: 7.034 MB / 0.5012 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/0.5088, allocations: 2.695 MB / 0.5038 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.5094, allocations: 231.4 kB / 0.5041 GB, free: 13.39 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5095, allocations: 4 kB / 0.5041 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Templates: time 0.06481/0.5743, allocations: 44.02 MB / 0.5471 GB, free: 1.281 MB / 478.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 -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