Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008558/0.0008559, allocations: 183.2 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 225.7 MB / 243.2 MB, free: 8.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 97.48 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 12 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1936, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01874/0.2124, allocations: 30.4 MB / 435 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2269, allocations: 8.115 MB / 443.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00379/0.2307, allocations: 139.7 kB / 443.2 MB, free: 8.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009058/0.2316, allocations: 338.4 kB / 443.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.2342, allocations: 1.249 MB / 444.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.2346, allocations: 195.8 kB / 445 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.2392, allocations: 4.524 MB / 449.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/0.2428, allocations: 3.108 MB / 452.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2439, allocations: 0.8557 MB / 453.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.2456, allocations: 1.507 MB / 455 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.2458, allocations: 96 kB / 455.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/0.2466, allocations: 419.2 kB / 455.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009494/0.2476, allocations: 1.203 MB / 456.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2487, allocations: 1.499 MB / 458.2 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.2522, allocations: 4.417 MB / 462.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2522, allocations: 0 / 462.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2522, allocations: 0 / 462.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.012e-05/0.2523, allocations: 0 / 462.6 MB, free: 4.582 MB / 330.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.004267/0.2566, allocations: 3.002 MB / 465.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2566, allocations: 8.031 kB / 465.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/0.2611, allocations: 1.696 MB / 467.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2633, allocations: 1.565 MB / 468.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.2634, allocations: 151.8 kB / 469 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.2638, allocations: 203.8 kB / 469.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008168/0.2719, allocations: 6.959 MB / 476.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/0.272, allocations: 27.75 kB / 476.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.2722, allocations: 103.9 kB / 476.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/0.2742, allocations: 1.559 MB / 477.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007929/0.2822, allocations: 5.45 MB / 483.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.3088, allocations: 27.28 MB / 0.4986 GB, free: 3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.3113, allocations: 1.58 MB / 0.5002 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006648/0.312, allocations: 477 kB / 0.5006 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1502/0.4623, allocations: 2.561 MB / 0.5031 GB, free: 97.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4623, allocations: 50.2 kB / 0.5032 GB, free: 97.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 4.077e-06/0.4623, allocations: 0 / 0.5032 GB, free: 97.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003164/0.4655, allocations: 1.662 MB / 0.5048 GB, free: 96.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.4656, allocations: 197.4 kB / 0.505 GB, free: 96.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.4697, allocations: 3.688 MB / 0.5086 GB, free: 95.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4697, allocations: 30.48 kB / 0.5086 GB, free: 95.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009627/0.4707, allocations: 2.724 MB / 0.5113 GB, free: 93.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.4708, allocations: 360.2 kB / 0.5116 GB, free: 93.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.471, allocations: 96.7 kB / 0.5117 GB, free: 93.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4711, allocations: 0.5014 MB / 0.5122 GB, free: 92.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4724, allocations: 1.184 MB / 0.5134 GB, free: 92.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.4746, allocations: 4.55 MB / 0.5178 GB, free: 87.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003951/0.4786, allocations: 6.29 MB / 0.524 GB, free: 80.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.789e-05/0.4786, allocations: 36 kB / 0.524 GB, free: 80.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006216/0.4849, allocations: 5.415 MB / 0.5293 GB, free: 75.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.485, allocations: 64.16 kB / 0.5293 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.691e-05/0.485, allocations: 125.9 kB / 0.5295 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.4852, allocations: 156 kB / 0.5296 GB, free: 75.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.4875, allocations: 1.103 MB / 0.5307 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001018/0.4876, allocations: 235.1 kB / 0.5309 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.4901, allocations: 0.6887 MB / 0.5316 GB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.4903, allocations: 321.8 kB / 0.5319 GB, free: 72.74 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.001741/0.4921, allocations: 1.721 MB / 0.5336 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.4924, allocations: 300 kB / 0.5339 GB, free: 70.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/0.493, allocations: 498.2 kB / 0.5343 GB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.493, allocations: 12 kB / 0.5343 GB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4931, allocations: 4 kB / 0.5344 GB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4931, allocations: 3.984 kB / 0.5344 GB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.4966, allocations: 3.126 MB / 0.5374 GB, free: 67.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4966, allocations: 4 kB / 0.5374 GB, free: 67.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.497, allocations: 115.8 kB / 0.5375 GB, free: 66.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.497, allocations: 4 kB / 0.5375 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.4971, allocations: 13.48 kB / 0.5375 GB, free: 66.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.4971, allocations: 11.98 kB / 0.5375 GB, free: 66.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4971, allocations: 11.88 kB / 0.5376 GB, free: 66.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4985, allocations: 2.025 MB / 0.5395 GB, free: 64.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.4989, allocations: 433.4 kB / 0.54 GB, free: 64.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.4992, allocations: 16 kB / 0.54 GB, free: 64.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.4999, allocations: 37.22 kB / 0.54 GB, free: 64.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.5, allocations: 51.88 kB / 0.5401 GB, free: 64.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.5, allocations: 25.41 kB / 0.5401 GB, free: 64.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002141/0.5022, allocations: 2.334 MB / 0.5424 GB, free: 61.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5022, allocations: 3.938 kB / 0.5424 GB, free: 61.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002572/0.5048, allocations: 0.8203 MB / 0.5432 GB, free: 61.06 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.0002199/0.505, allocations: 151.4 kB / 0.5433 GB, free: 60.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002837/0.5078, allocations: 2.75 MB / 0.546 GB, free: 58.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5078, allocations: 0 / 0.546 GB, free: 58.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.5082, allocations: 408.1 kB / 0.5464 GB, free: 57.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.511, allocations: 367.2 kB / 0.5467 GB, free: 57.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006857/0.5179, allocations: 8.266 MB / 0.5548 GB, free: 49.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.5197, allocations: 2.679 MB / 0.5574 GB, free: 46.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002883/0.5226, allocations: 1.514 MB / 0.5589 GB, free: 44.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.5229, allocations: 191.4 kB / 0.5591 GB, free: 44.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5229, allocations: 0 / 0.5591 GB, free: 44.7 MB / 378.7 MB Notification: Performance of Templates: time 0.03604/0.5589, allocations: 21.34 MB / 0.5799 GB, free: 23.53 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches