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.001756/0.001756, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001745/0.001745, allocations: 188.2 kB / 18.66 MB, free: 4.414 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.417/1.417, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00123/0.00123, allocations: 51.92 kB / 328.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08723, allocations: 46.62 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1965/0.2838, allocations: 9.021 MB / 384.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006833/0.2907, allocations: 2.667 MB / 386.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.2924, allocations: 48.25 kB / 386.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.2964, allocations: 1.823 MB / 388.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.3011, allocations: 1.348 MB / 390.1 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.3018, allocations: 212.7 kB / 390.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004234/0.3061, allocations: 2.373 MB / 392.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003095/0.3092, allocations: 2.12 MB / 394.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.3115, allocations: 0.9987 MB / 395.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004063/0.3156, allocations: 2.345 MB / 398.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008376/0.3164, allocations: 188.4 kB / 398.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.3179, allocations: 489.1 kB / 398.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00171/0.3197, allocations: 1.321 MB / 400.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.3216, allocations: 1.587 MB / 401.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007401/0.329, allocations: 4.856 MB / 406.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.329, allocations: 0 / 406.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.329, allocations: 1.312 kB / 406.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002502/0.3293, allocations: 0 / 406.5 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.01319/0.3425, allocations: 3.63 MB / 410.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3426, allocations: 7.531 kB / 410.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005714/0.3483, allocations: 1.648 MB / 411.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.3523, allocations: 1.585 MB / 413.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3525, allocations: 154.1 kB / 413.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000524/0.353, allocations: 193.1 kB / 413.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.3649, allocations: 6.983 MB / 420.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/0.365, allocations: 27.75 kB / 420.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.3653, allocations: 103.9 kB / 420.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/0.3676, allocations: 1.562 MB / 422.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.3781, allocations: 5.489 MB / 427.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03482/0.413, allocations: 27.12 MB / 455 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.416, allocations: 1.642 MB / 456.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006954/0.4167, allocations: 0.4978 MB / 457.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004428/0.4211, allocations: 2.674 MB / 459.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4212, allocations: 42.61 kB / 459.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.266e-06/0.4212, allocations: 3.938 kB / 459.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003968/0.4252, allocations: 1.759 MB / 461.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4253, allocations: 217.7 kB / 461.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.4306, allocations: 3.669 MB / 465.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/0.4307, allocations: 33.7 kB / 465.6 MB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.4327, allocations: 2.687 MB / 468.3 MB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.4332, allocations: 391.6 kB / 468.6 MB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.4344, allocations: 0.9565 MB / 469.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4345, allocations: 305.1 kB / 469.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.4363, allocations: 1.208 MB / 471.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/0.4404, allocations: 4.526 MB / 475.6 MB, free: 7.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.4471, allocations: 6.297 MB / 481.9 MB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.622e-05/0.4473, allocations: 36 kB / 482 MB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009647/0.4569, allocations: 5.441 MB / 487.4 MB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4571, allocations: 60.88 kB / 487.5 MB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.4572, allocations: 116 kB / 487.6 MB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.4574, allocations: 156 kB / 487.7 MB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.4606, allocations: 1.084 MB / 488.8 MB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001862/0.4608, allocations: 235.1 kB / 489 MB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/0.4645, allocations: 0.6764 MB / 489.7 MB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/0.465, allocations: 312 kB / 490 MB, free: 7.102 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.002771/0.4678, allocations: 1.712 MB / 491.7 MB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006205/0.4684, allocations: 308.2 kB / 492 MB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4694, allocations: 498.8 kB / 492.5 MB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-05/0.4695, allocations: 20 kB / 492.5 MB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.4695, allocations: 3.938 kB / 492.5 MB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4695, allocations: 7.984 kB / 492.5 MB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.4761, allocations: 3.158 MB / 495.7 MB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.4762, allocations: 4 kB / 495.7 MB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.4767, allocations: 103.8 kB / 495.8 MB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.4767, allocations: 4 kB / 495.8 MB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.4767, allocations: 16 kB / 495.8 MB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/0.4768, allocations: 15.92 kB / 495.8 MB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4768, allocations: 7.938 kB / 495.9 MB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.4792, allocations: 2.214 MB / 498.1 MB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/0.48, allocations: 424.9 kB / 498.5 MB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/0.4805, allocations: 19.98 kB / 498.5 MB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.4817, allocations: 39.97 kB / 498.5 MB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4818, allocations: 39.89 kB / 498.6 MB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.4818, allocations: 35.98 kB / 498.6 MB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003944/0.4858, allocations: 2.341 MB / 0.4892 GB, free: 12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4858, allocations: 0 / 0.4892 GB, free: 12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004382/0.4902, allocations: 0.8137 MB / 0.49 GB, free: 11.18 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.0003714/0.4906, allocations: 151 kB / 0.4902 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.4951, allocations: 2.809 MB / 0.4929 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.4951, allocations: 4 kB / 0.4929 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.4957, allocations: 441.8 kB / 0.4933 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.4982, allocations: 386 kB / 0.4937 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.5103, allocations: 6.66 MB / 0.5002 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/0.5138, allocations: 2.691 MB / 0.5028 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003523/0.5174, allocations: 1.494 MB / 0.5043 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/0.518, allocations: 195.4 kB / 0.5045 GB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.518, allocations: 3.938 kB / 0.5045 GB, free: 12.28 MB / 446.1 MB Notification: Performance of Templates: time 0.04557/0.5636, allocations: 19.39 MB / 0.5234 GB, free: 8.859 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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