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.001646/0.001646, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002092/0.002092, allocations: 218 kB / 24.52 MB, free: 3.91 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.321/1.321, allocations: 230.6 MB / 258.3 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 51.91 kB / 378.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2148, allocations: 53.36 MB / 431.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009661/0.2244, allocations: 7.908 MB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.2296, allocations: 2.586 MB / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.2302, allocations: 59.75 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.2335, allocations: 1.791 MB / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.2361, allocations: 1.366 MB / 445.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.2365, allocations: 215.6 kB / 445.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00275/0.2393, allocations: 2.343 MB / 448.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.2414, allocations: 1.746 MB / 449.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.2429, allocations: 1.004 MB / 450.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.2463, allocations: 2.595 MB / 453.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.2468, allocations: 188 kB / 453.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009685/0.2478, allocations: 427.5 kB / 454.1 MB, free: 484 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.249, allocations: 1.332 MB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.2502, allocations: 1.117 MB / 456.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004891/0.2551, allocations: 4.873 MB / 461.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2551, allocations: 0 / 461.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2551, allocations: 0 / 461.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.079e-05/0.2552, allocations: 4 kB / 461.4 MB, free: 9.113 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.005615/0.2608, allocations: 3.638 MB / 465.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2609, allocations: 8.031 kB / 465.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.435e-05/0.261, allocations: 76.11 kB / 465.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006233/0.2616, allocations: 0.5385 MB / 465.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.2672, allocations: 1.714 MB / 467.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.27, allocations: 1.54 MB / 468.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2701, allocations: 151.8 kB / 469.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/0.2705, allocations: 191.9 kB / 469.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/0.2798, allocations: 6.99 MB / 476.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/0.2799, allocations: 31.7 kB / 476.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.2802, allocations: 95.88 kB / 476.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002183/0.2823, allocations: 1.562 MB / 477.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008985/0.2913, allocations: 5.493 MB / 483.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.3195, allocations: 26.09 MB / 0.4976 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.322, allocations: 1.116 MB / 0.4987 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.3227, allocations: 477.9 kB / 0.4991 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003448/0.3261, allocations: 2.043 MB / 0.5011 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3262, allocations: 46.5 kB / 0.5012 GB, free: 3.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.085e-06/0.3262, allocations: 0 / 0.5012 GB, free: 3.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003674/0.3298, allocations: 1.778 MB / 0.5029 GB, free: 1.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.33, allocations: 217.6 kB / 0.5031 GB, free: 1.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/0.3345, allocations: 3.681 MB / 0.5067 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.3346, allocations: 33.7 kB / 0.5067 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001984/0.3366, allocations: 2.788 MB / 0.5095 GB, free: 11.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.3369, allocations: 405.1 kB / 0.5098 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.338, allocations: 0.9726 MB / 0.5108 GB, free: 9.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3381, allocations: 309.1 kB / 0.5111 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.3398, allocations: 1.204 MB / 0.5123 GB, free: 8.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.344, allocations: 4.526 MB / 0.5167 GB, free: 1.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.3508, allocations: 6.294 MB / 0.5228 GB, free: 9.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.46e-05/0.3508, allocations: 32 kB / 0.5229 GB, free: 9.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008262/0.3591, allocations: 5.451 MB / 0.5282 GB, free: 4.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.3592, allocations: 56.97 kB / 0.5282 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/0.3593, allocations: 120 kB / 0.5284 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.3594, allocations: 159.9 kB / 0.5285 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.3622, allocations: 1.084 MB / 0.5296 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001819/0.3624, allocations: 235.1 kB / 0.5298 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.3653, allocations: 0.6941 MB / 0.5305 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/0.3657, allocations: 316 kB / 0.5308 GB, free: 1.832 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.002229/0.3679, allocations: 1.719 MB / 0.5325 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.3684, allocations: 313.9 kB / 0.5328 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/0.3692, allocations: 492 kB / 0.5332 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-05/0.3692, allocations: 20 kB / 0.5332 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3692, allocations: 4 kB / 0.5332 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3692, allocations: 3.984 kB / 0.5332 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.3742, allocations: 3.013 MB / 0.5362 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.3742, allocations: 4 kB / 0.5362 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.3746, allocations: 111.8 kB / 0.5363 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.3746, allocations: 7.938 kB / 0.5363 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.3747, allocations: 16 kB / 0.5363 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3747, allocations: 4 kB / 0.5363 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3747, allocations: 8.219 kB / 0.5363 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.377, allocations: 2.242 MB / 0.5385 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.3776, allocations: 369.5 kB / 0.5389 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.3779, allocations: 19.92 kB / 0.5389 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/0.3787, allocations: 31.97 kB / 0.5389 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3788, allocations: 55.8 kB / 0.539 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.3789, allocations: 31.98 kB / 0.539 GB, free: 9.246 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003334/0.3822, allocations: 2.333 MB / 0.5413 GB, free: 6.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3822, allocations: 4.062 kB / 0.5413 GB, free: 6.926 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003388/0.3856, allocations: 0.8028 MB / 0.5421 GB, free: 6.121 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.002915/0.3885, allocations: 2.845 MB / 0.5449 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004426/0.3929, allocations: 2.706 MB / 0.5475 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3929, allocations: 0 / 0.5475 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.3935, allocations: 408.4 kB / 0.5479 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1698/0.5633, allocations: 377.8 kB / 0.5482 GB, free: 117.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/0.5934, allocations: 33.26 MB / 0.5807 GB, free: 88.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.5953, allocations: 2.131 MB / 0.5828 GB, free: 85.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002518/0.5978, allocations: 1.479 MB / 0.5842 GB, free: 84.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.5991, allocations: 1.479 MB / 0.5857 GB, free: 82.95 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5991, allocations: 0 / 0.5857 GB, free: 82.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07418/0.6732, allocations: 49.32 MB / 0.6339 GB, free: 34.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.46/19.13, allocations: 10.66 kB / 0.6339 GB, free: 34.37 MB / 462.1 MB " [Timeout remaining time 641] (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: 22.163779861992225]