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.001114/0.001114, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.00117/0.00117, allocations: 187 kB / 18.68 MB, free: 4.406 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2186, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009776/0.2284, allocations: 9.022 MB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.2333, allocations: 2.666 MB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.2344, allocations: 47.88 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.2379, allocations: 1.822 MB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.241, allocations: 1.354 MB / 416.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.2416, allocations: 203.7 kB / 416.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.2445, allocations: 2.367 MB / 418.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.247, allocations: 2.115 MB / 421 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.2485, allocations: 0.9886 MB / 422 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.2513, allocations: 2.341 MB / 424.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005655/0.2519, allocations: 188 kB / 424.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.2532, allocations: 0.4915 MB / 425 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.2545, allocations: 1.32 MB / 426.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.2563, allocations: 1.587 MB / 427.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.261, allocations: 4.853 MB / 432.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.261, allocations: 0 / 432.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.261, allocations: 0 / 432.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.2612, allocations: 0 / 432.8 MB, free: 9.312 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.00681/0.268, allocations: 3.626 MB / 436.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2681, allocations: 15.89 kB / 436.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.2735, allocations: 1.649 MB / 438.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.2767, allocations: 1.58 MB / 439.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.2768, allocations: 155.8 kB / 439.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.2773, allocations: 199.9 kB / 440 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009582/0.2869, allocations: 6.986 MB / 447 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/0.287, allocations: 31.66 kB / 447 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.2873, allocations: 99.89 kB / 447.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/0.2895, allocations: 1.562 MB / 448.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009001/0.2985, allocations: 5.493 MB / 454.2 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.3275, allocations: 27.12 MB / 481.3 MB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.3302, allocations: 1.633 MB / 482.9 MB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.3309, allocations: 0.5023 MB / 483.4 MB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00385/0.3348, allocations: 2.678 MB / 486.1 MB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3348, allocations: 46.56 kB / 486.2 MB, free: 1.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 4.228e-06/0.3348, allocations: 0 / 486.2 MB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003849/0.3387, allocations: 1.753 MB / 487.9 MB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3388, allocations: 218.1 kB / 488.1 MB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/0.3433, allocations: 3.665 MB / 491.8 MB, free: 12.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.3434, allocations: 37.7 kB / 491.8 MB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.3451, allocations: 2.695 MB / 494.5 MB, free: 9.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.3454, allocations: 387.5 kB / 494.9 MB, free: 9.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.3465, allocations: 0.9599 MB / 495.9 MB, free: 8.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.3466, allocations: 305.1 kB / 496.2 MB, free: 7.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.3482, allocations: 1.208 MB / 497.4 MB, free: 6.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003909/0.3522, allocations: 4.526 MB / 0.4901 GB, free: 444 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006257/0.3584, allocations: 6.287 MB / 0.4963 GB, free: 8.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-05/0.3585, allocations: 36 kB / 0.4963 GB, free: 8.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00818/0.3667, allocations: 5.444 MB / 0.5016 GB, free: 2.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.3668, allocations: 56 kB / 0.5017 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.3669, allocations: 124.1 kB / 0.5018 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.367, allocations: 155.9 kB / 0.5019 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.3699, allocations: 1.088 MB / 0.503 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/0.3701, allocations: 227.1 kB / 0.5032 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/0.3731, allocations: 0.6841 MB / 0.5039 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/0.3735, allocations: 323.9 kB / 0.5042 GB, free: 352 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.002129/0.3756, allocations: 1.704 MB / 0.5059 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.376, allocations: 300.1 kB / 0.5061 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.3769, allocations: 498.3 kB / 0.5066 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3769, allocations: 0 / 0.5066 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3769, allocations: 4 kB / 0.5066 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007183/0.3776, allocations: 425 kB / 0.507 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/0.3779, allocations: 19.89 kB / 0.5071 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.3788, allocations: 31.97 kB / 0.5071 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.379, allocations: 43.83 kB / 0.5071 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001552/0.3805, allocations: 1.414 MB / 0.5085 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002211/0.3827, allocations: 2.238 MB / 0.5107 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004996/0.3832, allocations: 395.8 kB / 0.5111 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003029/0.3863, allocations: 2.337 MB / 0.5133 GB, free: 6.906 MB / 446.1 MB Notification: Performance of Backend: time 4.21e-07/0.3863, allocations: 0 / 0.5133 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005028/0.3913, allocations: 2.588 MB / 0.5159 GB, free: 4.336 MB / 446.1 MB Notification: Performance of SimCode: time 0.009811/0.4012, allocations: 7.319 MB / 0.523 GB, free: 12.97 MB / 462.1 MB Notification: Performance of Templates: time 0.2177/0.6189, allocations: 25.91 MB / 0.5483 GB, free: 113.1 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