Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 174.2 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.42 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002959, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2463, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0241/0.2705, allocations: 30.41 MB / 407 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.2868, allocations: 8.112 MB / 415.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007779/0.2946, allocations: 143.6 kB / 415.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.2961, allocations: 338.4 kB / 415.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.2999, allocations: 1.246 MB / 416.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.3006, allocations: 199.7 kB / 417 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.3051, allocations: 4.278 MB / 421.3 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003828/0.309, allocations: 3.096 MB / 424.4 MB, free: 20 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3109, allocations: 0.8635 MB / 425.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.3136, allocations: 1.499 MB / 426.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000687/0.3143, allocations: 96 kB / 426.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.3157, allocations: 403.3 kB / 427.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.3173, allocations: 1.203 MB / 428.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.3197, allocations: 1.507 MB / 430 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005003/0.3247, allocations: 4.417 MB / 434.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3248, allocations: 0 / 434.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3248, allocations: 0 / 434.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002289/0.325, allocations: 0 / 434.4 MB, free: 5.996 MB / 314.7 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.006779/0.3318, allocations: 2.998 MB / 437.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3319, allocations: 8.031 kB / 437.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.3372, allocations: 1.7 MB / 439.1 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.3407, allocations: 1.557 MB / 440.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.3409, allocations: 151.8 kB / 440.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000719/0.3417, allocations: 195.9 kB / 441 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.3549, allocations: 6.963 MB / 447.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.355, allocations: 27.75 kB / 448 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006643/0.3557, allocations: 103.9 kB / 448.1 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/0.3581, allocations: 1.562 MB / 449.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.3689, allocations: 5.462 MB / 455.1 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03516/0.4041, allocations: 27.29 MB / 482.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.4071, allocations: 1.58 MB / 484 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/0.4079, allocations: 480 kB / 484.4 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004518/0.4124, allocations: 2.584 MB / 487 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.4125, allocations: 38.56 kB / 487.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 4.669e-06/0.4125, allocations: 0 / 487.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.004274/0.4168, allocations: 1.662 MB / 488.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.417, allocations: 191.9 kB / 488.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007958/0.4249, allocations: 3.686 MB / 492.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.4251, allocations: 37.69 kB / 492.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.4278, allocations: 2.714 MB / 495.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006045/0.4284, allocations: 363.9 kB / 495.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.4288, allocations: 96 kB / 495.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003998/0.4292, allocations: 0.5006 MB / 496.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4313, allocations: 1.184 MB / 497.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2365/0.6678, allocations: 4.541 MB / 0.4902 GB, free: 105.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008148/0.676, allocations: 6.295 MB / 0.4964 GB, free: 99.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002526/0.6763, allocations: 34.62 kB / 0.4964 GB, free: 99.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01231/0.6886, allocations: 5.418 MB / 0.5017 GB, free: 97.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.6888, allocations: 58 kB / 0.5018 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/0.689, allocations: 120.8 kB / 0.5019 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.6892, allocations: 156.2 kB / 0.502 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/0.6926, allocations: 1.098 MB / 0.5031 GB, free: 97.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002001/0.6928, allocations: 243.3 kB / 0.5033 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/0.6971, allocations: 0.7002 MB / 0.504 GB, free: 97.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006788/0.6978, allocations: 314.6 kB / 0.5043 GB, free: 97.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (597): * Single equations (assignments): 594 * Array equations: 3 * 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.00377/0.7016, allocations: 1.712 MB / 0.506 GB, free: 96.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006414/0.7023, allocations: 298.5 kB / 0.5063 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.7034, allocations: 0.4883 MB / 0.5068 GB, free: 96.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.7034, allocations: 15.62 kB / 0.5068 GB, free: 96.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.7034, allocations: 3.75 kB / 0.5068 GB, free: 96.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.7035, allocations: 11.69 kB / 0.5068 GB, free: 96.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006461/0.7099, allocations: 3.121 MB / 0.5098 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.71, allocations: 4 kB / 0.5098 GB, free: 94.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.7104, allocations: 101.3 kB / 0.5099 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.7104, allocations: 8 kB / 0.5099 GB, free: 94.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.7105, allocations: 21.05 kB / 0.51 GB, free: 94.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7105, allocations: 11.11 kB / 0.51 GB, free: 94.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7105, allocations: 4 kB / 0.51 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.7125, allocations: 2.037 MB / 0.512 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/0.7133, allocations: 444.7 kB / 0.5124 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/0.7138, allocations: 16 kB / 0.5124 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7148, allocations: 27.03 kB / 0.5124 GB, free: 92.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.7149, allocations: 53.66 kB / 0.5125 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.715, allocations: 32.69 kB / 0.5125 GB, free: 92.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003764/0.7187, allocations: 2.337 MB / 0.5148 GB, free: 89.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7188, allocations: 288 / 0.5148 GB, free: 89.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003895/0.7227, allocations: 0.8039 MB / 0.5156 GB, free: 89.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.723, allocations: 152.2 kB / 0.5157 GB, free: 88.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.727, allocations: 2.758 MB / 0.5184 GB, free: 86.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.727, allocations: 0 / 0.5184 GB, free: 86.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.7275, allocations: 404.7 kB / 0.5188 GB, free: 85.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.7312, allocations: 359.8 kB / 0.5192 GB, free: 85.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7433, allocations: 8.262 MB / 0.5272 GB, free: 77.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/0.7465, allocations: 2.691 MB / 0.5298 GB, free: 74.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003789/0.7503, allocations: 1.506 MB / 0.5313 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.7508, allocations: 195.4 kB / 0.5315 GB, free: 72.77 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7508, allocations: 4 kB / 0.5315 GB, free: 72.76 MB / 378.7 MB Notification: Performance of Templates: time 0.04179/0.7926, allocations: 21.3 MB / 0.5523 GB, free: 51.57 MB / 378.7 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches