Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001682/0.001682, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002123/0.002123, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 58.58 kB / 347.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2508, allocations: 49.14 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008054/0.2588, allocations: 7.984 MB / 404.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.2639, allocations: 2.546 MB / 406.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2649, allocations: 57 kB / 406.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.2681, allocations: 1.795 MB / 408.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.2711, allocations: 1.361 MB / 410.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.2716, allocations: 224 kB / 410.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.2748, allocations: 2.366 MB / 412.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.2771, allocations: 1.739 MB / 414.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.2788, allocations: 1.02 MB / 415.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003478/0.2823, allocations: 2.405 MB / 417.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004899/0.2828, allocations: 188.9 kB / 418 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.2837, allocations: 402.9 kB / 418.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.2851, allocations: 1.349 MB / 419.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.2865, allocations: 1.132 MB / 420.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.2925, allocations: 4.892 MB / 425.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2925, allocations: 4 kB / 425.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2925, allocations: 0 / 425.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.2926, allocations: 0 / 425.8 MB, free: 5.566 MB / 334.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.006875/0.2995, allocations: 3.662 MB / 429.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2996, allocations: 15.98 kB / 429.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008227/0.3004, allocations: 0.5385 MB / 430 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00559/0.306, allocations: 1.675 MB / 431.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/0.3099, allocations: 1.529 MB / 433.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.31, allocations: 155.8 kB / 433.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/0.3105, allocations: 191.9 kB / 433.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.3209, allocations: 6.986 MB / 440.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/0.3209, allocations: 27.7 kB / 440.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/0.3212, allocations: 111.8 kB / 440.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/0.3236, allocations: 1.555 MB / 442.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.334, allocations: 5.485 MB / 447.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.3665, allocations: 26.09 MB / 473.8 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.3692, allocations: 1.119 MB / 474.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.37, allocations: 470.6 kB / 475.4 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004153/0.3741, allocations: 2.043 MB / 477.4 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3742, allocations: 50.5 kB / 477.5 MB, free: 180 kB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.627e-06/0.3742, allocations: 0 / 477.5 MB, free: 180 kB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003953/0.3781, allocations: 1.776 MB / 479.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.3783, allocations: 213.6 kB / 479.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/0.3836, allocations: 3.871 MB / 483.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.3837, allocations: 37.7 kB / 483.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002311/0.386, allocations: 2.788 MB / 486.2 MB, free: 7.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.3864, allocations: 409.1 kB / 486.6 MB, free: 7.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/0.3876, allocations: 0.9646 MB / 487.5 MB, free: 6.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3878, allocations: 305.1 kB / 487.8 MB, free: 5.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.3897, allocations: 1.212 MB / 489 MB, free: 4.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004797/0.3945, allocations: 4.526 MB / 493.6 MB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007559/0.4021, allocations: 6.305 MB / 499.9 MB, free: 6.305 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-05/0.4022, allocations: 36 kB / 499.9 MB, free: 6.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009486/0.4117, allocations: 5.447 MB / 0.4935 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.4118, allocations: 56 kB / 0.4936 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.4119, allocations: 120 kB / 0.4937 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.4121, allocations: 152 kB / 0.4938 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.4152, allocations: 1.092 MB / 0.4949 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001919/0.4154, allocations: 231.1 kB / 0.4951 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/0.4187, allocations: 0.698 MB / 0.4958 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/0.4192, allocations: 316 kB / 0.4961 GB, free: 14.16 MB / 430.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.002574/0.4217, allocations: 1.715 MB / 0.4978 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.4223, allocations: 317.8 kB / 0.4981 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.4232, allocations: 0.4982 MB / 0.4986 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/0.4233, allocations: 20 kB / 0.4986 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.4233, allocations: 4 kB / 0.4986 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4233, allocations: 7.969 kB / 0.4986 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.429, allocations: 3.013 MB / 0.5015 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.429, allocations: 4 kB / 0.5015 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.4295, allocations: 99.88 kB / 0.5016 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.4295, allocations: 7.938 kB / 0.5016 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.4296, allocations: 23.94 kB / 0.5017 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4296, allocations: 4.281 kB / 0.5017 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4296, allocations: 4 kB / 0.5017 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.4321, allocations: 2.243 MB / 0.5039 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.4329, allocations: 361.6 kB / 0.5042 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.4331, allocations: 27.88 kB / 0.5042 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008395/0.434, allocations: 31.95 kB / 0.5043 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.4341, allocations: 47.81 kB / 0.5043 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.4341, allocations: 35.98 kB / 0.5043 GB, free: 5.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003342/0.4375, allocations: 2.337 MB / 0.5066 GB, free: 3.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4375, allocations: 0 / 0.5066 GB, free: 3.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003561/0.441, allocations: 0.8145 MB / 0.5074 GB, free: 2.422 MB / 430.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.003077/0.4441, allocations: 2.841 MB / 0.5102 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.4485, allocations: 2.71 MB / 0.5128 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.4485, allocations: 0 / 0.5128 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.4491, allocations: 409 kB / 0.5132 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4512, allocations: 386.4 kB / 0.5136 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04899/0.5002, allocations: 33.25 MB / 0.5461 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.5032, allocations: 2.129 MB / 0.5482 GB, free: 3.898 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003348/0.5065, allocations: 1.49 MB / 0.5496 GB, free: 2.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/0.5087, allocations: 1.472 MB / 0.551 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5087, allocations: 0 / 0.551 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.7763, allocations: 47.44 MB / 0.5974 GB, free: 150.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.88, allocations: 12.28 kB / 0.5974 GB, free: 150 MB / 494.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable prismatic.s in file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.37472335807979]