Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.000846/0.000846, 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.0008985/0.0008985, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9007/0.9007, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2687/0.2687, allocations: 32.78 MB / 293.5 MB, free: 1.215 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.931e-05, allocations: 4.391 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002033/0.002052, allocations: 1.611 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.002789, allocations: 0.5375 MB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.002856, allocations: 7.938 kB / 441.8 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.003142, allocations: 67.7 kB / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.003408, allocations: 107.5 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.00366, allocations: 118.7 kB / 442.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.003811, allocations: 83.77 kB / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.003908, allocations: 7.984 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.003969, allocations: 43.89 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.004052, allocations: 51.88 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004066, allocations: 4 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.004137, allocations: 43.86 kB / 442.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.004183, allocations: 27.92 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.004208, allocations: 15.86 kB / 442.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004355, allocations: 103.6 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004357, allocations: 0 / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.004359, allocations: 4 kB / 442.4 MB, free: 1.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004363, allocations: 0 / 442.4 MB, free: 1.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003561/0.004719, allocations: 329.6 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.004756, allocations: 12.03 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.004782, allocations: 34.75 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.004808, allocations: 12.84 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.004948, allocations: 146.2 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.004957, allocations: 8.375 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.004973, allocations: 4.312 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.005084, allocations: 62.17 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005093, allocations: 192 / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.005101, allocations: 3.938 kB / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005105, allocations: 0 / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.005162, allocations: 27.98 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.005455, allocations: 263.9 kB / 443.3 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.005532, allocations: 50.5 kB / 443.4 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.005562, allocations: 20.94 kB / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.005583, allocations: 0 / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.005601, allocations: 34.56 kB / 443.4 MB, free: 268 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.005601, allocations: 0 / 443.4 MB, free: 268 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005812/0.006183, allocations: 241.3 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1853/0.1914, allocations: 51.41 kB / 443.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1916, allocations: 196.6 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1917, allocations: 27.2 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.1917, allocations: 105.2 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1917, allocations: 24.17 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.1918, allocations: 25.72 kB / 444.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.1918, allocations: 323.7 kB / 444.4 MB, free: 45.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.1919, allocations: 31.11 kB / 444.4 MB, free: 45.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.1919, allocations: 36.45 kB / 444.5 MB, free: 45.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.192, allocations: 73.81 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.192, allocations: 0 / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001544/0.1922, allocations: 118.1 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1922, allocations: 5.844 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1922, allocations: 0.7188 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1922, allocations: 0 / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.1923, allocations: 25.95 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1923, allocations: 3.031 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.1924, allocations: 7.844 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1924, allocations: 2.781 kB / 444.7 MB, free: 45.86 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 (8): * Single equations (assignments): 8 * 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 6.433e-05/0.1924, allocations: 134 kB / 444.8 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1925, allocations: 10.47 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.1926, allocations: 134.1 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1926, allocations: 9.562 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1927, allocations: 0 / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1927, allocations: 0 / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.193, allocations: 377.2 kB / 445.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.193, allocations: 1.688 kB / 445.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.193, allocations: 18.52 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.193, allocations: 3.875 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1931, allocations: 2.906 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1931, allocations: 0 / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1931, allocations: 2.25 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1932, allocations: 224.8 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.1932, allocations: 13.78 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1932, allocations: 6.156 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.1932, allocations: 4.281 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.1933, allocations: 6.156 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1933, allocations: 6.562 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.1933, allocations: 157.8 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.1935, allocations: 20.14 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009771/0.1945, allocations: 1.136 MB / 446.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1947, allocations: 72 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1947, allocations: 0 / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.1947, allocations: 36.53 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.195, allocations: 20.39 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1961, allocations: 1.689 MB / 448.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.1961, allocations: 99.36 kB / 448.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.1962, allocations: 22.84 kB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.1962, allocations: 33.58 kB / 448.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of SimCode: time 4.689e-06/0.1963, allocations: 0.5469 kB / 448.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.2139, allocations: 3.82 MB / 452.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.557/6.771, allocations: 8.812 kB / 452.7 MB, free: 41.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.789597479626536]