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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009546/0.0009544, allocations: 102.5 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009186/0.0009187, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2043, allocations: 50.46 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02271/0.2271, allocations: 33.49 MB / 440.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2416, allocations: 6.681 MB / 447.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006439/0.2481, allocations: 147.6 kB / 447.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.252, allocations: 1.819 MB / 449.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.2558, allocations: 1.246 MB / 450.4 MB, free: 312 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2568, allocations: 195.7 kB / 450.6 MB, free: 116 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007024/0.2638, allocations: 4.595 MB / 455.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003406/0.2673, allocations: 2.122 MB / 457.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.2691, allocations: 0.8871 MB / 458.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.2718, allocations: 1.674 MB / 459.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007718/0.2726, allocations: 148 kB / 460.1 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.274, allocations: 483.3 kB / 460.5 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.2754, allocations: 1.285 MB / 461.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.277, allocations: 1.568 MB / 463.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.2821, allocations: 4.543 MB / 467.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2821, allocations: 0 / 467.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2821, allocations: 4 kB / 467.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002254/0.2824, allocations: 0 / 467.9 MB, free: 14.71 MB / 346.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.008323/0.2907, allocations: 3.629 MB / 471.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2908, allocations: 8.594 kB / 471.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006412/0.2972, allocations: 1.696 MB / 473.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.3006, allocations: 1.561 MB / 474.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.3008, allocations: 151.8 kB / 475 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000579/0.3014, allocations: 203.8 kB / 475.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.312, allocations: 6.975 MB / 482.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-05/0.3121, allocations: 31.59 kB / 482.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/0.3126, allocations: 103.9 kB / 482.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.3147, allocations: 1.566 MB / 483.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009988/0.3247, allocations: 5.478 MB / 489.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2134/0.5382, allocations: 27.25 MB / 0.5045 GB, free: 75.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.5408, allocations: 1.593 MB / 0.506 GB, free: 74.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.5414, allocations: 464.9 kB / 0.5065 GB, free: 74.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003777/0.5452, allocations: 2.579 MB / 0.509 GB, free: 72.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5453, allocations: 45.81 kB / 0.509 GB, free: 72.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.356e-06/0.5453, allocations: 0 / 0.509 GB, free: 72.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.003487/0.5488, allocations: 1.664 MB / 0.5106 GB, free: 72.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.5488, allocations: 193 kB / 0.5108 GB, free: 72.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.5528, allocations: 3.702 MB / 0.5144 GB, free: 71.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.5529, allocations: 37.77 kB / 0.5145 GB, free: 71.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.5541, allocations: 2.724 MB / 0.5171 GB, free: 69.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.5543, allocations: 361.8 kB / 0.5175 GB, free: 69.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008292/0.5551, allocations: 0.9604 MB / 0.5184 GB, free: 68.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.5552, allocations: 306.3 kB / 0.5187 GB, free: 68.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.5567, allocations: 1.196 MB / 0.5199 GB, free: 67.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.5596, allocations: 4.57 MB / 0.5244 GB, free: 63.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.5639, allocations: 6.312 MB / 0.5305 GB, free: 56.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.934e-05/0.5639, allocations: 36 kB / 0.5305 GB, free: 56.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006655/0.5706, allocations: 5.454 MB / 0.5359 GB, free: 50.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.5707, allocations: 60.03 kB / 0.5359 GB, free: 50.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.099e-05/0.5708, allocations: 120 kB / 0.536 GB, free: 50.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-05/0.5709, allocations: 156 kB / 0.5362 GB, free: 50.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.5735, allocations: 1.103 MB / 0.5373 GB, free: 49.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001072/0.5736, allocations: 235.1 kB / 0.5375 GB, free: 49.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.5765, allocations: 0.6879 MB / 0.5382 GB, free: 48.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.5768, allocations: 319.8 kB / 0.5385 GB, free: 48.31 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.001731/0.5785, allocations: 1.713 MB / 0.5401 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.5789, allocations: 300 kB / 0.5404 GB, free: 46.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007373/0.5796, allocations: 0.4905 MB / 0.5409 GB, free: 45.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.5797, allocations: 11.94 kB / 0.5409 GB, free: 45.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5797, allocations: 4 kB / 0.5409 GB, free: 45.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5797, allocations: 3.984 kB / 0.5409 GB, free: 45.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.584, allocations: 3.126 MB / 0.544 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.5841, allocations: 4 kB / 0.544 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.5845, allocations: 103.8 kB / 0.5441 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.5845, allocations: 8.562 kB / 0.5441 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.5846, allocations: 20.27 kB / 0.5441 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.5846, allocations: 4 kB / 0.5441 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5846, allocations: 7.938 kB / 0.5441 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.5894, allocations: 5.665 MB / 0.5497 GB, free: 36.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.59, allocations: 425 kB / 0.5501 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.5902, allocations: 23.97 kB / 0.5501 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.591, allocations: 31.97 kB / 0.5501 GB, free: 36.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.5911, allocations: 39.89 kB / 0.5502 GB, free: 36.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.5912, allocations: 31.27 kB / 0.5502 GB, free: 36.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004092/0.5953, allocations: 2.365 MB / 0.5525 GB, free: 33.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5953, allocations: 4 kB / 0.5525 GB, free: 33.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006658/0.602, allocations: 0.9884 MB / 0.5535 GB, free: 32.7 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.0004068/0.6024, allocations: 150.5 kB / 0.5536 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00498/0.6074, allocations: 2.769 MB / 0.5563 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6074, allocations: 0 / 0.5563 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.6081, allocations: 404.3 kB / 0.5567 GB, free: 29.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.6111, allocations: 363 kB / 0.557 GB, free: 29.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.6246, allocations: 8.729 MB / 0.5656 GB, free: 20.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/0.6279, allocations: 2.699 MB / 0.5682 GB, free: 17.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005313/0.6333, allocations: 1.51 MB / 0.5697 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.6338, allocations: 195.4 kB / 0.5699 GB, free: 15.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6338, allocations: 4 kB / 0.5699 GB, free: 15.84 MB / 378.7 MB Notification: Performance of Templates: time 0.05939/0.6932, allocations: 22.18 MB / 0.5915 GB, free: 9.797 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches