Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.0009851/0.0009851, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001283/0.001283, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.907/0.907, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.281/0.281, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.754e-05, allocations: 4.25 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002734/0.002751, allocations: 1.669 MB / 441.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.003504, allocations: 0.5607 MB / 441.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.003562, allocations: 4 kB / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.003807, allocations: 79.69 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.004117, allocations: 107.5 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.004538, allocations: 179.9 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.004753, allocations: 95.73 kB / 442.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.004909, allocations: 16.23 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.005002, allocations: 51.88 kB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.005131, allocations: 51.86 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.005155, allocations: 7.938 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.005277, allocations: 51.92 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.005363, allocations: 27.86 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.005409, allocations: 31.84 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.005587, allocations: 123.5 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005589, allocations: 0 / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005591, allocations: 0 / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.005596, allocations: 4 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004797/0.006076, allocations: 353.5 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.006125, allocations: 12.03 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.006164, allocations: 38.73 kB / 443 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.006198, allocations: 16.84 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.006362, allocations: 149.5 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.006373, allocations: 4.375 kB / 443.2 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.006396, allocations: 4.375 kB / 443.2 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.006538, allocations: 62.23 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006549, allocations: 8.188 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.006558, allocations: 3.938 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.006563, allocations: 0 / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.00665, allocations: 47.89 kB / 443.3 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.006996, allocations: 295.8 kB / 443.6 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.007195, allocations: 54.64 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.197/0.2042, allocations: 30.14 kB / 443.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2042, allocations: 3.656 kB / 443.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.2042, allocations: 35.48 kB / 443.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.2042, allocations: 2.906 kB / 443.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007824/0.205, allocations: 427.1 kB / 444.2 MB, free: 46.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/0.205, allocations: 54.41 kB / 444.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2052, allocations: 227.2 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.2052, allocations: 26.83 kB / 444.5 MB, free: 46.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.2052, allocations: 115.5 kB / 444.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2052, allocations: 34.31 kB / 444.6 MB, free: 46.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2052, allocations: 32.97 kB / 444.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.119e-05/0.2053, allocations: 327.6 kB / 445 MB, free: 45.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.2053, allocations: 56.03 kB / 445 MB, free: 45.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.2054, allocations: 52.88 kB / 445.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2055, allocations: 128.6 kB / 445.2 MB, free: 45.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2055, allocations: 3.781 kB / 445.2 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001542/0.2057, allocations: 172.7 kB / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.2057, allocations: 5.406 kB / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.2057, allocations: 0 / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.2057, allocations: 0 / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.2058, allocations: 29 kB / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.2058, allocations: 3.203 kB / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.2058, allocations: 15.98 kB / 445.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2058, allocations: 6.844 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * 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 4.459e-05/0.2058, allocations: 130.8 kB / 445.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2059, allocations: 13.06 kB / 445.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.2062, allocations: 197.8 kB / 445.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.2062, allocations: 0 / 445.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2062, allocations: 6.594 kB / 445.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2062, allocations: 0 / 445.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.2066, allocations: 474.1 kB / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2066, allocations: 3.219 kB / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.2066, allocations: 31.31 kB / 446.3 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2066, allocations: 3.719 kB / 446.3 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2066, allocations: 6.969 kB / 446.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2066, allocations: 3.125 kB / 446.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2066, allocations: 0 / 446.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2068, allocations: 276.6 kB / 446.5 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.2068, allocations: 13.91 kB / 446.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2068, allocations: 11.06 kB / 446.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.2068, allocations: 12.36 kB / 446.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.2069, allocations: 12.64 kB / 446.6 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2069, allocations: 10.2 kB / 446.6 MB, free: 45.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.2069, allocations: 161.9 kB / 446.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2069, allocations: 0 / 446.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.2072, allocations: 27.34 kB / 446.8 MB, free: 44.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * 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.0008624/0.208, allocations: 1.206 MB / 448 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.2082, allocations: 118.8 kB / 448.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.2082, allocations: 6.969 kB / 448.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.2083, allocations: 65.3 kB / 448.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2085, allocations: 19.48 kB / 448.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2096, allocations: 1.991 MB / 450.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.2096, allocations: 108.4 kB / 450.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.2097, allocations: 36.89 kB / 450.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2097, allocations: 44.42 kB / 450.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2097, allocations: 0 / 450.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.2228, allocations: 4.347 MB / 454.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.847, allocations: 7.438 kB / 454.7 MB, free: 41.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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: 8.885170358233154]