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.001712/0.001712, allocations: 107.1 kB / 17.16 MB, free: 6.082 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.002066/0.002066, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.443/1.443, allocations: 222.9 MB / 241.8 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.001131, allocations: 42.69 kB / 300.6 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09569, allocations: 49.44 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.215/0.3107, allocations: 33.48 MB / 383.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.325, allocations: 6.625 MB / 390.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006602/0.3317, allocations: 139.6 kB / 390.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.3353, allocations: 1.798 MB / 392.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.3391, allocations: 1.245 MB / 393.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.3398, allocations: 202.4 kB / 393.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.3451, allocations: 4.518 MB / 398.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.3476, allocations: 2.118 MB / 400.2 MB, free: 180 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.3491, allocations: 0.8823 MB / 401.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.3513, allocations: 1.672 MB / 402.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.3518, allocations: 148.4 kB / 402.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.3529, allocations: 477.1 kB / 403.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.3541, allocations: 1.281 MB / 404.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.3557, allocations: 1.572 MB / 406.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.3592, allocations: 3.688 MB / 409.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3592, allocations: 0 / 409.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.3592, allocations: 0 / 409.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.337e-05/0.3593, allocations: 0 / 409.9 MB, free: 8.93 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.005765/0.3651, allocations: 3.626 MB / 413.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3652, allocations: 8.031 kB / 413.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.37, allocations: 1.649 MB / 415.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.3726, allocations: 1.55 MB / 416.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3727, allocations: 151.8 kB / 416.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.3731, allocations: 207.8 kB / 417.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008762/0.3818, allocations: 6.975 MB / 424 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.3819, allocations: 43.59 kB / 424.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.3822, allocations: 99.88 kB / 424.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.3843, allocations: 1.562 MB / 425.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009148/0.3935, allocations: 5.478 MB / 431.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.4225, allocations: 27.25 MB / 458.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.4253, allocations: 1.582 MB / 460.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.426, allocations: 476 kB / 460.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004122/0.4301, allocations: 2.589 MB / 463.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4302, allocations: 46.5 kB / 463.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.326e-06/0.4302, allocations: 0 / 463.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003818/0.434, allocations: 1.655 MB / 464.8 MB, free: 64 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4342, allocations: 191.9 kB / 465 MB, free: 15.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/0.4394, allocations: 3.706 MB / 468.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.4396, allocations: 37.83 kB / 468.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.4414, allocations: 2.721 MB / 471.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.4418, allocations: 356 kB / 471.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.4428, allocations: 0.9676 MB / 472.8 MB, free: 8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.4429, allocations: 305.1 kB / 473.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.4446, allocations: 1.2 MB / 474.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.4483, allocations: 4.572 MB / 478.9 MB, free: 200 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006291/0.4546, allocations: 6.3 MB / 485.2 MB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.079e-05/0.4547, allocations: 36 kB / 485.2 MB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009241/0.4639, allocations: 5.448 MB / 490.6 MB, free: 2.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.4641, allocations: 60.03 kB / 490.7 MB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.4643, allocations: 120.6 kB / 490.8 MB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.4644, allocations: 156 kB / 491 MB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/0.4677, allocations: 1.111 MB / 492.1 MB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000217/0.4679, allocations: 235.1 kB / 492.3 MB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/0.4718, allocations: 0.6842 MB / 493 MB, free: 356 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008707/0.4727, allocations: 319.9 kB / 493.3 MB, free: 36 kB / 398.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.003157/0.4759, allocations: 1.723 MB / 495 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00063/0.4765, allocations: 304 kB / 495.3 MB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.4777, allocations: 0.4905 MB / 495.8 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/0.4777, allocations: 12 kB / 495.8 MB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4778, allocations: 0 / 495.8 MB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4778, allocations: 7.984 kB / 495.8 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007186/0.485, allocations: 3.119 MB / 499 MB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.485, allocations: 4 kB / 499 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.4856, allocations: 103.9 kB / 499.1 MB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.4856, allocations: 4 kB / 499.1 MB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.4857, allocations: 20.2 kB / 499.1 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.4857, allocations: 12 kB / 499.1 MB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4857, allocations: 4 kB / 499.1 MB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.488, allocations: 2.041 MB / 0.4894 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.4889, allocations: 420.9 kB / 0.4898 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005182/0.4894, allocations: 16 kB / 0.4898 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.4905, allocations: 35.89 kB / 0.4898 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.4906, allocations: 43.89 kB / 0.4899 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/0.4907, allocations: 24 kB / 0.4899 GB, free: 7.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004424/0.4951, allocations: 2.369 MB / 0.4922 GB, free: 5.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4952, allocations: 3.938 kB / 0.4922 GB, free: 5.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004541/0.4997, allocations: 0.8099 MB / 0.493 GB, free: 4.324 MB / 414.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.0003921/0.5001, allocations: 139.1 kB / 0.4931 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.5047, allocations: 2.773 MB / 0.4959 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5048, allocations: 0.8125 kB / 0.4959 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.5054, allocations: 404.4 kB / 0.4962 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.5083, allocations: 365 kB / 0.4966 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.5242, allocations: 8.576 MB / 0.505 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/0.5282, allocations: 2.687 MB / 0.5076 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/0.5289, allocations: 231.4 kB / 0.5078 GB, free: 5.094 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.529, allocations: 0 / 0.5078 GB, free: 5.094 MB / 430.1 MB Notification: Performance of Templates: time 0.2505/0.7795, allocations: 43.65 MB / 0.5504 GB, free: 138.6 MB / 446.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