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.001907/0.001907, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002588/0.002588, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 67.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2595, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01206/0.2716, allocations: 9.067 MB / 440.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.278, allocations: 2.746 MB / 443 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.2792, allocations: 55.75 kB / 443.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.2833, allocations: 1.876 MB / 444.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.2874, allocations: 1.362 MB / 446.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.2881, allocations: 219.7 kB / 446.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003956/0.2921, allocations: 2.339 MB / 448.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002667/0.2947, allocations: 1.737 MB / 450.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.2965, allocations: 1.008 MB / 451.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/0.3008, allocations: 2.591 MB / 454.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005609/0.3013, allocations: 188 kB / 454.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.3025, allocations: 0.515 MB / 454.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.3044, allocations: 1.34 MB / 456.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.3064, allocations: 1.572 MB / 457.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.3124, allocations: 4.854 MB / 462.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3124, allocations: 11.88 kB / 462.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3124, allocations: 4 kB / 462.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001409/0.3126, allocations: 0 / 462.7 MB, free: 7.047 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.006981/0.3195, allocations: 3.635 MB / 466.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3196, allocations: 16.02 kB / 466.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008839/0.3205, allocations: 0.5346 MB / 466.9 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.3266, allocations: 1.722 MB / 468.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.3303, allocations: 1.529 MB / 470.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.3305, allocations: 151.8 kB / 470.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/0.331, allocations: 191.9 kB / 470.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3421, allocations: 6.982 MB / 477.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.3422, allocations: 39.69 kB / 477.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.3426, allocations: 99.88 kB / 477.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.345, allocations: 1.555 MB / 479.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.3556, allocations: 5.493 MB / 484.6 MB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03291/0.3885, allocations: 27.07 MB / 0.4997 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.3911, allocations: 1.127 MB / 0.5008 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.3919, allocations: 473 kB / 0.5012 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004074/0.396, allocations: 2.226 MB / 0.5034 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.396, allocations: 42.5 kB / 0.5035 GB, free: 480 kB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.396, allocations: 4 kB / 0.5035 GB, free: 476 kB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004/0.4, allocations: 1.785 MB / 0.5052 GB, free: 14.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.4001, allocations: 217.6 kB / 0.5054 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006349/0.4065, allocations: 3.674 MB / 0.509 GB, free: 10.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.4066, allocations: 37.7 kB / 0.509 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.409, allocations: 2.789 MB / 0.5118 GB, free: 7.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.4096, allocations: 409.1 kB / 0.5122 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001917/0.4115, allocations: 0.9685 MB / 0.5131 GB, free: 6.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4116, allocations: 301.1 kB / 0.5134 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.4136, allocations: 1.208 MB / 0.5146 GB, free: 5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.4184, allocations: 4.53 MB / 0.519 GB, free: 14.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007533/0.4259, allocations: 6.287 MB / 0.5251 GB, free: 6.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.75e-05/0.426, allocations: 36 kB / 0.5252 GB, free: 6.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009536/0.4355, allocations: 5.46 MB / 0.5305 GB, free: 1.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.4356, allocations: 56 kB / 0.5305 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/0.4358, allocations: 120 kB / 0.5307 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.436, allocations: 152.1 kB / 0.5308 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.4392, allocations: 1.088 MB / 0.5319 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000213/0.4394, allocations: 231.1 kB / 0.5321 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.4426, allocations: 0.702 MB / 0.5328 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/0.4431, allocations: 319.9 kB / 0.5331 GB, free: 14.65 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.002642/0.4457, allocations: 1.712 MB / 0.5347 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006053/0.4463, allocations: 313.8 kB / 0.535 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.4473, allocations: 490.1 kB / 0.5355 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.817e-05/0.4473, allocations: 28 kB / 0.5355 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4473, allocations: 0 / 0.5355 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4474, allocations: 7.984 kB / 0.5355 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006951/0.4543, allocations: 3.118 MB / 0.5386 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4543, allocations: 4 kB / 0.5386 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.4548, allocations: 107.8 kB / 0.5387 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.4548, allocations: 7.938 kB / 0.5387 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.4549, allocations: 27.92 kB / 0.5387 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.4549, allocations: 4 kB / 0.5387 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4549, allocations: 8.266 kB / 0.5387 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.4576, allocations: 2.225 MB / 0.5409 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009296/0.4586, allocations: 373.7 kB / 0.5413 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/0.459, allocations: 31.84 kB / 0.5413 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00097/0.46, allocations: 31.97 kB / 0.5413 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4601, allocations: 51.83 kB / 0.5414 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.4601, allocations: 28 kB / 0.5414 GB, free: 5.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004191/0.4643, allocations: 2.337 MB / 0.5437 GB, free: 3.641 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4643, allocations: 0 / 0.5437 GB, free: 3.641 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003719/0.4681, allocations: 0.7989 MB / 0.5445 GB, free: 2.84 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.197/0.6651, allocations: 2.839 MB / 0.5472 GB, free: 117.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005375/0.6705, allocations: 2.712 MB / 0.5499 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6705, allocations: 1.562 kB / 0.5499 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.6711, allocations: 404.1 kB / 0.5503 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.6738, allocations: 381.2 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.03633/0.7102, allocations: 33.26 MB / 0.5831 GB, free: 85.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.7124, allocations: 2.688 MB / 0.5857 GB, free: 82.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002808/0.7152, allocations: 1.49 MB / 0.5872 GB, free: 80.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/0.7168, allocations: 1.464 MB / 0.5886 GB, free: 79.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7168, allocations: 0 / 0.5886 GB, free: 79.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/0.8068, allocations: 51.59 MB / 0.639 GB, free: 28.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/19.93, allocations: 4 kB / 0.639 GB, free: 28.1 MB / 462.1 MB " [Timeout remaining time 640] (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: 22.799910500878468]