Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0008751/0.0008751, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009832/0.0009832, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9108/0.9108, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2577/0.2577, allocations: 32.78 MB / 293.5 MB, free: 1.227 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.609e-05, allocations: 4.531 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001948/0.001964, allocations: 1.607 MB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009483/0.002912, allocations: 0.5452 MB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.00297, allocations: 3.938 kB / 441.7 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.003383, allocations: 459 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.00371, allocations: 295.2 kB / 442.5 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.003969, allocations: 181.9 kB / 442.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004147, allocations: 163.7 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.004233, allocations: 7.984 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.004326, allocations: 119.8 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.004494, allocations: 243.5 kB / 443.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.004508, allocations: 7.938 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.004562, allocations: 23.92 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.004637, allocations: 87.66 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.004674, allocations: 39.73 kB / 443.3 MB, free: 492 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.004877, allocations: 231.1 kB / 443.6 MB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004879, allocations: 4 kB / 443.6 MB, free: 256 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004879, allocations: 0 / 443.6 MB, free: 256 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004883, allocations: 0 / 443.6 MB, free: 256 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.1817/0.1866, allocations: 0.5746 MB / 444.1 MB, free: 46.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1867, allocations: 8.875 kB / 444.1 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.1867, allocations: 34.25 kB / 444.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1868, allocations: 46.61 kB / 444.2 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1869, allocations: 252 kB / 444.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1869, allocations: 1 kB / 444.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.187, allocations: 5 kB / 444.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1871, allocations: 52.3 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1871, allocations: 0.75 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1871, allocations: 0.625 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1871, allocations: 6.938 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.1872, allocations: 22.69 kB / 444.6 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1875, allocations: 351.7 kB / 444.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.279e-05/0.1876, allocations: 33.97 kB / 444.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.1876, allocations: 19.58 kB / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1876, allocations: 0 / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.1877, allocations: 36.5 kB / 445 MB, free: 46.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1877, allocations: 0.6562 kB / 445 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001965/0.1879, allocations: 109.5 kB / 445.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.1879, allocations: 52.31 kB / 445.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.1883, allocations: 0.8803 MB / 446 MB, free: 45.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.1883, allocations: 26.55 kB / 446.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.1884, allocations: 222.3 kB / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1884, allocations: 17.19 kB / 446.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.1885, allocations: 12.56 kB / 446.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.1885, allocations: 363.8 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.1886, allocations: 6.344 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.1886, allocations: 11.72 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.1886, allocations: 34.2 kB / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1886, allocations: 0 / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.736e-05/0.1887, allocations: 98.44 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1887, allocations: 5.531 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1887, allocations: 2.875 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1888, allocations: 3.375 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.1888, allocations: 9.469 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1888, allocations: 0 / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.1889, allocations: 4.344 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1889, allocations: 2.938 kB / 446.8 MB, free: 45.02 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 (2): * Single equations (assignments): 2 * 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 0.0001053/0.189, allocations: 212.4 kB / 447 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.189, allocations: 49.56 kB / 447.1 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.1891, allocations: 111.5 kB / 447.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1891, allocations: 0 / 447.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1891, allocations: 0 / 447.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1891, allocations: 0 / 447.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1893, allocations: 268.1 kB / 447.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1893, allocations: 3.938 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.1893, allocations: 5.875 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1893, allocations: 0 / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1893, allocations: 6.156 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1893, allocations: 0 / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1893, allocations: 0 / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.1894, allocations: 187.5 kB / 447.7 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.1894, allocations: 43.45 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1895, allocations: 2.812 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.1895, allocations: 2.531 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1895, allocations: 0 / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1895, allocations: 2.844 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003216/0.1898, allocations: 0.6631 MB / 448.4 MB, free: 44.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1898, allocations: 0 / 448.4 MB, free: 44.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.19, allocations: 20.02 kB / 448.4 MB, free: 44.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0007399/0.1907, allocations: 0.9999 MB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1908, allocations: 24.77 kB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1908, allocations: 0 / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.1909, allocations: 13.05 kB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1912, allocations: 25.58 kB / 449.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.193, allocations: 3.196 MB / 452.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.1931, allocations: 225.4 kB / 452.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.1932, allocations: 12.2 kB / 452.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.1932, allocations: 113.7 kB / 453 MB, free: 41.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1932, allocations: 0 / 453 MB, free: 41.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.2114, allocations: 6.464 MB / 459.5 MB, free: 39.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.905, allocations: 10.31 kB / 459.5 MB, free: 39.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.907069716602564]