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.001074/0.001074, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 205.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2605, allocations: 50.55 MB / 409.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01032/0.2709, allocations: 8.993 MB / 418.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.2766, allocations: 2.713 MB / 421 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.2781, allocations: 51.88 kB / 421 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.2819, allocations: 1.841 MB / 422.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.2855, allocations: 1.323 MB / 424.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008079/0.2863, allocations: 215.6 kB / 424.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.2902, allocations: 2.332 MB / 426.7 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.2936, allocations: 2.111 MB / 428.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.2955, allocations: 0.9885 MB / 429.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.2991, allocations: 2.455 MB / 432.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007157/0.2999, allocations: 188 kB / 432.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3014, allocations: 0.5033 MB / 433 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.3032, allocations: 1.297 MB / 434.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.3057, allocations: 1.579 MB / 435.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.3113, allocations: 4.822 MB / 440.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3113, allocations: 4 kB / 440.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3113, allocations: 0 / 440.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000182/0.3115, allocations: 0 / 440.7 MB, free: 2.043 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.00822/0.3197, allocations: 3.61 MB / 444.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3198, allocations: 12.03 kB / 444.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006389/0.3262, allocations: 1.696 MB / 446 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.3301, allocations: 1.584 MB / 447.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.3303, allocations: 151.8 kB / 447.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006194/0.3309, allocations: 199.9 kB / 447.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.3417, allocations: 6.986 MB / 454.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.421e-05/0.3419, allocations: 27.75 kB / 454.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.3424, allocations: 99.88 kB / 455 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.3446, allocations: 1.555 MB / 456.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009705/0.3543, allocations: 5.501 MB / 462.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/0.3892, allocations: 27.12 MB / 489.2 MB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.3922, allocations: 1.626 MB / 490.8 MB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.3929, allocations: 0.4941 MB / 491.3 MB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005185/0.3981, allocations: 2.698 MB / 494 MB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.3982, allocations: 46.5 kB / 494.1 MB, free: 10.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.458e-06/0.3982, allocations: 0 / 494.1 MB, free: 10.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004375/0.4026, allocations: 1.772 MB / 495.8 MB, free: 8.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4027, allocations: 217.6 kB / 496.1 MB, free: 8.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006763/0.4095, allocations: 3.661 MB / 499.7 MB, free: 5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.4096, allocations: 33.7 kB / 499.7 MB, free: 4.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.4116, allocations: 2.683 MB / 0.4907 GB, free: 2.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.4122, allocations: 392 kB / 0.491 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.4138, allocations: 0.9639 MB / 0.492 GB, free: 0.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.4139, allocations: 301.1 kB / 0.4923 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.4157, allocations: 1.208 MB / 0.4934 GB, free: 15.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/0.4196, allocations: 4.526 MB / 0.4979 GB, free: 9.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006422/0.4261, allocations: 6.293 MB / 0.504 GB, free: 1.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.982e-05/0.4262, allocations: 39.94 kB / 0.504 GB, free: 1.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00946/0.4357, allocations: 5.426 MB / 0.5093 GB, free: 11.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.4358, allocations: 56 kB / 0.5094 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.436, allocations: 124.2 kB / 0.5095 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.4362, allocations: 152 kB / 0.5097 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/0.4393, allocations: 1.088 MB / 0.5107 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001898/0.4395, allocations: 227.1 kB / 0.5109 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/0.4431, allocations: 0.6841 MB / 0.5116 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/0.4436, allocations: 327.8 kB / 0.5119 GB, free: 9.051 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.002858/0.4465, allocations: 1.712 MB / 0.5136 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006091/0.4471, allocations: 300 kB / 0.5139 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.4481, allocations: 494.2 kB / 0.5143 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.216e-05/0.4482, allocations: 19.94 kB / 0.5144 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.4482, allocations: 11.98 kB / 0.5144 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.4482, allocations: 0 / 0.5144 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007675/0.4559, allocations: 3.146 MB / 0.5174 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.4559, allocations: 4 kB / 0.5174 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.4564, allocations: 107.8 kB / 0.5176 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.4565, allocations: 4 kB / 0.5176 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.4565, allocations: 23.92 kB / 0.5176 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.4566, allocations: 8 kB / 0.5176 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4566, allocations: 7.938 kB / 0.5176 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.4589, allocations: 2.21 MB / 0.5198 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009159/0.4598, allocations: 428.8 kB / 0.5202 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/0.4602, allocations: 23.98 kB / 0.5202 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009532/0.4612, allocations: 35.97 kB / 0.5202 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4613, allocations: 43.83 kB / 0.5203 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/0.4614, allocations: 39.98 kB / 0.5203 GB, free: 292 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003624/0.465, allocations: 2.329 MB / 0.5226 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.465, allocations: 4 kB / 0.5226 GB, free: 13.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003667/0.4687, allocations: 0.7982 MB / 0.5234 GB, free: 13.16 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.0003263/0.469, allocations: 146.9 kB / 0.5235 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.4732, allocations: 2.812 MB / 0.5262 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4733, allocations: 0 / 0.5262 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000588/0.4739, allocations: 438.4 kB / 0.5267 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.4761, allocations: 388.6 kB / 0.527 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4868, allocations: 6.668 MB / 0.5335 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2258/0.7126, allocations: 2.679 MB / 0.5362 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00467/0.7173, allocations: 1.484 MB / 0.5376 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.7178, allocations: 196.2 kB / 0.5378 GB, free: 121 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7178, allocations: 3.562 kB / 0.5378 GB, free: 121 MB / 462.1 MB Notification: Performance of Templates: time 0.03763/0.7555, allocations: 18.98 MB / 0.5563 GB, free: 111 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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