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.001292/0.001292, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001432/0.001432, allocations: 190 kB / 18.07 MB, free: 5.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.435/1.435, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001117/0.001117, allocations: 43.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09697, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03121/0.1282, allocations: 33.51 MB / 360.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.1439, allocations: 6.606 MB / 366.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006535/0.1505, allocations: 147.6 kB / 366.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.1543, allocations: 1.792 MB / 368.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.1578, allocations: 1.246 MB / 369.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.1584, allocations: 203.6 kB / 370.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004929/0.1634, allocations: 4.262 MB / 374.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.166, allocations: 2.134 MB / 376.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.1674, allocations: 0.8832 MB / 377.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.1697, allocations: 1.674 MB / 379 MB, free: 208 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.1701, allocations: 148 kB / 379.2 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2047/0.3749, allocations: 452.4 kB / 379.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.3772, allocations: 1.283 MB / 380.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.38, allocations: 1.568 MB / 382.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.3864, allocations: 4.529 MB / 387 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3864, allocations: 0 / 387 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3864, allocations: 0 / 387 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.3866, allocations: 2.75 kB / 387 MB, free: 12.25 MB / 318.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.008626/0.3952, allocations: 3.633 MB / 390.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.3953, allocations: 10.25 kB / 390.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.4009, allocations: 1.65 MB / 392.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.4048, allocations: 1.552 MB / 393.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.4049, allocations: 150.8 kB / 394 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/0.4054, allocations: 207.5 kB / 394.2 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.4174, allocations: 6.977 MB / 401.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/0.4175, allocations: 30.66 kB / 401.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.4177, allocations: 97.73 kB / 401.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/0.4197, allocations: 1.56 MB / 402.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009575/0.4293, allocations: 5.487 MB / 408.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/0.4699, allocations: 27.26 MB / 435.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.4732, allocations: 1.58 MB / 437.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.474, allocations: 476.1 kB / 437.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005025/0.4791, allocations: 2.587 MB / 440.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4791, allocations: 40.72 kB / 440.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 4.138e-06/0.4791, allocations: 0 / 440.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004422/0.4836, allocations: 1.666 MB / 442 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.4838, allocations: 191.9 kB / 442.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009483/0.4933, allocations: 3.698 MB / 445.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.4935, allocations: 37.7 kB / 445.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003084/0.4966, allocations: 2.717 MB / 448.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/0.4974, allocations: 368.1 kB / 449 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.4995, allocations: 0.9601 MB / 449.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4996, allocations: 305.1 kB / 450.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.502, allocations: 1.2 MB / 451.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004868/0.5069, allocations: 4.567 MB / 456 MB, free: 6.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007151/0.5141, allocations: 6.31 MB / 462.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/0.5142, allocations: 36 kB / 462.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01035/0.5246, allocations: 5.445 MB / 467.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.5247, allocations: 56 kB / 467.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002111/0.5249, allocations: 124 kB / 467.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.5251, allocations: 156.8 kB / 468.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/0.5284, allocations: 1.1 MB / 469.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000207/0.5287, allocations: 243.2 kB / 469.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.5328, allocations: 0.6833 MB / 470.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006352/0.5334, allocations: 323.6 kB / 470.4 MB, free: 8.09 MB / 382.1 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.003365/0.5368, allocations: 1.723 MB / 472.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/0.5375, allocations: 292.2 kB / 472.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.5388, allocations: 494.5 kB / 472.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.5389, allocations: 12 kB / 472.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5389, allocations: 6.625 kB / 472.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5389, allocations: 7.984 kB / 473 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/0.546, allocations: 3.123 MB / 476.1 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.546, allocations: 10.66 kB / 476.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005036/0.5465, allocations: 105.3 kB / 476.2 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.5466, allocations: 4 kB / 476.2 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.5466, allocations: 17.45 kB / 476.2 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.5466, allocations: 14.42 kB / 476.2 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5466, allocations: 7.984 kB / 476.2 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.5492, allocations: 2.036 MB / 478.3 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.5502, allocations: 417.5 kB / 478.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005881/0.5508, allocations: 16 kB / 478.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.552, allocations: 36.02 kB / 478.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5521, allocations: 46.52 kB / 478.8 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.5522, allocations: 28 kB / 478.8 MB, free: 15.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005201/0.5574, allocations: 2.364 MB / 481.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5574, allocations: 0 / 481.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006245/0.5637, allocations: 0.8121 MB / 482 MB, free: 12.55 MB / 398.1 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.000513/0.5642, allocations: 140.3 kB / 482.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005568/0.5698, allocations: 2.768 MB / 484.9 MB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.5699, allocations: 0 / 484.9 MB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.5705, allocations: 411.2 kB / 485.3 MB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.5739, allocations: 358.7 kB / 485.6 MB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.5905, allocations: 8.215 MB / 493.8 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005029/0.5956, allocations: 2.679 MB / 496.5 MB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004871/0.6005, allocations: 1.506 MB / 498 MB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/0.6013, allocations: 195.4 kB / 498.2 MB, free: 12.44 MB / 414.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6013, allocations: 0 / 498.2 MB, free: 12.44 MB / 414.1 MB Notification: Performance of Templates: time 0.04953/0.6508, allocations: 21.4 MB / 0.5074 GB, free: 7.094 MB / 430.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches