Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.001243/0.001243, allocations: 79.69 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.0009805/0.0009805, 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.9116/0.9116, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2603/0.2603, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.358e-05, allocations: 2.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003394/0.003418, allocations: 1.672 MB / 441.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.004505, allocations: 0.5413 MB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.004619, allocations: 0 / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.004924, allocations: 59.75 kB / 441.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007511/0.005675, allocations: 103.5 kB / 442 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.0061, allocations: 133.6 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.006337, allocations: 79.7 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.00649, allocations: 16.22 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.006627, allocations: 47.89 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.006758, allocations: 39.89 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.006778, allocations: 7.938 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.006929, allocations: 51.91 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.007029, allocations: 31.84 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.007069, allocations: 15.94 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.00734, allocations: 123.5 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007344, allocations: 0 / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007345, allocations: 0 / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.007352, allocations: 0 / 442.5 MB, free: 1.293 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.0005871/0.007939, allocations: 349.6 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.007989, allocations: 8.031 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.008033, allocations: 30.75 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.008087, allocations: 20.84 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.008318, allocations: 142.2 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.008332, allocations: 4.312 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.008358, allocations: 8.375 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.008572, allocations: 66.16 kB / 443.1 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.008588, allocations: 4.188 kB / 443.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.0086, allocations: 3.938 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008606, allocations: 4 kB / 443.1 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.008741, allocations: 35.97 kB / 443.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.009169, allocations: 279.7 kB / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.009413, allocations: 54.55 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.009474, allocations: 28.95 kB / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.0095, allocations: 0 / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.009524, allocations: 38.56 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.009526, allocations: 4 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.1871/0.1966, allocations: 382.2 kB / 443.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1967, allocations: 57.48 kB / 444 MB, free: 46.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1968, allocations: 190.6 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1968, allocations: 31.05 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.1968, allocations: 110.2 kB / 444.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1969, allocations: 37.61 kB / 444.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1969, allocations: 27.97 kB / 444.4 MB, free: 46.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.1969, allocations: 322 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.197, allocations: 46.61 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.1971, allocations: 39.39 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1972, allocations: 106.7 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1972, allocations: 2.938 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001786/0.1974, allocations: 146.7 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1974, allocations: 6.312 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1974, allocations: 0 / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1974, allocations: 3 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.1975, allocations: 25.72 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1975, allocations: 4.891 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.1976, allocations: 13.34 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1976, allocations: 5.297 kB / 445.1 MB, free: 45.79 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 6.316e-05/0.1976, allocations: 134.4 kB / 445.2 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.1977, allocations: 12.48 kB / 445.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1979, allocations: 161 kB / 445.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1979, allocations: 3.781 kB / 445.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1979, allocations: 3.156 kB / 445.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1979, allocations: 0 / 445.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1983, allocations: 435.2 kB / 445.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1983, allocations: 2.938 kB / 445.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.1984, allocations: 41.92 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1984, allocations: 0 / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1984, allocations: 2.844 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1984, allocations: 3.234 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1984, allocations: 3 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1985, allocations: 255.2 kB / 446.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.1986, allocations: 9.797 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1986, allocations: 3.75 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.1986, allocations: 13.16 kB / 446.2 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1987, allocations: 16.77 kB / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1987, allocations: 5.531 kB / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.1987, allocations: 150 kB / 446.3 MB, free: 45.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1987, allocations: 0 / 446.3 MB, free: 45.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.1989, allocations: 27.58 kB / 446.4 MB, free: 45.07 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.0009973/0.1999, allocations: 1.17 MB / 447.5 MB, free: 44.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.2001, allocations: 108.6 kB / 447.6 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2001, allocations: 2.812 kB / 447.6 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.2002, allocations: 53.09 kB / 447.7 MB, free: 44.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2004, allocations: 25.89 kB / 447.7 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2016, allocations: 1.837 MB / 449.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.2017, allocations: 98.58 kB / 449.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.903e-05/0.2017, allocations: 18.86 kB / 449.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.2018, allocations: 36.38 kB / 449.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2018, allocations: 0 / 449.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.2195, allocations: 4.101 MB / 453.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.877, allocations: 19.7 kB / 453.8 MB, free: 41.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.908058620989323]