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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.89 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2371, allocations: 53.4 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01085/0.2479, allocations: 9.079 MB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.2535, allocations: 2.746 MB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.2545, allocations: 55.75 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.2581, allocations: 1.872 MB / 445.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.2615, allocations: 1.366 MB / 447.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.2621, allocations: 211.7 kB / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.2658, allocations: 2.343 MB / 449.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.268, allocations: 1.73 MB / 451.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.2697, allocations: 1.02 MB / 452.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.2732, allocations: 2.583 MB / 455 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.2737, allocations: 188 kB / 455.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.2748, allocations: 0.5266 MB / 455.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.276, allocations: 1.336 MB / 457 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.2774, allocations: 1.568 MB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.2824, allocations: 4.854 MB / 463.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2824, allocations: 0 / 463.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2824, allocations: 0 / 463.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.243e-05/0.2825, allocations: 0 / 463.4 MB, free: 7.078 MB / 366.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.005767/0.2882, allocations: 3.646 MB / 467.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2883, allocations: 8.031 kB / 467.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.5e-05/0.2884, allocations: 72.11 kB / 467.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005844/0.2889, allocations: 0.5424 MB / 467.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005828/0.2948, allocations: 1.718 MB / 469.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.2976, allocations: 1.528 MB / 471 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.2977, allocations: 147.8 kB / 471.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.2981, allocations: 199.9 kB / 471.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3082, allocations: 6.979 MB / 478.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.791e-05/0.3083, allocations: 35.7 kB / 478.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.3086, allocations: 103.8 kB / 478.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.311, allocations: 1.562 MB / 480 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.3212, allocations: 5.489 MB / 485.5 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03241/0.3536, allocations: 27.08 MB / 0.5005 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.3562, allocations: 1.13 MB / 0.5016 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.3569, allocations: 465 kB / 0.5021 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003917/0.3608, allocations: 2.245 MB / 0.5043 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3608, allocations: 38.56 kB / 0.5043 GB, free: 412 kB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.605e-06/0.3608, allocations: 0 / 0.5043 GB, free: 412 kB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003868/0.3647, allocations: 1.771 MB / 0.506 GB, free: 14.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.3648, allocations: 225.6 kB / 0.5063 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00484/0.3697, allocations: 3.666 MB / 0.5098 GB, free: 10.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.3697, allocations: 38.27 kB / 0.5099 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.3718, allocations: 2.796 MB / 0.5126 GB, free: 7.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/0.3722, allocations: 409.1 kB / 0.513 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.3733, allocations: 0.9568 MB / 0.5139 GB, free: 6.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3734, allocations: 313 kB / 0.5142 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.3751, allocations: 1.204 MB / 0.5154 GB, free: 4.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.3793, allocations: 4.53 MB / 0.5198 GB, free: 14.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007156/0.3865, allocations: 6.286 MB / 0.526 GB, free: 6.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.731e-05/0.3865, allocations: 32 kB / 0.526 GB, free: 6.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00914/0.3957, allocations: 5.453 MB / 0.5313 GB, free: 1.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.3957, allocations: 56.97 kB / 0.5314 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/0.3959, allocations: 120 kB / 0.5315 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.396, allocations: 160 kB / 0.5316 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.399, allocations: 1.084 MB / 0.5327 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000181/0.3992, allocations: 235.1 kB / 0.5329 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/0.4023, allocations: 0.7061 MB / 0.5336 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/0.4027, allocations: 312 kB / 0.5339 GB, free: 14.6 MB / 462.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.002544/0.4053, allocations: 1.719 MB / 0.5356 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/0.4058, allocations: 317.8 kB / 0.5359 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/0.4067, allocations: 486.3 kB / 0.5364 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.509e-05/0.4068, allocations: 23.98 kB / 0.5364 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.4068, allocations: 4 kB / 0.5364 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.4068, allocations: 7.984 kB / 0.5364 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00532/0.4121, allocations: 3.126 MB / 0.5394 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4121, allocations: 7.938 kB / 0.5395 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.4126, allocations: 107.8 kB / 0.5396 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/0.4126, allocations: 7.938 kB / 0.5396 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/0.4126, allocations: 16 kB / 0.5396 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.4126, allocations: 11.98 kB / 0.5396 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.4126, allocations: 7.938 kB / 0.5396 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.415, allocations: 2.223 MB / 0.5418 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/0.4158, allocations: 369.5 kB / 0.5421 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.416, allocations: 23.92 kB / 0.5421 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.4168, allocations: 36.03 kB / 0.5422 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.4169, allocations: 51.8 kB / 0.5422 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.417, allocations: 28 kB / 0.5423 GB, free: 5.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003231/0.4202, allocations: 2.333 MB / 0.5445 GB, free: 3.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4202, allocations: 0 / 0.5445 GB, free: 3.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003437/0.4236, allocations: 0.8028 MB / 0.5453 GB, free: 2.785 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.1734/0.597, allocations: 2.839 MB / 0.5481 GB, free: 113.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004505/0.6015, allocations: 2.707 MB / 0.5507 GB, free: 113.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6015, allocations: 4.969 kB / 0.5507 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.602, allocations: 411.4 kB / 0.5511 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.604, allocations: 376.4 kB / 0.5515 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/0.6362, allocations: 33.26 MB / 0.584 GB, free: 84.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.638, allocations: 2.685 MB / 0.5866 GB, free: 81.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002429/0.6405, allocations: 1.483 MB / 0.588 GB, free: 80.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.6416, allocations: 1.464 MB / 0.5895 GB, free: 78.76 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6416, allocations: 4 kB / 0.5895 GB, free: 78.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5037/1.145, allocations: 51.63 MB / 0.6399 GB, free: 27.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.5/20.65, allocations: 7.438 kB / 0.6399 GB, free: 27.42 MB / 462.1 MB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.89432704797946]