Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 51.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2644, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01209/0.2765, allocations: 9.073 MB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006217/0.2827, allocations: 2.749 MB / 443 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008756/0.2836, allocations: 59.75 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.2874, allocations: 1.865 MB / 444.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.2904, allocations: 1.373 MB / 446.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.2909, allocations: 215.7 kB / 446.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003061/0.294, allocations: 2.334 MB / 448.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.2962, allocations: 1.734 MB / 450.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.2978, allocations: 1.016 MB / 451.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003846/0.3016, allocations: 2.583 MB / 454.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005372/0.3022, allocations: 188 kB / 454.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.3033, allocations: 0.5189 MB / 454.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.3046, allocations: 1.336 MB / 456.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.3063, allocations: 1.579 MB / 457.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00648/0.3128, allocations: 4.854 MB / 462.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3128, allocations: 0 / 462.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3128, allocations: 0 / 462.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.3129, allocations: 0 / 462.6 MB, free: 7.219 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.007262/0.3202, allocations: 3.646 MB / 466.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3202, allocations: 12.03 kB / 466.3 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007734/0.321, allocations: 0.5346 MB / 466.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.327, allocations: 1.722 MB / 468.5 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.3308, allocations: 1.521 MB / 470.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3309, allocations: 159.7 kB / 470.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/0.3314, allocations: 199.9 kB / 470.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.3428, allocations: 6.982 MB / 477.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-05/0.3429, allocations: 35.7 kB / 477.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.3432, allocations: 99.89 kB / 477.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002393/0.3456, allocations: 1.551 MB / 479.1 MB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.3561, allocations: 5.493 MB / 484.6 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.3915, allocations: 27.08 MB / 0.4996 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.3943, allocations: 1.127 MB / 0.5007 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.3951, allocations: 475.5 kB / 0.5012 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004743/0.3999, allocations: 2.226 MB / 0.5034 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.3999, allocations: 46.5 kB / 0.5034 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.3999, allocations: 0 / 0.5034 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004309/0.4042, allocations: 1.781 MB / 0.5052 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.4044, allocations: 218.2 kB / 0.5054 GB, free: 14.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/0.411, allocations: 3.674 MB / 0.509 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.4111, allocations: 29.7 kB / 0.509 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/0.4134, allocations: 2.796 MB / 0.5117 GB, free: 8.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.4138, allocations: 405.1 kB / 0.5121 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.415, allocations: 0.9646 MB / 0.513 GB, free: 6.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4151, allocations: 313.1 kB / 0.5133 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4169, allocations: 1.204 MB / 0.5145 GB, free: 5.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.4215, allocations: 4.526 MB / 0.5189 GB, free: 14.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007151/0.4286, allocations: 6.294 MB / 0.5251 GB, free: 6.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.209e-05/0.4287, allocations: 32 kB / 0.5251 GB, free: 6.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009214/0.4379, allocations: 5.451 MB / 0.5304 GB, free: 1.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/0.438, allocations: 59.97 kB / 0.5305 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/0.4381, allocations: 120 kB / 0.5306 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.4383, allocations: 164 kB / 0.5308 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/0.4412, allocations: 1.08 MB / 0.5318 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002056/0.4414, allocations: 235.2 kB / 0.532 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/0.4445, allocations: 0.6862 MB / 0.5327 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/0.4449, allocations: 323.9 kB / 0.533 GB, free: 14.82 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.002487/0.4473, allocations: 1.716 MB / 0.5347 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.4479, allocations: 313.8 kB / 0.535 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009068/0.4488, allocations: 0.4903 MB / 0.5355 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/0.4488, allocations: 16 kB / 0.5355 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4488, allocations: 4 kB / 0.5355 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.4489, allocations: 3.984 kB / 0.5355 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/0.4543, allocations: 3.133 MB / 0.5386 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4543, allocations: 4 kB / 0.5386 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.4548, allocations: 95.83 kB / 0.5387 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.4548, allocations: 15.92 kB / 0.5387 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.4548, allocations: 20 kB / 0.5387 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.4548, allocations: 8 kB / 0.5387 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.4549, allocations: 7.938 kB / 0.5387 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.4573, allocations: 2.227 MB / 0.5409 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/0.4581, allocations: 369.6 kB / 0.5412 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.4583, allocations: 19.88 kB / 0.5412 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.4591, allocations: 36.03 kB / 0.5413 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4592, allocations: 51.8 kB / 0.5413 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.4593, allocations: 28 kB / 0.5414 GB, free: 6.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003227/0.4625, allocations: 2.337 MB / 0.5436 GB, free: 3.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4625, allocations: 0 / 0.5436 GB, free: 3.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00348/0.466, allocations: 0.8067 MB / 0.5444 GB, free: 3.004 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.002906/0.4689, allocations: 2.849 MB / 0.5472 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2023/0.6712, allocations: 2.703 MB / 0.5499 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.6712, allocations: 1.219 kB / 0.5499 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.6718, allocations: 407.5 kB / 0.5502 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.674, allocations: 381.9 kB / 0.5506 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/0.7063, allocations: 33.26 MB / 0.5831 GB, free: 85.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.7083, allocations: 2.683 MB / 0.5857 GB, free: 82.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002652/0.7109, allocations: 1.491 MB / 0.5872 GB, free: 81.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.7122, allocations: 1.468 MB / 0.5886 GB, free: 79.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.7122, allocations: 0 / 0.5886 GB, free: 79.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/0.7955, allocations: 51.61 MB / 0.639 GB, free: 28.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.73/20.52, allocations: 9.812 kB / 0.639 GB, free: 28.32 MB / 462.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.24887735187076]