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.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001535/0.001535, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001612/0.001612, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2573, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01062/0.2679, allocations: 7.961 MB / 439.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005602/0.2735, allocations: 2.597 MB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.2744, allocations: 55.75 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.278, allocations: 1.799 MB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.2809, allocations: 1.358 MB / 444.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.2814, allocations: 223.6 kB / 445.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.2844, allocations: 2.335 MB / 447.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.2866, allocations: 1.722 MB / 449.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.2882, allocations: 1.016 MB / 450.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.2914, allocations: 2.509 MB / 452.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.2919, allocations: 188 kB / 452.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.2928, allocations: 427.5 kB / 453.3 MB, free: 332 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.2941, allocations: 1.332 MB / 454.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.2953, allocations: 1.117 MB / 455.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005588/0.3009, allocations: 4.877 MB / 460.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3009, allocations: 0 / 460.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3009, allocations: 0 / 460.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001427/0.3011, allocations: 3.938 kB / 460.6 MB, free: 8.961 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.006417/0.3075, allocations: 3.642 MB / 464.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3075, allocations: 8.031 kB / 464.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006852/0.3082, allocations: 0.5385 MB / 464.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/0.3142, allocations: 1.718 MB / 466.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/0.3177, allocations: 1.529 MB / 468 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.3178, allocations: 159.8 kB / 468.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/0.3182, allocations: 195.8 kB / 468.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009911/0.3281, allocations: 6.986 MB / 475.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.7e-05/0.3282, allocations: 23.75 kB / 475.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.3285, allocations: 103.9 kB / 475.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/0.3308, allocations: 1.551 MB / 477 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.3402, allocations: 5.493 MB / 482.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03061/0.3708, allocations: 26.09 MB / 0.4967 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.3735, allocations: 1.13 MB / 0.4978 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.3742, allocations: 469.9 kB / 0.4983 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003882/0.3781, allocations: 2.051 MB / 0.5003 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.3781, allocations: 50.5 kB / 0.5003 GB, free: 3.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.3782, allocations: 0 / 0.5003 GB, free: 3.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004014/0.3822, allocations: 1.781 MB / 0.502 GB, free: 1.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.3823, allocations: 217.6 kB / 0.5023 GB, free: 1.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005456/0.3878, allocations: 3.863 MB / 0.506 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.3879, allocations: 37.7 kB / 0.5061 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002296/0.3901, allocations: 2.796 MB / 0.5088 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.3906, allocations: 405.1 kB / 0.5092 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.3918, allocations: 0.9646 MB / 0.5101 GB, free: 9.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3919, allocations: 305.1 kB / 0.5104 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.3938, allocations: 1.204 MB / 0.5116 GB, free: 7.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/0.3988, allocations: 4.526 MB / 0.516 GB, free: 1.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007817/0.4067, allocations: 6.297 MB / 0.5222 GB, free: 9.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.4068, allocations: 36 kB / 0.5222 GB, free: 9.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009944/0.4167, allocations: 5.451 MB / 0.5275 GB, free: 4.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/0.4168, allocations: 56.19 kB / 0.5276 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/0.417, allocations: 124 kB / 0.5277 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.4171, allocations: 156 kB / 0.5278 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/0.4203, allocations: 1.084 MB / 0.5289 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/0.4205, allocations: 231.1 kB / 0.5291 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.4239, allocations: 0.698 MB / 0.5298 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/0.4243, allocations: 324 kB / 0.5301 GB, free: 1.555 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.002538/0.4268, allocations: 1.704 MB / 0.5318 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/0.4273, allocations: 313.8 kB / 0.5321 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/0.4282, allocations: 0.4942 MB / 0.5326 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/0.4283, allocations: 19.98 kB / 0.5326 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4283, allocations: 4 kB / 0.5326 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4283, allocations: 7.938 kB / 0.5326 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/0.4343, allocations: 3.009 MB / 0.5355 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.4343, allocations: 4 kB / 0.5355 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.4348, allocations: 111.8 kB / 0.5356 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.4348, allocations: 7.938 kB / 0.5356 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.4349, allocations: 20 kB / 0.5357 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.4349, allocations: 12.55 kB / 0.5357 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.4349, allocations: 7.938 kB / 0.5357 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.4375, allocations: 2.23 MB / 0.5379 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007785/0.4383, allocations: 357.6 kB / 0.5382 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.4385, allocations: 31.86 kB / 0.5382 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.4394, allocations: 31.97 kB / 0.5383 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4395, allocations: 51.8 kB / 0.5383 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.4395, allocations: 28 kB / 0.5383 GB, free: 8.973 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00354/0.4431, allocations: 2.337 MB / 0.5406 GB, free: 6.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4431, allocations: 0 / 0.5406 GB, free: 6.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003639/0.4467, allocations: 0.8067 MB / 0.5414 GB, free: 5.844 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.003034/0.4498, allocations: 2.849 MB / 0.5442 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004424/0.4542, allocations: 2.704 MB / 0.5468 GB, free: 264 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.4542, allocations: 0 / 0.5468 GB, free: 264 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1941/0.6483, allocations: 402.6 kB / 0.5472 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.6508, allocations: 383.7 kB / 0.5476 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/0.6872, allocations: 33.25 MB / 0.58 GB, free: 87.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.6893, allocations: 2.124 MB / 0.5821 GB, free: 85.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002802/0.6921, allocations: 1.49 MB / 0.5836 GB, free: 84.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.6935, allocations: 1.468 MB / 0.585 GB, free: 82.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6935, allocations: 0 / 0.585 GB, free: 82.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07632/0.7698, allocations: 47.47 MB / 0.6314 GB, free: 35.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.6, allocations: 3.859 kB / 0.6314 GB, free: 35.84 MB / 462.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.csv","/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] "Error: Could not read variable prismatic.s in file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.22273603780195]