Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.0008232/0.0008232, 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.0009623/0.0009623, allocations: 170 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.9014/0.9014, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 34.24 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.193e-05, allocations: 4.25 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.1762/0.1762, allocations: 1.98 MB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1774, allocations: 1.088 MB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1776, allocations: 6.75 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.1779, allocations: 273.9 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1783, allocations: 267.6 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.1791, allocations: 0.6526 MB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.1794, allocations: 366.1 kB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1795, allocations: 46.39 kB / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1797, allocations: 185.1 kB / 447 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1798, allocations: 206.5 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1799, allocations: 10.62 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.18, allocations: 79.06 kB / 447.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1801, allocations: 103.5 kB / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.1801, allocations: 68.48 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.1804, allocations: 344.8 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1804, allocations: 0 / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1804, allocations: 0 / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1804, allocations: 0 / 447.8 MB, free: 42.3 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005239/0.1809, allocations: 0.6362 MB / 448.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.181, allocations: 11.84 kB / 448.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.181, allocations: 39.81 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.181, allocations: 44.34 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1813, allocations: 289 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1813, allocations: 10.25 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1813, allocations: 12.91 kB / 448.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1815, allocations: 125.4 kB / 449 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1815, allocations: 10.72 kB / 449 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1815, allocations: 8.531 kB / 449 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1816, allocations: 5.219 kB / 449 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1817, allocations: 94.16 kB / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1821, allocations: 481.6 kB / 449.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1822, allocations: 103.8 kB / 449.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.1823, allocations: 33.48 kB / 449.7 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1823, allocations: 10.38 kB / 449.7 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.1823, allocations: 30.56 kB / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1823, allocations: 0 / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000638/0.183, allocations: 469.9 kB / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.183, allocations: 54.28 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.1834, allocations: 0.6018 MB / 450.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1834, allocations: 25.7 kB / 450.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.1835, allocations: 219.7 kB / 451.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1835, allocations: 59.27 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1835, allocations: 36.42 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.1836, allocations: 358.3 kB / 451.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.1837, allocations: 60.45 kB / 451.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.1838, allocations: 72.89 kB / 451.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1839, allocations: 152 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1839, allocations: 0 / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002645/0.1842, allocations: 249.8 kB / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1842, allocations: 10.69 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1842, allocations: 0 / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1842, allocations: 0 / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1844, allocations: 34.77 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1844, allocations: 0 / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.1844, allocations: 15.73 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1845, allocations: 2.938 kB / 452.1 MB, free: 39.61 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 (17): * Single equations (assignments): 17 * 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.0001189/0.1846, allocations: 180.3 kB / 452.3 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.1846, allocations: 51.03 kB / 452.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.185, allocations: 287.9 kB / 452.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.185, allocations: 0 / 452.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.185, allocations: 4.969 kB / 452.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.185, allocations: 0 / 452.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.1855, allocations: 0.6415 MB / 453.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1855, allocations: 1.062 kB / 453.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.1856, allocations: 34.84 kB / 453.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1856, allocations: 4 kB / 453.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1856, allocations: 5.656 kB / 453.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1856, allocations: 3.328 kB / 453.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1856, allocations: 0 / 453.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1858, allocations: 339.7 kB / 453.7 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.1858, allocations: 46.06 kB / 453.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1859, allocations: 7.188 kB / 453.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.1859, allocations: 12.31 kB / 453.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.186, allocations: 10.14 kB / 453.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.186, allocations: 13.23 kB / 453.7 MB, free: 38.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.1862, allocations: 452.3 kB / 454.2 MB, free: 38.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1862, allocations: 0 / 454.2 MB, free: 38.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.1864, allocations: 54.64 kB / 454.2 MB, free: 38.46 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 (17): * Single equations (assignments): 17 * 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.001508/0.1879, allocations: 1.533 MB / 455.8 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.1882, allocations: 168.8 kB / 455.9 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1882, allocations: 0 / 455.9 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.1883, allocations: 85.3 kB / 456 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.1888, allocations: 79.66 kB / 456.1 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.1914, allocations: 3.358 MB / 459.5 MB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1915, allocations: 237.3 kB / 459.7 MB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.1916, allocations: 67.69 kB / 459.7 MB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1917, allocations: 147.5 kB / 459.9 MB, free: 35.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1918, allocations: 0 / 459.9 MB, free: 35.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.2106, allocations: 8.695 MB / 468.6 MB, free: 33.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/7.04, allocations: 6.781 kB / 468.6 MB, free: 33.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 9.05847970303148]