Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001987/0.001988, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.773/2.773, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.006537/0.006537, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7202, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02097/0.7412, allocations: 8.998 MB / 418.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.7534, allocations: 2.721 MB / 421.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.7563, allocations: 47.88 kB / 421.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007192/0.7635, allocations: 1.837 MB / 423.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007424/0.7711, allocations: 1.319 MB / 424.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.7728, allocations: 211.7 kB / 425.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006986/0.7798, allocations: 2.339 MB / 427.4 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005494/0.7854, allocations: 2.115 MB / 429.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.7888, allocations: 0.9885 MB / 430.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006728/0.7956, allocations: 2.451 MB / 433 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001384/0.7971, allocations: 188 kB / 433.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.7998, allocations: 0.5111 MB / 433.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003098/0.803, allocations: 1.305 MB / 435 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004454/0.8075, allocations: 1.572 MB / 436.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.8235, allocations: 4.83 MB / 441.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.8235, allocations: 0 / 441.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.8236, allocations: 0 / 441.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002483/0.8238, allocations: 0 / 441.4 MB, free: 1.988 MB / 350.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.02296/0.8468, allocations: 3.602 MB / 445 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001229/0.847, allocations: 16.03 kB / 445 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.8646, allocations: 1.696 MB / 446.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008168/0.8729, allocations: 1.584 MB / 448.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.8733, allocations: 155.8 kB / 448.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.8748, allocations: 187.9 kB / 448.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.8983, allocations: 6.986 MB / 455.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.8986, allocations: 27.75 kB / 455.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.8999, allocations: 103.9 kB / 455.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004507/0.9045, allocations: 1.551 MB / 457.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.9243, allocations: 5.493 MB / 462.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08452/1.009, allocations: 27.12 MB / 489.9 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00631/1.015, allocations: 1.645 MB / 491.5 MB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/1.017, allocations: 0.498 MB / 492 MB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009345/1.026, allocations: 2.686 MB / 494.7 MB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/1.027, allocations: 54.45 kB / 494.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 1.313e-05/1.027, allocations: 0 / 494.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.009064/1.036, allocations: 1.761 MB / 496.5 MB, free: 8.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002729/1.036, allocations: 213.6 kB / 496.7 MB, free: 8.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/1.05, allocations: 3.665 MB / 0.4887 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/1.05, allocations: 33.7 kB / 0.4887 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005098/1.055, allocations: 2.687 MB / 0.4913 GB, free: 2.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.056, allocations: 391.4 kB / 0.4917 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003937/1.06, allocations: 0.9559 MB / 0.4926 GB, free: 0.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/1.061, allocations: 301.1 kB / 0.4929 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004364/1.065, allocations: 1.208 MB / 0.4941 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/1.079, allocations: 4.53 MB / 0.4985 GB, free: 9.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01931/1.099, allocations: 6.29 MB / 0.5047 GB, free: 1.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002267/1.099, allocations: 39.94 kB / 0.5047 GB, free: 1.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.02586/1.125, allocations: 5.429 MB / 0.51 GB, free: 11.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003284/1.125, allocations: 56 kB / 0.5101 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004214/1.126, allocations: 123.9 kB / 0.5102 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/1.126, allocations: 152 kB / 0.5103 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007325/1.133, allocations: 1.084 MB / 0.5114 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.145, allocations: 231.1 kB / 0.5116 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008524/1.154, allocations: 0.6845 MB / 0.5123 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.156, allocations: 323.9 kB / 0.5126 GB, free: 9.012 MB / 446.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.006528/1.162, allocations: 1.712 MB / 0.5142 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.164, allocations: 296.1 kB / 0.5145 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/1.167, allocations: 0.4978 MB / 0.515 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/1.167, allocations: 16 kB / 0.515 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/1.167, allocations: 4 kB / 0.515 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/1.167, allocations: 3.984 kB / 0.515 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.183, allocations: 3.15 MB / 0.5181 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/1.183, allocations: 4 kB / 0.5181 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.184, allocations: 103.8 kB / 0.5182 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/1.184, allocations: 4.281 kB / 0.5182 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.184, allocations: 23.94 kB / 0.5182 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-05/1.184, allocations: 8 kB / 0.5182 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-05/1.184, allocations: 7.938 kB / 0.5183 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/1.19, allocations: 2.215 MB / 0.5204 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/1.192, allocations: 428.8 kB / 0.5208 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.193, allocations: 19.94 kB / 0.5208 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.196, allocations: 39.89 kB / 0.5209 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.196, allocations: 47.89 kB / 0.5209 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.197, allocations: 32 kB / 0.521 GB, free: 248 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008472/1.205, allocations: 2.337 MB / 0.5232 GB, free: 13.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.423e-06/1.205, allocations: 0 / 0.5232 GB, free: 13.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008894/1.214, allocations: 0.802 MB / 0.524 GB, free: 13.12 MB / 462.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.0007962/1.215, allocations: 143 kB / 0.5242 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009412/1.224, allocations: 2.809 MB / 0.5269 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/1.225, allocations: 256 / 0.5269 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.226, allocations: 443.7 kB / 0.5273 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/1.231, allocations: 384.3 kB / 0.5277 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.257, allocations: 7.036 MB / 0.5346 GB, free: 2.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4385/1.696, allocations: 2.682 MB / 0.5372 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.698, allocations: 235.5 kB / 0.5374 GB, free: 121.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/1.698, allocations: 0 / 0.5374 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1106/1.808, allocations: 44.49 MB / 0.5809 GB, free: 87.25 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches